PDA

View Full Version : Polygons non-convex



02-15-2006, 02:17 PM
Hello--- i need an help AGAIN!.. lol
i have a non-convex polygon and i need to draw it... i know that i must suddivide it in other convex polygons but i don't know how!
i heard of using the tasselation but i don't know how to write it and use it...is there someone that please can give me the algorithm for drawing non convex polygon pls!!
thanks!!!!!

koradji
02-15-2006, 06:11 PM
^_^,
search "gluBeginPolygon" on MSDN Library,then you can find an answer and a sample.

mikael_aronsson
02-15-2006, 11:25 PM
And if you are not using Windows you can look it up in the GLU documentation (you can find it on this website if you don't have it).

Mikael