Hi all,

I have just optimized a human model that had around 150 individual
GL_LINE_STRIP drawables by adjoining these. This requires doubling the last
vertex of a strip and the first vertex of the next strip which is to be
appended, generating a couple of degenerate triangles.

The model still renders fine and the OSG stats viewer now shows a much
lower drawable count.

A quirk appears when rendering this in wireframe mode (using the 'w' hotkey
implemented in one of the builtin Event handlers). I assume this enables a
GL PolygonMode of GL_FRONT_AND_BACK, GL_LINE. Now the degenerate triangles
are still rendered, making the model look broken (arms look fused to the
body).

Here's my question: Shouln't wireframe rendering mode hide degenerate
triangles, as they wouldn't be passed on to the rasterizer in any case?
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to