On Thu, Sep 25, 2008 at 4:23 PM, Vincent Bourdier <[EMAIL PROTECTED]> wrote: > Hi Robert, > > How is it possible to test directly against the view frustum ? manually ? or > is there a method still implemented ? > thanks.
You create an osg::Polytope from the Camera's view and projection matrix which will be your frustum, then transform by any transforms in the parent path to place the frustum in local coordinate, then test the objects bounding sphere/bound box against this frustum. The osgUtil::PolytopeVisitor does most of this so could learn a lot form this. Robert. _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

