I need a little bit help, however. The polygon sorting algorithm I have
right now does not work properly. Currently its done by calculating the
center of the polygon by simply calculating the means of the coordinates.
How do existing programs - LDView in particular as its an OpenGL one too -
sort polygons? Id appreciate help tremendously here..
-SNIP-
At present I can not see the reason to sort polygons if you only want to
display them.
cu
mikeheide
-Santeri
The polygons have to be painted on the screen in the correct order in order to
have the part displayed correctly. Its not handled automatically. So I need an
algorithm to sort the polygons.. and my current one doesnt work right.
(...) SNIP (...) -SNIP- At present I can not see the reason to sort polygons if you only want to display them. cu mikeheide (...) (15 years ago, 31-Mar-10, to lugnet.cad, FTX)