|
![](/i/fill.gif) |
Hi hermans
Although i'm not sure i would guess that the distance of the viewing plane
is given by the length of the direction vector (compare to the illustration
at the docs 3.3.1.1). so to get what you want you should have to declare
direction as d*vnormalize(dicection_vector) where d is the distance of the
viewing plane to the cameras location.
AFAIK the right vector playes only a role with ortographic cameras where it
determines (with the up vector) the size of the image. it also has
consequences on the aspect ration of the image. it should have no effect on
the distance of the viewsing plane
Hope that helped
Regards Roman
hermans <sas### [at] telenet be> wrote:
> For illustrating some properties of perspective I want to place the
> viewing plane at a given distance from the camera. I think this has to
> do with the direction vector, but also with the right vector.
> If I put a perspective camera at a point <a,b,c> viewing in the
> direction <0,0,1> how can I determine the combination of the right and
> the direction vector to obtain the viewing plane, parallel to the
> (X,Z)-plane at a distance d from the camera in the direction determined
> by <0,0,1>?
Post a reply to this message
|
![](/i/fill.gif) |