Three ways of doing this of the top of my head:
-
A convex hull might work. I’m not sure if it accepts arbitrary points, but you certainly won’t get good results from all possibilities.
-
A parametric surface means that you are using a mathematical function to generate the points. If that’s what you’re doing then check out
ParametricGeometries.js
and the related example. -
Manually generate the geometry. Make sure the number of points is divisible by 3 and then use them to create a BufferGeometry (see this example). You can either calculate the normals manually or use BufferGeometry.computeVertexNormals.