jonnyg's picture

Tesselation

I am using the Glu tessellation library and getting good results in general (C# application in Visual Studio 2010). However, I have an intermittent crash and it is associated with surfaces that have holes. Is there any reason to expect the Glu library to live through receiving a surface and associated holes in which the holes either overlap each other or some of the holes hang off the edge of the surface?

Thank you.


Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
jonnyg's picture

Of course after I finally post, I make a little progress in figuring this out. My TessCombine callback is not being called. I tried to follow the code from an earlier post on this site; could anyone post a working piece of code from the VS2010 environment? Please? Or a hint about setting up the TessCombine callback/delegate. It seems tricky because of the pointers involved, marshaling, etc. Thanks.

beattiet's picture

I see exactly the same kind of error. I have used the sample code found on this site...
http://www.opentk.com/node/214?page=1
but it fails with certain polygons (Self-intersecting for me but I haven't tested it exhaustively).

My "Combine" callback is not being called but I get a protected memory error when I try to end the tessellation.