change the ply model to osgb model, but the color is not right
in the ply model, the file format is below
ply
format binary_little_endian 1.0
element vertex 195929
property float x
property float y
property float z
property float nx
property float ny
property float nz
property float f_dc_0
property float f_dc_1
property float f_dc_2
property float f_rest_0
property float f_rest_1
property float f_rest_2
property float f_rest_3
property float f_rest_38
property float f_rest_39
property float f_rest_40
property float f_rest_41
property float f_rest_42
property float f_rest_43
property float f_rest_44
property float opacity
property float scale_0
property float scale_1
property float scale_2
property float rot_0
property float rot_1
property float rot_2
property float rot_3
end_header
-------------------------------------------------------
is the color vertex is the 6~9 column (f_dc_0, f_dc_1,f_dc_2) ?
or is other problems?
yes, the color is stored in f_dc_0 - f_dc2. But you would still need to convert this from SH coefficients to RGB colors (check the function SH2RGB from the python codebase).
change the ply model to osgb model, but the color is not right
in the ply model, the file format is below ply format binary_little_endian 1.0 element vertex 195929 property float x property float y property float z property float nx property float ny property float nz property float f_dc_0 property float f_dc_1 property float f_dc_2 property float f_rest_0 property float f_rest_1 property float f_rest_2 property float f_rest_3