jguo wrote:
> 
> I had a look in osgAnimation 
> (http://www.openscenegraph.org/documentation/OpenSceneGraphReferenceDocs/a01556.html)
>  but that namespace seems to be just related to geometry.


That's not entirely true. osgAnimation can be used to generate animated values. 
These values will have to be linked to some part of your scenegraph, which is 
done with an AnimationUpdateCallback. The currently available callbacks are 
indeed only for updating geometry, but a custom AnimationUpdateCallback could 
be written to update shader uniforms or the textureWeight in a 
MultiTextureControl.

--
Roland

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=9768#9768





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to