Original Post
Hi, I'm trying to make my own 2d engine and I like to add some capability to draw a polygon from a set of points or linestrip. I use DX and it seems like a simple task, divide the 2D polygon into triangles and render it.. Let's say I don't wanna know about the tex coordinate yet, I just wanna be able to render a 2D polygon on the screen (not just quad guys), how can I create a triangle list from those polygon points ? Creating a triangle fan is the easiest one but it may cause overlapped triangles. I've been googling for awhile with no result since probably I don't know what keyword to use. can someone help me with this ? [Edited by - yanuart on February 11, 2005 12:55:55 PM]