Jump to content

How can I transfer UV from polygon to volume, and vice versa (after deformation)?


Recommended Posts

Hi;

I would like to create a VDB from a polygon (that contains UV texture) and after some deformations (like anti-alias noise), I would like to convert it back to polygon.

I tried to transfer UV attribute from volume to deformed polygon by turning the "Transfer Surface Attribut" option ON, in "ConvertVDB SOP", but it doesn't work in some parts of the final result.

 

 

Thanks for helping.

uv_Volume.hip

1.jpg

Edited by Masoud
Link to comment
Share on other sites

hey, I'm no expert on this and I'm not entirely sure if this approach makes sense in your case so take this with a bowl of salt. but I think the vertex split destroys some needed information? if you unwrap after converting vdb to poly everything has uvs. this might be missing the point of everything you did before that though :D

 

image.thumb.png.55b09898ee5e0ea07ba3e143d6cf7895.png

Edited by rbesca
Link to comment
Share on other sites

I don't know why in your setup the transfer only works partially, but you can effectively use an attribute from Volume.
You just have to be careful that when in your vdbFromPolygon, to host your uv, you create a second VDB.
For attributeFromVolume to use the right VDB, you have to delete the VDB density. (Just call @name=uv group in the attributeFromVolume don't work for me).
However, on the edges, it's not perfect.

I'm also not sure what the proper procedure is.

 

uv_Volume_F.hip

 

Volume uv.JPG

Edited by flcc
  • Like 2
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...