Hi Philipp,

> 
> Also, Im having the issue that my drawCallback is only executed during the 
> first frame and then skipped. Ive disabled culling and depth testing. 
> 

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.


> 
> 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. 
> 

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.

Cheers,
Jannik

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=67803#67803





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

Reply via email to