RBD Material Fracture Distorts UV's [SOLVED]

   4380   6   0
User Avatar
Member
833 posts
Joined: Jan. 2018
Offline
Hello guys,

I'm a bit stumped by this. Basically I have a piece of stained glass that I'm fracturing by throwing a brick through it. I'm using a UVTexture node with a Perpective from Camera to create my UV's.

Unfortunately while everything looks fine when the glass is pre-fractured, the moment I instance the RBDMaterialFracture node to create my glass fractures, my UV's (and image) become distorted.

I can't figure out how to get my projected image to look correct….any ideas?
Edited by Midphase - July 30, 2020 20:06:07

Attachments:
SOTS_SHOT_1_v3_3Delight1_0001.jpg (1006.9 KB)
SOTS_SHOT_1_v3_3Delight1_0001 2.jpg (1007.0 KB)
RBD_UVs.hiplc (1.2 MB)

>>Kays
For my Houdini tutorials and more visit:
https://www.youtube.com/c/RightBrainedTutorials [www.youtube.com]
User Avatar
Member
46 posts
Joined: March 2015
Offline
Hey,
Just out of curiosity why not to project UVs after the pieces are fractured?
User Avatar
Member
833 posts
Joined: Jan. 2018
Offline
Because then this happens:

Attachments:
RBD_UVs_3Delight1_0001.jpg (1.1 MB)

>>Kays
For my Houdini tutorials and more visit:
https://www.youtube.com/c/RightBrainedTutorials [www.youtube.com]
User Avatar
Member
237 posts
Joined: March 2013
Offline
The UVs are fine. Just unpack the high-res geo, and you can see they are present and correct.
It could be an issue of packed geo not being unpacked during render correctly maybe.
I'm not lying, I'm writing fiction with my mouth.
User Avatar
Member
833 posts
Joined: Jan. 2018
Offline
I just tested in Mantra and I get the same distorted results. I don't think this is a 3Delight bug.
>>Kays
For my Houdini tutorials and more visit:
https://www.youtube.com/c/RightBrainedTutorials [www.youtube.com]
User Avatar
Member
7770 posts
Joined: Sept. 2011
Offline
what's wrong with it?

seems okay for me, accounting for the fact that perspective projections will be distorted due to their non-linearity.

Attachments:
fracturedproject.hip (290.9 KB)

User Avatar
Member
833 posts
Joined: Jan. 2018
Offline
Ok, thanks to TinyHawkus' help I think the issue is solved.

Basically the two things that made a difference were to use a PolygonMesh for my stained glass geometry as opposed to a simply Polygon, and then place the UVTexture node immediately after the RBDMaterialFracture.

This yields an 100% match to the footage plate.

Thanks everyone!!!

For those curious, here's what my final node tree looks like:

Attachments:
Screen Shot 2020-07-30 at 4.40.55 PM.png (104.8 KB)

>>Kays
For my Houdini tutorials and more visit:
https://www.youtube.com/c/RightBrainedTutorials [www.youtube.com]
  • Quick Links