|
|
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
|
|