On 6/27/07, Colagiovanni, Lawrence W. <[EMAIL PROTECTED]> wrote:
How would use DrawElementsUShort to assign the individual vertex attributes?

You don't its just a wrapper around glDrawElements using a ushort
array.  It just indexes the vertex arrays that are passed to OpenGL.

The OSG passes vertex arrays that are assigned to osg::Geometry use
setVertexArray etc.

 Some examples I found online used TemplateIndexArray, which is why I went
that route.

Could you provide a URL?  Its not a good way to do things.
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to