Hi,

I think I got it to work using Polytope like this:


Code:

osg::Polytope frustum; 
frustum.setToUnitFrustum(); 
frustum.transformProvidingInverse(mMainCamera->getViewMatrix() * 
mMainCamera->getProjectionMatrix() ); 

bool isNotCulled = frustum.contains(boundingBox);




Cheers,
Janna

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





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

Reply via email to