Hi guys,

I've been trying to setup my Polytope as my cameras' frustum with no such luck. 
 Robert has the setup changed?  I'm using osg 2.8.1.

Is this correct? What am I doing wrong?

osg::Polytope frustum;
frustum.setToUnitFrustum();
frustum.transformProvidingInverse( camera->getViewMatrix() );

incorrect results --> frustum.contains( this->getBound() ) <--incorrect results

Thank you!

Cheers,
Sean

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=24355#24355





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

Reply via email to