Converting pictures to polygons?

Jan 26, 2008 at 9:40 PM
Are there any tools for converting a vector image of a polygon (eps, ai, etc.) to a list of vertices for use in XNA? I know this is possible by drawing dots in Illustrator and copying the values over, but a tool which could do this automatically adding vertices evenly along the edge of the texture would be superb. In fact the image needn't be a vector image.

Thanks a lot,

Giles.
Jan 28, 2008 at 4:48 AM
Hi there,

I know you're looking for an automated tool, but if you can't find one, I have been using this awesome tool for manually adding polygons to spritesheets:
http://www.ziggyware.com/readarticle.php?article_id=123

Hope it helps...

-J
Coordinator
Jan 28, 2008 at 12:38 PM
BioSlayer had some code that did this. I think there is a link in these forums somewhere... No time to dig it up for you. Gotta get to work!