osgUtil::Tessellator issues

26 views
Skip to first unread message

Trajce Nikolov NICK

unread,
Apr 16, 2020, 8:37:00 AM4/16/20
to osg-...@googlegroups.com
Hi Community,

I am struggling with the Tessellator to make it work. I tried to consult the OpenGL spec for the winding types and I tried all of them without success :/. It is simple case where I have polygon with two wholes. The contour generation seams to be ok, like in the attached picture, just the tesselation is make it wrong, or I am using the Tessellator wrong. I am attaching the source too - it requires boost 69 or later - used for the union of the triangles.

Any hint is highly appreciated as always!
And thanks a bunch!

--
trajce nikolov nick
osgviewer.cpp
contours.jpg
tesselated.jpg
Reply all
Reply to author
Forward
0 new messages