Hi guys, thanks for the quick replies. My code is ported from SGI Performer and for some reason the predraw switching technique used to work in there. I've tested nodemasks now and they work fine, but I suppose I could use switches in each of the slave cameras as well if I want the flexibility to show/hide things on the fly.
cheers, /Per 2009/2/26 Jean-Sébastien Guay <[email protected]> > Hi Daniel, > > This might be too simple a solution, but have you tried assigning nodemasks >> to the objects in question along with the appropriate nodemask for the >> various cameras? The "osgstereoimage" example shows how this works. >> > > That would work too, but you run out of bits in the nodemask pretty quickly > if you start using the node mask for such simple things. I find adding the > objects as children of only the required cameras works well. > > > J-S > -- > ______________________________________________________ > Jean-Sebastien Guay [email protected] > http://www.cm-labs.com/ > http://whitestar02.webhop.org/ > _______________________________________________ > 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

