Hi Robert,
> I just had a look at an tutorial for glVertexAttribDivisor and it > looks to be used alongside the glVertexAttribPointer, which suggests > to me that the divisor would naturally fall into the > Geometry::ArrayData or into osg::Array. IMHO, this parameter should be in the Geometry::ArrayData class (so the same array should be used with different attrib divisor in different geometries) The only reason I didn't add this parameter is about all the different CPU side OSG alorithms, such as array visitors, which are used for inersection testing, scene graph optimization, array dispatchers, etc... Since I don't know exactly how all these algorithms works, I'm not sure if they should take care of the vertex attrib divisor value or not. Cheers, Aurelien ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=54378#54378 _______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
