[osg-users] Different views hide/show different nodes shared scene graph

Catalin Flower inbox.icf at gmail.com
Thu Apr 18 02:07:14 PDT 2019


Hi Robert,

The only way that I found to add TraversalMask to the camera is by this:

viewer.getUpdateVisitor()->setTraversalMask(0x00000001)

This means some nodes will be skipped during update traversal.

But in this book that I read it says there are 4 traversals:

1 event traversal
2 update traversal
3 cull traversal
4 draw traversal

My question is: What happens during cull and draw traversal, is the traversal mask used there also? Are some nodes skipped in update traversal but not skipped in the next two traversals?

Thank you!

Cheers,
Catalin

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







More information about the osg-users mailing list