Roger James wrote: > > This is probably a dumb question. But an answer may save me a lot of > searching through the source. > > > > I am trying to debug a subgraph that is not being drawn properly. > > > > I have put diagnostic Drawable draw callbacks on the drawables I am > interested in. > > > > However these only seem to trigger (I have them outputting debug > messages) on the first draw pass and not on subsequent passes. > > > > This may sound daft, but does some kind of caching of the rendering go > on, as I cannot see (yet J) what I might be doing to stop the drawing > occurring on subsequent passes. > > > > Roger > > ------------------------------------------------------------------------ > > _______________________________________________ > osg-users mailing list > [email protected] > http://openscenegraph.net/mailman/listinfo/osg-users > http://www.openscenegraph.org/ Hi Roger, By default osg uses display lists whenever possible. Try adding this call to your drawables:
myDrawable->setUseDisplayList(false); biv _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
