[osg-users] osg::Texture and stateSets

Stephan Maximilian Huber ratzfatz at digitalmind.de
Thu Jul 10 06:38:14 PDT 2008


ka Ming schrieb:
> I am already looked at the optimizer.
> But still I cannot access my Texture ;(.
> stateset.getTextureAttributeList() is always null. Why? 
> I can call the geode Name. I can call the Geometry - but no Texture!!!
>   
Your texture is part of a stateset attached to the Geometry not to the 
Geode. query the geometry for the stateset and not the geode.

Cheers,
Stephan



More information about the osg-users mailing list