Hi (especially to Aurelien if he's reading),

I'd like to understand the plan for support of instanced drawing in the revised 
Geometry and Array classes, using per-instance attribute arrays via divisors.

Also, if possible, I'd appreciated some suggestions for achieving the same in a 
custom drawable with older versions of OSG (perhaps as far back as 3.0!). I 
have the impression from other posts here that there is some hybrid approach 
where Arrays and PrimitveSets can still be used to specify the repeating 
geometry, but the per-instance attributes being specified manually? A 
pseudo-code, or even working-code example of this, would really enlighten me. 

Note I'm only concerned about platforms with support via 
glVertexAttribDivisor(ARB), since this covers everything I care about in 
practice - even compatibility mode on Apple with GL 2.1 support this via an 
extension.

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

Reply via email to