2D Toolkit Forum

2D Toolkit => Support => Topic started by: whale on June 22, 2014, 01:47:14 am

Title: Custom sprite mesh generation
Post by: whale on June 22, 2014, 01:47:14 am
Just a quick question before I implement this myself:

My project has a decently low pixel-to-world-unit ratio, and I wanted to experiment with generating pixel-perfect meshes for my sprites to save on transparent rendering.

tk2d already does most of the heavy lifting: it will generate triangulated meshes from custom sprite islands. I don't want to go and outline by hand hundreds of sprites, though, so I need to automate the generation of the custom sprite meshes.

Does tk2d contain any code to automatically generate a pixel-perfect mesh outline to feed into the custom mesh builder?
Title: Re: Custom sprite mesh generation
Post by: unikronsoftware on June 22, 2014, 01:49:24 am
No there isn't.
Title: Re: Custom sprite mesh generation
Post by: whale on June 22, 2014, 01:50:25 am
Thanks.