On Wed, Sep 8, 2010 at 2:26 PM, Vincent Bourdier wrote:
> Hi,
>
> To my mind there are two solutions :
>
> 1. You put your callback on the LOD child you want, so when the child will
> be hidden by a upper-detailed level child, the callback should not be
> traversed
>
No, the update traversal vis
Hi,Robert
In osg terms Active children are childrens with nodemasks with 0x or not.
Culled childs ( not in view frustum) are active or not in osg terms?
Could you please advice me how to make this thing in osg:
highest LOD have update callback and medium an lowest don't have it.
Could you pleas
Hi Roman,
On Wed, Sep 8, 2010 at 2:34 PM, Roman Grigoriev wrote:
> Hi, Vincent
>
> 1.I've already placed my update callback under LOD child and it traversed,
> maybe I need to setup viewer or over thing in osg to not travers hidden
> childs?
The UpdateVisitor by default traverses all children,
Hi, Vincent
1.I've already placed my update callback under LOD child and it traversed,
maybe I need to setup viewer or over thing in osg to not travers hidden childs?
2. How can I check in callback if node is active or not?
...
Thank you!
Cheers,
Roman
--
Read this topic onlin
Hi,
To my mind there are two solutions :
1. You put your callback on the LOD child you want, so when the child
will be hidden by a upper-detailed level child, the callback should not
be traversed
2. in your callback you check if your node is still active, and if not,
just do nothing.
Hop
Hi,
I have LOD with 3 nodes and use updatecallback to Animate children, I setup
updatecallback to my highest LOD, my when i switch to medium lod my update
callback worked also. Is it possible to switch it off when my model switches to
another LOD.
my updatecallback
class ModelNodeCallbackTower :
6 matches
Mail list logo