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

Feel free to ask any question here
Post Reply
estd
Posts: 1
Joined: Mon May 13, 2019 12:04 pm

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

Post 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
Attachments
colorscale_issue.zip
(51.06 KiB) Downloaded 154 times
daniel
Site Admin
Posts: 7717
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

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

Post 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?
Daniel, CloudCompare admin
Post Reply