3D polygon triangulation algorithm

Hello,

For an simple experiment im trying to generate random 3D meshes.
Now im having multiple points in 3d space that needs to be connected with triangles.
Does anyone have some known algorith names or any point toward the correct direction?
The only stuff i can find is about 2d polygons.

Thanks in advance.
Robin

What do you mean by “3D polygon”? A polygon is in a plane, isn’t it?

I think 3D polygon is supposed to mean a 2D polygon in 3D space.

Otherwise we would be talking about polyhedra, and that wouldn’t make sense.

Anyway, the solution to the problem: Add a z-coordinate.

Well, there is a problem. It depends on if you want it to be concave or convex, and if you randomly generate completely random points, it won’t work. You’ll have to make sure that chosen points don’t already intersect the polygon.

Same for polyhedrons, so it doesn’t really matter in 2D or 3D, just the overlaying problem of it being a shape at all.

What the heck is a 2D polyhedron?

Sorry, I meant it doesn’t matter if its a 2D polygon or a 3D polyhedron.

Okay.

But the 2D tutorials will surely show how to avoid that?

Well, then, it really isn’t a problem anymore then :o

I guess i did not explain myself very well.
My apologies, i may have used the wrong terms.

I want to achive this:

But then in 3d space (around a point cloud).
There is very little info about it, so i dont rally know how to call it.

With some googling with more energy i found something what seems like what i would need:
http://www.cse.unsw.edu.au/~lambert/java/3d/giftwrap.html