Re: [osg-users] How to access the view parameters from which the Cull Visitor came?

2017-10-02 Thread Jannik Heller
Hi Miguel, Overriding traverse() is possible, it's also possible to add a callback via node->addCullCallback(myCallback) which is essentially the same just via a callback object that can be reused for multiple nodes (of possibly different types). I would usually go with callbacks as they are a

[osg-users] How to access the view parameters from which the Cull Visitor came?

2017-09-22 Thread Miguel
Hi! I have a multi-view app (using CompositeViewer) in which some nodes should look differently in different views. For example, some label positions should be recalculated depending on the view's camera parameters and some annotations (rectangular area with a border some text) should be