Working with a 3D point cloud data in three.js, I have successfully added points to a Geometry using Vector3. Now I am looking to create surfaces from these points.
for(var key in dt)
{
var hole = dt[key];
var pX = hole['x'] - planeMinX;
var pY = hole['y'] - planeMinY;
var pZ = hole['z'];
gPlane.vertices.push(new THREE.Vector3(pX, pY, pZ));
}
What is the best way to compute faces from these points? Is there a simpler method available?