FYI -- See this same thread in osg-submissions for my recent addition of 
support for the EXT_draw_instanced extension.
 
As stated in the extension spec at opengl.org, this extension adds two new 
vertex array drawing commands and a new shader variable
gl_InstanceID. The OSG submission exposes the two drawing commands as five new 
PrimitiveSet types. Adding a shader and referencing
the gl_InstanceID is the responsibility of the application.
 
In my work with this extension, I've found it can dramatically reduce cull and 
draw times. It also reduces GPU time in some
particularly bad corner cases. So, the extension is quite useful at increasing 
efficiency for apps that need to render the same
object multiple times.
 
Enjoy,
 
Paul Martz
Skew Matrix Software LLC
http://www.skew-matrix.com <http://www.skew-matrix.com/> 
+1 303 859 9466
 
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to