Pardon any imprecision, I don't have the source code right in front of me right now, but yes it is easy to intersect only with part of the scene. When you add the nodes to the intersect visitor, only add the relevant subnodes rather than the whole scene. It will intersect fine and it will make no difference to the rendering.
- Paul On Sunday 18 February 2007 13:35, Peter Steibert wrote: > Hello, > > At the moment I`m using a simple collision detection by means of > osgUtil::IntersectVisitor (similar to the one in > osgGA::DriveManipulator). > > My question: Is there an easy way to exclude a subgraph of the scene > from IntersectVisitor so that collision does not occur but the subgraph > is still rendered? > > Thanks in advance, > Peter _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
