Only the positions of the point cloud data in the ply file got compressed
I converted the point cloud data from the KITTI dataset into ply format. The header of the ply file is shown as follows: ply format binary_little_endian 1.0 element vertex 126085 property float x property float y property float z property float reflectance end_header
I then use draco to compress and decompress this file. In the ply file which contains the decompressed data, it seems that only the positions (x, y, z) are decompressed:
ply format binary_little_endian 1.0 element vertex 126085 property float x property float y property float z end_header
How to let draco compress other properties (e.g., reflectance) as well?
I think if you go into the ply_decoder they mentioned that they support a few things such as positions, colour, normals, (maybe alpha?) but the other attributes are ignored for now and left as a todo
Is it still todo or there is a workaround now?
Adding a comment here as I ran into a similar issue with the u,v coordinates for textures.
Currently the ply_decoder, which is used by the draco_encoder process to parse and prepare the ply input file, only processes color and normal attributes. All other attributes are discarded.
I have implemented a fix for the texture coordinates which I would love to contribute to the repository.