Question

I have a sprite which helps the user draw a custom shape? i want to tile the surface how can that be achieved?

Était-ce utile?

La solution

  • Use EarCutting for Triangulation.
  • Convert your 2D points to 3D points for(Away3D).
  • Use the points to build custom Mesh.
  • Bingo!!

> The tricky part is to calculate the UV for the texture

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top