Re: [osg-users] osg::Texture and stateSets

2008-07-10 Thread Alberto Luaces
Hi, El Jueves 10 Julio 2008ES 14:48:48 ka Ming escribió: > Hi, > 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!!! > I'm having a simil

Re: [osg-users] osg::Texture and stateSets

2008-07-10 Thread Stephan Maximilian Huber
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

Re: [osg-users] osg::Texture and stateSets

2008-07-10 Thread ka Ming
Hi, 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!!! My OSG File: Geode { DataVariance DYNAMIC name "cube.osg" nodeMask 0x

Re: [osg-users] osg::Texture and stateSets

2008-07-09 Thread 冯晨
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{

[osg-users] osg::Texture and stateSets

2008-07-09 Thread ka Ming
Hi, I got a Probel with osg Files, the File structure looks like: Group{ Geode{ Geometry{ StateSet{ Texture{ } } } } Geode{ Geometry{ StateSet{ Texture{ }