Skip to content

After running "remesh_smooth", the new mesh did not save the vertex colors of the old mesh. #176

Answered by BrunoLevy
skylinestars asked this question in Q&A
Discussion options

You must be logged in to vote

Yes, the result of remesh smooth is a mesh that is completely different from the original mesh, so it does not have the initial attributes. You will have to transfer the attributes, which you can do by creating an AABB (axis-aligned bounding box tree) and find the nearest triangle of the initial mesh for each vertex of the remesh, then interpolate the colors from the mesh. Examples of such attribute transfers are in geogram/mesh/mesh_baking.cpp

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by BrunoLevy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #157 on August 27, 2024 18:16.