- Home /
Question by
WhiteGlove · Aug 21, 2018 at 10:02 AM ·
meshmapprocedural-generationedgestriangulation
How to sort and triangulate those Vonoroi edges?
I used this awesome Voronoi library by @jceipek but i ran into a problem and it's that i don't know how to sort edges and make the polygons
As you can see in this image i instantiated some cubes as the edges(see library) to see if they were sorted.
The idea is that i would like to turn those edges into a polygon as seen below.
sin-titulo.jpg
(113.6 kB)
sin-titulo.jpg
(122.1 kB)
Comment
Your answer
Follow this Question
Related Questions
Creating a convex MESH (not collider) 2 Answers
lighting problem with procedurally modified and tiled meshes 1 Answer
2d custom mesh triangulator problem 1 Answer
Dynamic meshes: Triangulation methods and Alternatives 0 Answers
What is the standard way to generate a double-sided quad in code? 1 Answer