Jump to content
Masoud

Melting geometry, UV issue...

Recommended Posts

Hi;

To stick UVs to a melting geometry, I tried to transfer vertex UVs from the main geo to my scattered points, but there are some problems shown in the image bellow.

How can I solve this?

 

Thanks for helping.

 

UV_Melting_01.hip

UV_Melting.jpg

Share this post


Link to post
Share on other sites

One way is to try the opposite approach. Instead of trying to copy your UVs to new geometry, use the new geometry to deform the source model, which already has "good" UVs in place.

Untitled-1.jpg

ap_UV_Melting_010120.hipnc

Share this post


Link to post
Share on other sites
9 hours ago, Atom said:

One way is to try the opposite approach. Instead of trying to copy your UVs to new geometry, use the new geometry to deform the source model, which already has "good" UVs in place.

Untitled-1.jpg

ap_UV_Melting_010120.hipnc

 

 

Hi "Atom",

Thanks for reply, but I want to use that workflow in a Flip-Fluid simulation, so deforming the geometry using a "Point Deform" SOP, seems not a good idea.

Share this post


Link to post
Share on other sites

I went through this, trying to melt an iPhone model. Basically you promote all attributes to point, then after the simulation, you promote the attributes back to their appropriate context (i.e. UVs->Points->Vertex). Make sure you adjust the attribute forwarding fields on the compress node, as well as the surfacing node.

 

Share this post


Link to post
Share on other sites

Hi Atom;

Actually, to figure out what's wrong with my UV, I tried to transforming UV attribute from a non-deforming geometry, to the same geometry, but I can't figure out why the output is different:
 

UV_Transfer.jpg

UV_Transforming_01.hip

Share this post


Link to post
Share on other sites

it's different since transferring vertex UVs is not trivial and Attribute Transfer uses very naive approach that it guaranteed to not work if you have any seams 

the reason is that at the seam 2 or more vertices attached to the same point have different UV values, however since Attribute Transfer uses spatial proximity to sample values it will assign the same value to all vertices that share a point since they have the same P

you may have more success with GameDev UV Transfer

Share this post


Link to post
Share on other sites

Thank you "KarlRichter";

 

Edited by Masoud

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×