Jump to content

[SOLVED] Pack object node UV problems


Recommended Posts

Hello,

I have a pre-fractured tree and before porting the parts into dop 
I pack them all.

Even though I check on transfer all attributes included UV

My UV after getting packed got meshed up

I can use an attribute transfer to bring it back but i dont understand the reason why it happened

Is there something I overlooked or is it just the way it is?

Thank for reading this 

image.thumb.png.8fb801704a30acc0a699969805b7660a.png

ASk_PackedObj_UV.hipnc

Edited by Max_Steven
Link to comment
Share on other sites

Hi, the issue is that you are transferring UV to your packed geo. That "promotes" the UV to a single value for the entire packed fragment.
Then, when you unpack it, it transfers that single value to the entire packed fragment, messing up your UV.

You do not need to "Transfer Attributes" when you pack your geometry.
That transfers attributes on the "shell", but the content still has the original data, regardless.

If you isolate a single piece, for debug, and look at the vertices in the spreadsheet, you can see that the first UV value is transferred on your packed geo. Then, when unpacking, that value is copied on every vertices for that packed fragment.

Just remove the * in the "Transfer Attributes", and it'll work.

uv_packed_fragments.thumb.gif.9f66e83d0bfeb02c3f5a6f392ebc5077.gif

  • 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...