I'm experiencing the following problem: I exported a model from 3dsmax to OSG, the model consist of 2 objects:
- a planet that is animated in order to follow a circular path - a semi-transparent sphere linked to the planet (its purpose, in OSG, should be to highlight the planet when the mouse move over the planet) So, in 3dsmax, I linked the sphere to the planet, because it should follow the animated planet. In my OSG application the planet is shown from the very beginnig of the application, and it starts following the path immediatly. On the other hand, I chose to hide the sphere (setting the corrensponding nodemask to 0x00000000) until the mouse moves over the planet, but I see that when that event occurs, the sphere is shown (I set nodemask to 0xFFFFFFFF) but not in the same position of the planet (as I expected). I mean that the sphere follows the same path as the planet but it seems that the animation started just when I unhid the sphere, so it is late with respect to the planet... How can I solve the problem? Is it related to the fact that I'm hyding/unhyding using the nodemask? Is there a way to let the animation start even though the corresponding node is not visible? Thanks! Regards. Alessandro
_______________________________________________ osg-users mailing list osg-users@openscenegraph.net http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/