Page 1 of 1

Command Line, coloring cloud/mesh export as .ply issue

Posted: Mon May 13, 2019 12:46 pm
by estd
Hi,

I'm using CC v2.11.alpha and I'm having trouble to apply the color scale to the point cloud and save it as a PLY file.
I tried different combinations absolute and relative like: Blue>Green>Yellow>Red

My source file is .xyz, it works like a charm if I use the CC normally (with relative and absolute color scale) but not in the command line.

The Z values are around zero, with little noise that the SOR filter takes out. The physical maximum values for Z are +20mm and -30mm. My goal is to have a constant scale for those limitations applied to my point cloud and save it after filtering as a colored mesh.

My current command line looks like this:
"CloudCompare -O D:\test.xyz -NO_TIMESTAMP -AUTO_SAVE ON -SET_ACTIVE_SF 0 -M_EXPORT_FMT PLY -SF_COLOR_SCALE D:\colorscale_relative.xlm -SOR 8 3 -DELAUNAY -BEST_FIT -SAVE_CLOUDS -SAVE_MESHES -CLEAR"

Attached an example of my files and a picture of what it should look like.

Thanks

Re: Command Line, coloring cloud/mesh export as .ply issue

Posted: Wed May 15, 2019 7:36 pm
by daniel
Your point cloud has no scalar field, it's just x y and z. So I don't see what you expect (the scalar field 0 doesn't exist, and there's no color scale applied because of that as well...)

Or did I miss something?