[SOLVED] Export mesh with colors

Feel free to ask any question here
Post Reply
blackno666
Posts: 2
Joined: Thu Feb 02, 2017 9:21 pm

[SOLVED] Export mesh with colors

Post by blackno666 »

Hi,

from a point cloud with vertex colors I created a mesh using the Poisson Reconstruction Surface Plugin. I obtain a false colored mesh (color depending on the distance from the points). Can I export the mesh with those false colors (and not the original vertex colors).
My main goal is to get rid of surfaces which are too far from actual measured points (which would rip open the mesh, but which is what I want; I don't need watertight meshes).

best regards
blackno666
Last edited by blackno666 on Tue Feb 07, 2017 9:10 pm, edited 1 time in total.
daniel
Site Admin
Posts: 7721
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Export mesh with colors

Post by daniel »

The false colored mesh is the one you obtain with the PoissonRecon plugin and the 'output density as SF' checkbox?

If yes, then this SF is exactly meant to remove the low density parts of the mesh (see the procedure here: http://www.cloudcompare.org/doc/wiki/in ... n_(plugin)).

But if you want to export a scalar field associated to a mesh you have two options:
- save the mesh as a PLY file (which is the only mesh format I know that can handle per-vertex scalar fields)
- or convert the scalar field to RGB colors (with Edit > SF > Convert to RGB) and then save the mesh as... PLY or FBX (once again, the only formats that can handle per-vertex RGB colors). But in this case I doubt you will be able to do anything with the colors ;)
Daniel, CloudCompare admin
blackno666
Posts: 2
Joined: Thu Feb 02, 2017 9:21 pm

Re: [SOLVED] Export mesh with colors

Post by blackno666 »

Thanks for the quick and precise reply.
Post Reply