Normals information of pointcloud is not saved during voxelization
GainiK opened this issue · comments
I have the pointcloud with normals, but after the voxelization, the generated voxel grid has no normals. Is it the expected behavior?
Currently the code is:
cloud = PyntCloud.from_instance("open3d", pcd)
voxelgrid_id = cloud.add_structure("voxelgrid", n_x = 80, n_y = 80, n_z=32, regular_bounding_box=False)
voxelgrid = cloud.structures[voxelgrid_id]
But my cloud points has xyz, rgb and nxnynz values
Hola @GainiK ! Sorry for the late response.
It is indeed the expected behaviour, we don't currently implement a way of computing the normals for each voxel. It would be a nice addition to have.