[osg-users] Pass an osg::Texture2D to CUDA driver api

Christian Buchner christian.buchner at gmail.com
Fri Jun 24 09:22:51 PDT 2016


I am wondering if the default setting to enable use of Display lists in OSG
still makes a lot of sense nowadays.

Christian


2016-06-24 18:20 GMT+02:00 Jannik Heller <scrawl at baseoftrash.de>:

> 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
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20160624/fadf4c3b/attachment-0003.htm>


More information about the osg-users mailing list