unitycoder / UnityPointCloudViewer

Point Cloud Viewer and Tools for Unity
https://assetstore.unity.com/packages/tools/utilities/point-cloud-viewer-and-tools-16019?aid=1101lGti
128 stars 15 forks source link

Grid size smaller than 1 #101

Closed nvoelzow closed 3 years ago

nvoelzow commented 3 years ago

When using the PointCloudConverter to convert an LAS file to v3, is it somehow possible to use grid sizes smaller than 1 to reduce the size of the individual output tiles when working for example with high resolution indoor scans?

Trying to set it for example to 0.5 through command line args I get: 0> Invalid gridsize parameter: 0.5

The UI version just quietly ignores this and doesn't start converting

Is this just a limitation by the parameter sanity check or does the format not support smaller tile sizes?

unitycoder commented 3 years ago

its limited right now in here: https://github.com/unitycoder/PointCloudConverter/blob/master/Tools/ArgParser.cs#L346

but on a quick test it does seem to work with 0.5 and smaller values. (cant remember right now what was the original issue why it was limited, but ill remove the limitation).

nvoelzow commented 3 years ago

Ah perfect - thank you very much!

unitycoder commented 3 years ago

new build allows up to 0.01 *but should note that values below 1 are not really tested.. https://github.com/unitycoder/UnityPointCloudViewer/wiki/Commandline-Tools

unitycoder commented 3 years ago

out now in v2.60