[osg-users] Draw Instanced intersections

Bruno Oliveira bruno.manata.oliveira at gmail.com
Tue Jan 3 00:58:16 PST 2017


Hello,

I'm implementing a draw instanced optimized scene. This is for drawing a
set of polygons.

Previously I was creating a drawable for each polygon, but now I am using
draw instancing. With one drawable per polygon I can easily use osg
intersectors for computing scene intersections. But how can I perform scene
intersections with draw instanced objects and get, for instance,
intersected instance IDs?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20170103/f14a1051/attachment-0002.htm>


More information about the osg-users mailing list