I need to load a model and traverse the scene graph and dump all the textures to individual files. I assume I would do this with a NodeVisitor but it is unclear to me how to get the texture data/filename etc. I assume I would need to get the stateset, if it exists, from each node, then get the texture. I haven't found example code to do this. Can anyone point me to some example code?

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

Reply via email to