Game Development Stack Exchange is a question and answer site for professional and independent game developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question
I don't know three.js, but it might be helpful to know that this problem is called triangulation. – Kevin Reid Apr 6 '13 at 0:54
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. – 23kulpamens Apr 6 '13 at 19:57

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.