|
|
On 4 Jul 2002 12:52:15 -0400, "Rafal 'Raf256' Maj" <raf### [at] raf256com> wrote:
> camera {
> location 0
> look_at z
> }
>
> how can I calculate (X,Y) of image for given <x,y,z> point, assuming image
> is 1x1 and angle is A.
> for perspective camera it will be
> X=(x-0.5)*d + 0.5
> Y=(y-0.5)*d + 0.5
take a look at my extension to standard screen.inc include file:
http://news.povray.org/povray.text.scene-files/23663/
> what are formulas for diffrent camera types (especialy for fish_eye and
> ultra_wide)
IIRC you have C skills so you can look for it in POV sources.
ABX
Post a reply to this message
|
|