[FIXED] RGB Color fields - float or int ?
Posted: Fri Mar 21, 2014 2:59 pm
Hi there !
I seem to be having a problem when loading a point cloud (.las or ascii) when the color fields have been encoded in float32 (range from 0 to 255.0) instead of integers.
Basically, the data are the same, but if they are written as 255.00, I'll get only black points when switching to color mode (I tried floating points RGB colors in [0,1.0] but it doesn't work).
It's not a very important problem, but it took me some time to figure out what was happening...
Maybe it's not hard to fix, maybe this post can also help others understand why they can't color their point clouds ;)
Cheers
Thomas
I seem to be having a problem when loading a point cloud (.las or ascii) when the color fields have been encoded in float32 (range from 0 to 255.0) instead of integers.
Basically, the data are the same, but if they are written as 255.00, I'll get only black points when switching to color mode (I tried floating points RGB colors in [0,1.0] but it doesn't work).
It's not a very important problem, but it took me some time to figure out what was happening...
Maybe it's not hard to fix, maybe this post can also help others understand why they can't color their point clouds ;)
Cheers
Thomas