Hi,

I use osg 2.8.2 and I would like an advice on the problem that block me.

I have this graph:

transform1 
       |
       |___ geode1
       |
       |___ transform2
                      |
                      |__geode2

So, I have set this:

int inheritanceMask = (osgUtil::SceneView::ALL_VARIABLES & 
~osgUtil::SceneView::CULL_MASK);

myViewer->setInheritanceMask(inheritanceMask);
myViewer->setCullMask(0x3);

And I have set:

 transform1->setNodeMask(0x0);
 transform2->setNodeMask(0x1);

The problem is that during the rendering process, geode2 is not rendering 
whereas my nodeMask is valid for transform2. I guess that during traversal, 
because transform1 node mask is false, the visit stop and transform2 is not 
displayed.

What is the solution to allow the process and display the transform2 and geode2 
?


Thank you for your advices.

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





_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to