Question

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

Was it helpful?

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top