POV-Ray : Newsgroups : povray.general : About camera reference frame : Re: About camera reference frame Server Time
23 Apr 2024 19:25:15 EDT (-0400)
  Re: About camera reference frame  
From: Alain Martel
Date: 13 Feb 2020 19:00:39
Message: <5e45e327$1@news.povray.org>
Le 2020-02-13 à 08:37, Francescodario Cuzzocrea a écrit :
> 
> Hello !!
> 
> Today I was thinkering about camera reference frames and I had a little bit of
> confusion.
> Which three vectors define the frame of reference of the camera? I took as
> granted that the z direction  was the one exiting from the camera, so the result
> of the difference between the vectors "look_at" and "location". But in this way
> the "right" and "up" directions (both defined or as default) are not
> perpendicular to the z direction. So what is it? Are the right and up directions
> (and the cross product of them) the reference frame of the camera (so the z
> direction is not perpendicular to the image plane) or is it otherwise and the
> right and up direction are not defining the camera reference frame?
> 
> 
> Thanks in advance !!!!
> 
> 
In the default camera, up is +y and right is along the x axis, making 
them all perpendicular.

The frame of reference is the rectangle of size right by up situated at 
distance direction from the camera's location, unless you use the angle 
parameter. In that case, the size of the frame is adjusted as needed to 
ensure that right is correct relative to angle.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.