On 1 Jul 2013, at 14:57, Aurelien Albert <[email protected]> wrote:
> You can still use it by crating a drawcallback (or subclassing a drawable)
> and call glVertexAttriDivisor were needed.
>
> Just be carefull to reset to previous values brfore exiting the
> "drawImplementation" method to not disturb the other nodes rendering.
Sure, my concern isn't so much calling glVertexAttribDivisor manually, as to
whether I can use the existing Array / PrimitiveSet code to set up the VBOs for
me, prior to calling glDrawElementsInstanced, or whether I have to revert to
doing everything myself for the instanced items, in terms of binding vertex
attributes. Which would be 'unfortunate'.
James
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org