[osg-users] Intersection with 2d plane embedded in 3d

Robert Osfield robert.osfield at gmail.com
Tue May 21 01:29:40 PDT 2019


Hi Steve,

You can use NodeMask's to have subgraph only work in selected
traversals.  So if you want something that isn't rendered you'd set
the something like bit 0 to 1 so it's rendered, but have this set to 0
when you don't want it rendered, then tell the cull traversal to
require bit 0 to be on by setting the Camera CullMask to 0x1 which is
logically AND'd with the NodeMask during the cull traversal.

Robert.


More information about the osg-users mailing list