[osg-users] osg::Texture and stateSets
冯晨
forrestgump at 126.com
Wed Jul 9 19:28:30 PDT 2008
Hi,
I think osgUtil::optimizer::TextureVisitor should solve your problem....:)
Good luck.
在2008-07-09 22:53:21,"ka Ming" <ming_ka at yahoo.de> 写道:
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20080710/bcafed3c/attachment-0003.htm>
More information about the osg-users
mailing list