Mesh generation from points cloud

Hi, I have a set of points with (x,y,z) coordinates, and I want to generate a mesh or a surface with this points, Is there a function in opengl that do this? or Should I program it?

Thanks in advance


this is not a simple task and opengl cannot do it for you. I think you want something like Delaunay Triangulation and convex hull creation, but you’ll have to look at google’s hits for more details

Thanks for the tip.