Hello Guest

Author Topic: Custom sprite mesh generation  (Read 4414 times)

whale

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 29
    • View Profile
Custom sprite mesh generation
« 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?

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Custom sprite mesh generation
« Reply #1 on: June 22, 2014, 01:49:24 am »
No there isn't.

whale

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 29
    • View Profile
Re: Custom sprite mesh generation
« Reply #2 on: June 22, 2014, 01:50:25 am »
Thanks.