Hi there,
I hope someone of you can help me on this issue.
I have a very complicated scene graph, that takes a very long time to be
completely redrawn (>200 ms).

But the most frequent use case I have is to redraw only a very small
part of the model at a time
(suppose for example that I would need to redraw only the object under
the mouse).

So, I could increase performances a lot by simply redrawing that object
in the front buffer without clearing the depth buffer,
in order to keep it in the right position WRT the other object of the
model. And without swapping front and
back buffers at the end of drawing.

Is this possible?

 

If I'm not wrong, sometimes ago I received an email from you saying that
the drawing traversal of OSG

always clean the depth and back buffers, redraws the complete scene
graph and then swap the buffers.
This works pretty well when the scene changes dynamically, but in my
case where there is a static drawing for

a long time, I would need a way to tell the drawing traversal to draw in
the front buffer, and not to perform the swapping
of buffers at the end.

Is there a way to do that?

 

Thanks in advance

Gianluca Natale

 

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to