<div dir="ltr"><div><div><br></div>I am wondering if the default setting to enable use of Display lists in OSG still makes a lot of sense nowadays.<br><br></div><div>Christian<br></div><br></div><div class="gmail_extra"><br><div class="gmail_quote">2016-06-24 18:20 GMT+02:00 Jannik Heller <span dir="ltr"><<a href="mailto:scrawl@baseoftrash.de" target="_blank">scrawl@baseoftrash.de</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Philipp,<br>
<br>
<br>
><br>
> Also, Im having the issue that my drawCallback is only executed during the first frame and then skipped. Ive disabled culling and depth testing.<br>
><br>
<br>
You need to disable display lists on your drawable. With display lists enabled it will only draw once and then use the display list. This makes no sense when using Cuda obviously.<br>
<span class=""><br>
<br>
><br>
> Does anyone know why that happens? From my understanding, the renderbin number should determine the order of draw (and therefore also of the drawCallback?) operations.<br>
><br>
<br>
</span>I think this may also be related to the display list being enabled, the compileGLObjects() that is run in the first frame will compile display lists but not necessarily in the order of the render bins.<br>
<br>
Cheers,<br>
Jannik<br>
<span class=""><br>
------------------<br>
Read this topic online here:<br>
</span><a href="http://forum.openscenegraph.org/viewtopic.php?p=67803#67803" rel="noreferrer" target="_blank">http://forum.openscenegraph.org/viewtopic.php?p=67803#67803</a><br>
<div class="HOEnZb"><div class="h5"><br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
osg-users mailing list<br>
<a href="mailto:osg-users@lists.openscenegraph.org">osg-users@lists.openscenegraph.org</a><br>
<a href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org" rel="noreferrer" target="_blank">http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org</a><br>
</div></div></blockquote></div><br></div>