trimesh icon indicating copy to clipboard operation
trimesh copied to clipboard

How to add texture to the "internal" surface after using `slice_mesh_plane`

Open TooSchoolForCool opened this issue 3 years ago • 0 comments

Hi there,

I was wondering how can I add new texture to the newly "internal" surface of the mesh after using the function slice_mesh_plane while preserving the "outer" surface as the same.

For example, if I slice an apple into two halves, I can keep the UV's of the corresponding "old" vertices so that the original "outer" surface keep the same. But how to deal with the newly created vertices and the "internal" surface? It seems I need to generate a new UV system for each sliced piece.

What is the algorithm to take care of this, and is there any modules/library available to handle such a scenario?

Thanks in advance, and I will appreciate for any clue or suggestion.

TooSchoolForCool avatar Dec 31 '21 10:12 TooSchoolForCool