Hello Christian,

Christian Bar wrote:
> Hello everyone.
> It's not clear for me how you have to modify the params of 
> the ProjectionCameraDecorator if you want to change the Fov...
> There is not a ->setFov() like the PerspectiveCamera, and if I change 
> the fov in the PerspectiveCamera, it seems like ignored.

yes, the only thing from the underlying camera that gets used is its 
position (given by the camera's beacon).

> It seems to me that there is some link with the surface I have to define 
> if I want the ProjectionCameraDecorator to work: is it true? What is the 
> math behind it?

the frustum that gets used for the projection is defined by the 
rectangular surface and the user you specify. Imagine the surface as a 
rectangle floating in space and the user a point in front of it, to get 
the frustum draw lines from the user through the four corners of the 
surface rectangle. The shape of the rectangle and the distance of the 
user from that projection surface determine the field of view you get.

        Cheers,
                Carsten

------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
Opensg-users mailing list
Opensg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to