[osg-users] getting userData or accumulated Uniform in nodevisitor
Werner Modenbach
Werner.Modenbach at modenbach-ac.de
Sun Jan 31 06:17:37 PST 2021
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 to override etc.)
Unfortunately I got lost when studying the code. Where should I place user values and are they propagated down the node path?
Where can I find the accumulated value of a Uniform?
Thanks for any hint.
- Werner -
More information about the osg-users
mailing list