VDB: Fill interrior with Surface parameters

   4067   5   1
User Avatar
Member
128 posts
Joined: July 2005
Offline
1. We have complex and closed poly with (for example) point Cd presented.
2. We convert it to VDB - with SDF and fog inside channels.
3. We need have Cd attrribute propagate from surface deeper into volume. Now it is possible just for limited voxel-layers around source poly-surface.

Which way can we elaborate such network? VDB Analysis node prepared closest_point vdb-channel over source ‘density’ channel, so we have all required data presented in scene.

Thank you
Anything that flies
User Avatar
Member
142 posts
Joined: Aug. 2009
Offline
Can you provide reference or something (file)
User Avatar
Member
128 posts
Joined: July 2005
Offline
here you are, if it can help

to be true, I seem it will be simpler (for me) to write just a custom propagate sop dso

Attachments:
vdb_test.hipnc (222.3 KB)

Anything that flies
User Avatar
Member
1736 posts
Joined: May 2006
Offline
If you append a volume visualize sop, you can see by enabling ‘fill interior’ on your vdb from polygons, you've done exactly as you describe you want done. You can append a volume slice to take an even closer look.

Edited by mestela - Nov. 2, 2019 23:12:29

Attachments:
vdb_cd_interior.gif (347.7 KB)

http://www.tokeru.com/cgwiki [www.tokeru.com]
https://www.patreon.com/mattestela [www.patreon.com]
User Avatar
Member
128 posts
Joined: July 2005
Offline
Ah. Ok, so it is just my undrestanding of documentation.

Thank you

Attachments:
2019-11-07_04-42-46.png (222.5 KB)

Anything that flies
User Avatar
Member
128 posts
Joined: July 2005
Offline
Ok, I tried such vdb and found, than renderman does not render them correctly, just used Cd channel as density, but it is more questions to PxrVolume shader, than to vdb files.

Thank you anyway
Anything that flies
  • Quick Links