1
\$\begingroup\$

Does Three.js offer an out-of-the-box way to create custom non-convex polygon, or do I have to use THREE.Geometry and set faces manually? I'm guessing that ShapeGeometry has something to do with this, but I can't find either documentation or examples.

\$\endgroup\$
2
  • 2
    \$\begingroup\$ I don't know three.js, but it might be helpful to know that this problem is called triangulation. \$\endgroup\$
    – Kevin Reid
    Commented Apr 6, 2013 at 0:54
  • \$\begingroup\$ Thank you for suggestion. I'm sure that somebody did this already and optimized code. I don't want to break down the open door. PS Thank you for edit also. \$\endgroup\$
    – 23k
    Commented Apr 6, 2013 at 19:57

0

You must log in to answer this question.

Browse other questions tagged .