Bob S
unread,Nov 8, 2011, 12:32:34 PM11/8/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to iphone-glu
Hello,
Like the other guy who posted here, I am trying to use this library
for tesselation. I also started from that flipcode sample, which I
found to be kind of buggy.
But I think I have what should be working tesselation code. I'm
receiving the data from the tesselation object ok, I think.
I pass it a single convex sort of blobby shape and it does ok, returns
what I expect. But then I try to pass two contours for a single
polygon. The contours are separated in space and do not intersect.
From reading about the glu tesselator on the official opengles site,
it seems that tesselating a collection of two contours should result
in both shapes showing up, as long as I have the winding rule set to
positive.
But it is spitting out some weird combination of the shapes. It is
probably a bug in my code somewhere, but I thought I would ask here,
should that work? In other words, if I start a polygon and draw two
contours, same direction but totally separate in space, shouldn't it
give me the set of triangles to draw those shapes? It seems to be
trying to meld them together... but like I said probably a bug on my
part.
Thanks for any replies!
Bob