Hi Paul, This is known threading problem in osgGA::StateSetManipulator when using osgViewer's DrawThreadPerContext/CullThreadPerCameraDrawThreadPerContext threading models.
I haven't yet had time to fix it, but it is firmly on my TODO list. Robert. On Feb 19, 2008 5:11 PM, Paul Martz <[EMAIL PROTECTED]> wrote: > > > In osgviewer, the 't' key doesn't always enable texturing. I don't seem to > be able to reproduce this with cow.osg, though I've seen it several times > with various OpenFlight files. > > Try the attached model (which used to be on the wiki with several other > model files, but doesn't appear to be there anymore). > > * Load in osgviewer. The model is flat in the XY plane, so rotate to view. > * Hit 't' key several times to enable/disable texture mapping. > > Eventually texture mapping "sticks off". > > When I display it on a two monitor system, sometimes texture mapping is on > in one display and off in the other. > > I've looked into this in the debugger and as near as I can tell, the texture > object is being bound when it should be; but the texture simply doesn't show > up. So it's either not mipmap complete for some reason, or it's getting > unbound somewhere else. I did not capture OpenGL output with something like > GLIntercept, which would be the next step. > > Paul Martz > Skew Matrix Software LLC > http://www.skew-matrix.com > 303 859 9466 > > _______________________________________________ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org