Original Post
I made several searches here but couldnt find anything..
I have a higly curved surface, whose boundary is defined by a closed loop of points (it is a curved 3d face) that may or may not have concave vertices..
I must triangulate this face, but while it is trivial to triangulate a convex/concave 2d polygon (or a 3d planar polygon via plane projection), either by ear-clipping or the like, things gets messy when dealing with a non-planar (and possibly concave) face, since you cant possibly get a valid 2d projection that doesnt end up with self-intersections (and hence a complex polygon).
There is simply no algorithm I could find that deals with such primitive.. my aim would be to triangulate a single quasi-rectangular (convex and slighlty concave vertices) U-shaped face (2xn 3d points)..
Is there a way I cant think of? The only thing that comes to my mind is "breaking" the face in several more-or-less planar subpolys, whose projections doesnt self-intersect, and then apply ear-clipping.. but it seems pretty messy to me..
I have no information about the order of the vertices.. I just know that they are stored as a ccw chain, but absolutely no idea which point is the start..
I have a higly curved surface, whose boundary is defined by a closed loop of points (it is a curved 3d face) that may or may not have concave vertices..
I must triangulate this face, but while it is trivial to triangulate a convex/concave 2d polygon (or a 3d planar polygon via plane projection), either by ear-clipping or the like, things gets messy when dealing with a non-planar (and possibly concave) face, since you cant possibly get a valid 2d projection that doesnt end up with self-intersections (and hence a complex polygon).
There is simply no algorithm I could find that deals with such primitive.. my aim would be to triangulate a single quasi-rectangular (convex and slighlty concave vertices) U-shaped face (2xn 3d points)..
Is there a way I cant think of? The only thing that comes to my mind is "breaking" the face in several more-or-less planar subpolys, whose projections doesnt self-intersect, and then apply ear-clipping.. but it seems pretty messy to me..
I have no information about the order of the vertices.. I just know that they are stored as a ccw chain, but absolutely no idea which point is the start..