Re: [osg-users] getting userData or accumulated Uniform in nodevisitor

2021-01-31 Thread Robert Osfield
Hi Werner, You'll need to override the Cull traversal behavior and get the StateSet stack from the CullVisitor. I don't recall the details off the top of my head so you'll need to look at the osgUtil::CullVisitor and it's parent class osg::CullStack for the tracking of state. Robert.

[osg-users] getting userData or accumulated Uniform in nodevisitor

2021-01-31 Thread Werner Modenbach
I created my own derived LOD node class and implemented the traverse(...) method. I want to control the detail level decision from a StateSet some node further up in the nodePath. So my traverse(...) method needs to read some userData or read the value of an accumulated Uniform (with respect