<html><head></head><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:13px"><div id="yui_3_16_0_1_1457080768966_16813">You can render GL objects creating an osgNode and overwriting the drawing call.</div><div id="yui_3_16_0_1_1457080768966_16812">There is an example how to do it in the OSG CookBook of Packt Publishing.</div><div id="yui_3_16_0_1_1457080768966_16782">I dont remember if there is a demo in the exmaples though.</div><div id="yui_3_16_0_1_1457080768966_16808"><br></div><div id="yui_3_16_0_1_1457080768966_16760"><span></span></div> <div class="qtdSeparateBR"><br><br></div><div style="display: block;" class="yahoo_quoted"> <div style="font-family: times new roman, new york, times, serif; font-size: 13px;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div dir="ltr"><font face="Arial" size="2"> On Friday, March 4, 2016 11:23 AM, Clement Begotto <c.begotto@laposte.net> wrote:<br></font></div>  <br><br> <div class="y_msg_container">Hi,<br><br>I am working on a software which already has its existing OpenGL context and loop. I have to represent objects with different Level of Detail and I have decided to use OSG because it manages itself LODs that have to be displayed.<br><br>The problem is that some objects are drawn before and after my OSG objects and I dont want them to be erased. Currently I use the frame() method but  it only draw the last OSG group and the following non OSG objects because frame() reset and swap buffers. So I need OSG to draw in the back buffer without clearing it before and  without swapping after.<br><br>Is there any way to only do the drawing of an OSG object inside an existing OpenGL loop without clearing or swapping buffers ?<br><br>... <br><br>Thank you!<br><br>Cheers,<br>Clement<br><br>------------------<br>Read this topic online here:<br><a href="" class="removed-link" target="_blank">http://forum.openscenegraph.org/viewtopic.php?p=66482#66482</a><br><br><br><br><br><br>_______________________________________________<br>osg-users mailing list<br><a href="" class="removed-link" ymailto="mailto:osg-users@lists.openscenegraph.org">osg-users@lists.openscenegraph.org</a><br><a href="" class="removed-link" target="_blank">http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org</a><br><br><br></div>  </div> </div>  </div></div></body></html>