Hi,
I think osgUtil::optimizer::TextureVisitor should solve your problem....:)
Good luck.
在2008-07-09 22:53:21,"ka Ming" <[EMAIL PROTECTED]> 写道:
Hi,
I got a Probel with osg Files, the File structure looks like:
Group{
Geode{
Geometry{
StateSet{
Texture{
}
}
}
}
Geode{
Geometry{
StateSet{
Texture{
}
}
}
}
}
The problem is if I try to traverse my SceneGraph I get the names of my geodes,
but if I check the TextureAttributeList
osg::StateSet::TextureAttributeList texAttrList = stateSet->
getTextureAttributeList();
this list is empty. Why is this List empty, did I forget something? I want to
access all Textures!!
Thanks
Ming
Gesendet von Yahoo! Mail.
Dem pfiffigeren Posteingang.
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org