[osg-users] multiple cull traversal for single object

2011-11-17 Thread Emmanuel Roche
Hi everyone, I have a question concerning the possible limitations that might exist in the following scenario: - Let's say I have a special node object in my scene graph: class SpecialNode : public osg::Node { protected: osg::ref_ptrosg::PositionAttitudeTransform _subgraph; public: void

Re: [osg-users] multiple cull traversal for single object

2011-11-17 Thread Jean-Sébastien Guay
Hi Emmanuel, = The question I have is : to which extend could such a mechanism be used: - would this still work as expected, if instead of changing the Position, I were to change: 1. A StateAttribute in a sub stateset ? 2. An uniform value ? No, not as simply as changing the position. The

Re: [osg-users] multiple cull traversal for single object

2011-11-17 Thread Emmanuel Roche
Hi J-S, I was suspecting the pointer issue with statesets, thanks for your clarifications! But I didn't realize I could just as simply push/pop another stateset, will certainly use that tip ! ;-) Cheers, Manu. 2011/11/17 Jean-Sébastien Guay jean-sebastien.g...@cm-labs.com Hi Emmanuel,