"toggle the earthGroup NodeMask between 0 and 0xffffffff." it is not what i done here : ? earthGroup->setNodeMask(0x1);
Is my code good concerning the camera ? is it a viewer parameter ? (to set cullMask) I preferer avoid using switch node for the moment, it would add nodes to the graph, and if another solution exist, it would be better... Thanks, Vincent. 2008/3/3, Paul Martz <[EMAIL PROTECTED]>: > > Why it doesn't work ? is it the more easy way to make a hide/show > function ? > > A simpler solution would be to toggle the earthGroup NodeMask between 0 > and 0xffffffff. > > Another solution would be to use a top-level Switch node. > > Paul Martz > *Skew Matrix Software LLC* > http://www.skew-matrix.com > 303 859 9466 > > _______________________________________________ > 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

