سؤال

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

هل كانت مفيدة؟

المحلول

  • 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

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top