I have to remesh an object to do some mild boolean-ing and less mild fracturing. Is there a suggested way for a clean UV transfer from the original to the remeshed object? I realize the vertices aren't 100% in the same place, but it seems like they're closer than the new UVs would indicate.
In case it was an issue of point/vertex density, I tried this with inappropriately dense meshes, as well as doing a transfer by way of a very dense scatter, and the result is the same.
The weirdness, predictably, happens along the edges of the UV islands, so I assume the culprit and salvation lies within some sort of vertex split workflow.
Surprisingly, the boolean and fracture hold the UVs pretty nicely (post the remesh UV mangling).
Three pics attached--the original, after the remesh, and then after the boolean/fracture.
Thanks for any pointers!
Clean transfer of UVs after remesh?
7183 5 3- bentway23
- Member
- 111 posts
- Joined: April 2014
- Offline
- GlenD
- Member
- 118 posts
- Joined: Dec. 2013
- Offline
- Aizatulin
- Member
- 493 posts
- Joined: July 2005
- Offline
Hi,
one possible way maybe:
one possible way maybe:
- creating classes from uv islands (on the base mesh)
- classify each polygon on the remeshed mesh by the class of the uv island, which closest distance to the center point
- now you can calculate the distance to closest island foreach vertex (using its prim class)
- at the end primuv() can transfer the corresponding uv from base mesh to the target mesh
- Andr
- Member
- 899 posts
- Joined: Feb. 2016
- Offline
Are you on Houdini 19?
They updated the Remesh Sop with a parameter to preserve the UVs.
Or if you are still on Houdini 18.5 you can check my Fast Remesh SOP [www.sidefx.com], which has an option to preserve UVs as well.
Or if you want to do it manually, just assign the UVs island edges to the Hard Edges group of the Remesh Sop.
They updated the Remesh Sop with a parameter to preserve the UVs.
Or if you are still on Houdini 18.5 you can check my Fast Remesh SOP [www.sidefx.com], which has an option to preserve UVs as well.
Or if you want to do it manually, just assign the UVs island edges to the Hard Edges group of the Remesh Sop.
Edited by Andr - Jan. 18, 2022 10:37:57
- bentway23
- Member
- 111 posts
- Joined: April 2014
- Offline
Thanks for all your help! The UVs came from the Zbrush model.
The labs UV transfer tool worked really well, but the "harden UV edges" option in the remesh did the trick perfectly. Hadn't even noticed that before!
Aizatulin, I'll give your method a go during some downtime--there are a few tricks in there I'd like to have in my brain.
The labs UV transfer tool worked really well, but the "harden UV edges" option in the remesh did the trick perfectly. Hadn't even noticed that before!
Aizatulin, I'll give your method a go during some downtime--there are a few tricks in there I'd like to have in my brain.
- Andr
- Member
- 899 posts
- Joined: Feb. 2016
- Offline
-
- Quick Links