Hi Rodger,

The Drawable draw callbacks get enclosed by the Drawables display
lists, so you'll only see it called once.

If you don't want this simple switch off display lists via
drawable->setUseDisplayLists(false).

Robert.

On 8/2/06, Roger James <[EMAIL PROTECTED]> 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/


_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to