- Home /
Question by
Siccity · Oct 07, 2014 at 07:14 AM ·
meshruntimegenerationopengltriangulation
Triangulate a polygon
Hello, I have a user-created list of coordinates/vertices List forming a 'simple', planar polygon. I need to generate mesh from those coordinates at runtime. As far as I know, I can only generate mesh by supplying triangles to a new mesh, so I need help on how to get a list of triangles, preferrably int[] based on the user created polygon.
Comment
Best Answer
Answer by Eric5h5 · Oct 07, 2014 at 08:03 AM
Thanks! This looks like exactly what I was looking for. I'll just test it and mark your response as answer if it works.
Your answer
Follow this Question
Related Questions
Creating meshes in Unity using Javascript 0 Answers
Terrain generation at runtime? 1 Answer
Importing models from streamingassets 0 Answers
How to create a 2D mesh from a vertex array? 1 Answer
creating a mesh procedurally 4 Answers