Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

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
2  
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

 
discard

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

Browse other questions tagged or ask your own question.