CloudCompare LIDAR (Point cloud) to mesh tutorial

For user feedback or tutorials
Post Reply
DanTDBV
Posts: 5
Joined: Mon Nov 16, 2015 3:59 am

CloudCompare LIDAR (Point cloud) to mesh tutorial

Post by DanTDBV »

For the purpose of creating landscapes for racing games, I have made a tutorial.

I have posted the tutorial over at Assetto Corsa Mods.

http://assettocorsamods.net/threads/lid ... orial.422/

This is to keep others from having as bumpy, a ride into this as i have had. Many frustrations.

Finding the right way into LIDAR point clouds, is like navigating a dense jungle.

I sincerely hope that this will be a help to others.

My sincerest thanks for creating this great program and letting us use it Daniel.

Greetings

DanTDBV
Denmark
daniel
Site Admin
Posts: 7713
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: CloudCompare LIDAR (Point cloud) to mesh tutorial

Post by daniel »

Hi and thanks for sharing this tutorial.

Here are some remarks or questions:

1) are you sure about skipping the 'Global shift/scale' step when loading the LAZ files? The LAZ files are generally geo-referenced with very big coordinates (we can see on your examples that the bounding-box center is at 720500 in X and 6178500 in Y!). If you don't shift the coordinates at loading time then there's a high chance that you'll lose accuracy (up to half a meter!). Mind that the shift is only temporary. Normally the points or the derived mesh will be output at the right place at export time.

And if you don't want the output clouds or meshes to be actually this far away (by the way this may be the cause of the issue you have with Blender) then you can simply remove the global shift information before exporting the files (with 'Edit > Edit Global Shift and Scale').

Note that when exporting to STL you don't have to remove the Global Shift information as STL is a 32 bits format. Therefore CC won't try to restore the original coordinates (otherwise you would lose some accuracy once again).

2) Instead of playing directly with the 'Edit > Scalar fields > Filter by Value' method (which can be a bit long), you can first do this interactively by playing with the 'Scalar field' histogram in the cloud properties (see http://www.cloudcompare.org/doc/wiki/in ... properties - 'Scalar field display parameters editor' section). You can even tell CC to hide the points that are outisde the display range in the 'Parameters' section of this widget.

All the modifications will be displayed in real time (but the points won't be deleted, it's only virtual). Once the parameters are visually ok, then you can call the 'Filter by Value' method (and the right values will be automatically set in the min and max fields).

3) For backup, using the dedicated BIN format of CloudCompare is much faster (but of course this format can only be read by CC).
Daniel, CloudCompare admin
DanTDBV
Posts: 5
Joined: Mon Nov 16, 2015 3:59 am

Re: CloudCompare LIDAR (Point cloud) to mesh tutorial

Post by DanTDBV »

Hi Daniel.

Thankyou very much.

I have updated the tutorial based on your input.

I have decided to stick with, the LAZ format in the tutorial, as I know how to handle it.

I have also uploaded the updated version here:
http://www.assettocorsa.net/forum/index ... ial.29975/

And here:
http://www.racedepartment.com/threads/l ... al.115792/
DanTDBV
Posts: 5
Joined: Mon Nov 16, 2015 3:59 am

Re: CloudCompare LIDAR (Point cloud) to mesh tutorial

Post by DanTDBV »

Hello Daniel

Thanks to your help, I figured it out and have updated the tutorial accordingly.

To the best of my knowledge, I consider the tutorial finished now.
Post Reply