Repository navigation
Replies: 3 comments 2 replies
|
Is there any color data present in the actual .PLY file? |
|
Those zero alpha values are suspicious to me, even if they're unused by the open3d pointcloud object. |
|
You're not doing anything wrong — and you found it yourself in that last comment: the zero normals are the cause.
So rather than rebuilding the cloud, just drop the useless normals: pcd = o3d.io.read_point_cloud(path_pcd)
pcd.normals = o3d.utility.Vector3dVector() # no normals -> unlit shader
pcd.paint_uniform_color([1, 0, 0])
o3d.visualization.draw_geometries([pcd])If you'd rather keep them, (The zero alphas are unrelated — Open3D's PLY reader never reads an alpha property at all. Worth fixing at the export side though: MeshLab wrote |

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hello,
I cannot color a pointcloud loaded with read_point_cloud() function. The problem is shown by code below with open3d version 0.19 and python 3.12
I am loading a pointcloud , color it in red and display it, but the color is black but the array is of red colors

If I try this workaroud it works
The workaround consist of creating a new point cloud and copying to it the points from the pointcloud loaded from file. I feel I should not do this to color a popintcloud loaded from file.
Is this a bug?
All reactions