Away3d building an irregular Polygon as a plane

278 Views Asked by At

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

1

There are 1 best solutions below

0
On BEST ANSWER
  • 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