I am trying to draw polygons dynamically on a 3d object using mouse click event in three js. I want to fill a polygon face, knowing the order of vertices and edges.
- How can I fill a polygon face?
- Is there a way to fill polygon faces from lineloop geometry?
- Are there any other algorithms you can recommend other than Earcut and Deluney algorithms that create triangles from ordered vertices?
The final goal looks like the picture below.
(pix4d cloud image)