On 07/27/2011 06:17 PM, Jason Daly wrote:
On 07/27/2011 06:01 PM, Robert Kern wrote:
I just need to change the fov to match the specs of the HMD I am using for a
virtual reality application.
All you should need to do is call setProjectionMatrixAsPerspective() on
each camera. The FOV you know, the aspect you can compute from the
HMD's resolution (horizontal/vertical).
I should emphasize that the FOV passed to that method should be the
vertical FOV.
--"J"
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org