Sorry, I'm skipping around a lot. Not sure why I'm not getting a single thread here...
On 01/10/2011 05:52 AM, Wojciech Lewandowski wrote:
Hi Sukender, What for ? If we agreed on Primitive meaning a single Triangle from TriangleStrip then we don't need to change the enums. Current binding smenatics are valid: PER_PRIMIITIVE means per triangle PER_PRIMITIVE_SET means per triangle strip
Aside from the disagreement in terms with the OpenGL spec, another reason this interpretation doesn't work is in the case of DrawArrayLengths primitive sets, where you can have multiple strips in the same primitive set. In that case at least, you'd need to have PER_PRIMITIVE mean per triangle strip, and PER_PRIMITIVE_SET mean all triangle strips in the primitive set.
If you really want a per-face binding in these cases, you'd have to create a new binding type.
--"J" _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

