Hi,

2008/12/12 Alejandro Segovia <[email protected]>

> Hi OSG-users,
>
> I've noticed calling viewer->frame() seems to be changing my left, right,
> bottom, top, z near and z far clipping planes when I set the camera's
> projection matrix as a frustum.
>
> Is there some way to prevent it from making these changes?
>
You sould try
camera->setComputeNearFarMode(osgUtil::CullVisitor::DO_NOT_COMPUTE_NEAR_FAR)
Next, set your own frustum.
Regards,
   Vincent.


> Thanks in advance,
> Alejandro.-
>
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to