Re: [osg-users] How to know when a geode is visible by the camera?

2009-03-26 Thread Adrien Mazaud
Thrall, Bryan wrote: You could attach a DrawCallback to the Geode's Drawables, which would be called each time that Drawable is rendered. Make sure your callback makes the call on the Drawable to actually render it, though! Alternatively, you could add a CullCallback to the Geode, and

Re: [osg-users] How to know when a geode is visible by the camera?

2009-03-24 Thread Adrien Mazaud
Thanks for the tip and sorry to answer you so late. I'll try your solution this afternoon and tell you my feedback. OSG is very powerful but, in my opinion, so huge that it's difficult to know every functionality. It also too less documented, but that's only my opinion. Anyway, thanks for your

[osg-users] How to know when an geode is visible bye the camera?

2009-03-19 Thread Adrien Mazaud
Hi everybody, I have to develop an OSG application with timer trigger. Each object (ie. Geode) into my scene have to launch a timer when there are displayed (ie. in front of the camera, visible, showed or whatever you call it). When the timer is done, object have to trigger a function. My