Page 1 of 1

[SOLVED] Export mesh with colors

Posted: Thu Feb 02, 2017 9:28 pm
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

Re: Export mesh with colors

Posted: Fri Feb 03, 2017 7:43 am
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 ;)

Re: [SOLVED] Export mesh with colors

Posted: Tue Feb 07, 2017 9:10 pm
by blackno666
Thanks for the quick and precise reply.