I'm trying to set the projection matrix by the camera,
just before calling a camera->frame.
But, as soon as "frame" returns, the projection matrix
is changed in the left and right clipping planes.
Since the redraw is called as a consequence of a resize event,
and the viewport is updated consequently, is there
a relationship between the projection matrix and the viewport?

In OpenGL there isn't any relationship, I mean that I can
set the viewport independently of the projection matrix.
But it seems that OSG doesn't want to distort the
original scene. If so, is it the default behavior?
How can I disable such a behavior?



Thanks,
Gianluca

 

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to