points2surf
points2surf copied to clipboard
How can I get colored reconstruction fron own point clouds?
Thanks for your excellent works! I have own colored point-clouds data, and I would like to reconstruct mesh from it with color. Currently, it looks like train_p2s_max.sh just outputs gray mesh. Should I need modify make_pc_dataset.py or some other code ...?
Hi @rootpine ! Coloring is unfortunately not implemented here. You would need to implement it on your own.
For this, I see these options:
- Vertex Colors: Quite easy but inefficient or ugly. Use a Scipy KDTree and do a 1-NN query to copy the color to a mesh vertex from the closest point in your point cloud.
- Texturing: Not so easy but quite nice. You could try Xatlas , Blender, Meshlab or another texturing method. If this is in the context of photogrammetry (i.e. you have camera poses), you should have a look at NerfStudio and OpenMVG. I'm also trying to figure this out, so I can't help you yet.
The best place to implement those is in source/sdf.py in implicit_surface_to_mesh(). You'll need to load the input point cloud here, so maybe pass the path through.
please re-open if you need more help