Page 1 of 1

.obj to point cloud

Posted: Fri Feb 24, 2017 1:06 am
by James
Hello,

I'm looking for a solution converting .obj files to a point cloud. The point cloud format I've been using with the best success is .pts. I have a Matterport camera that exports in the .obj format. Matterport offers a free service which will convert .obj to .xyz. I have also tried a company called Veriscian which will convert to .pts. The .xyz point cloud doesn't contain the same resolution as the .pts file, it seems as though far fewer points are being included. I would like a platform that will give me control over the conversion. Will CloudCompare convert the .obj mesh to a high resolution point cloud, preserving the color data? Any suggestions or insights will be much appreciated.

Thanks,

James

Re: .obj to point cloud

Posted: Fri Feb 24, 2017 6:29 am
by daniel
Simply load your OBJ file, select the mesh (and not the 'file' group), and use 'Edit > Mesh > Sample Points'.

You'll be able to provide the total number of points you want (or the density). And yes the colors will be preserved.

Re: .obj to point cloud

Posted: Fri Feb 24, 2017 11:21 am
by James
Hello Daniel,

That's terrific! I look forward to using CloudCompare with our current equipment and with a new Leica scanner that's on it way.

James

Re: .obj to point cloud

Posted: Wed Dec 13, 2017 8:56 am
by martijn00
Hai guys! Tnx for the info sofar. I've done what you suggested and i have a poitncloud visible. But how do i save it to .PTS?

Re: .obj to point cloud

Posted: Wed Dec 13, 2017 7:35 pm
by daniel
PTS files are in fact ASCII files (see the 'ASCII cloud' entry in the 'Save file' dialog). Then make sure to add the 'number of points' at the beginning of the file (in the 'Save parameters' dialog). And of course use the PTS extension.