[osg-users] Splitting a scene in osg
Joe Kindle
seganom at gmail.com
Tue Jun 30 22:29:34 PDT 2015
Haha thanks.
Well, from my checks, the stateset i copied (entirely. Cloned it and put it in the new - part model), was the only one in the model!
The model is very simple - just a geode holding a geometry. I looked for a stateset in the geode - by doing geode->getStateset, but it returned NULL so i figured only the geometry - geode->getDrawable(0)->asGeometry() is holding a stateset. I took the stateset from the geometry and cloned it into the new - part of model.
It resulted as what i said.. The texture is there but positioned all wrong
Cant upload the model unfortunetly :(
Do you have an idea what the problem can be ?
Thank you so much :)
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=64228#64228
More information about the osg-users
mailing list