|
You might confirm that you are only using a single OpenGL context. If multiples ones are being created, texture and material may not be shared properly and odd behavior can happen. jeff Ransome Coleman wrote: Hello all, I have been working with OSG for a while with a little game demo I've been creating. I've run into a wierd bug that happens randomly. With this bug my entire scene loses all of its texture color and turns white! Whenever I shoot a fireball a new osg::light/osg::lightsrc is created and all is well again, so I am guessing this is an issue with me accidently overwriting/deleting the global osg::light/osg::lightsrc (which is connected to a transform on the controllable player). Odd thing is, the global light/lightsrc is maintained as a private variable by the manager class, which doesn't terminate until Esc is pressed. So I can't see how I am accidently deleting this data. |
_______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
