How to sample SDF from VDB from top view?

   1648   4   1
User Avatar
Member
4 posts
Joined: Jan. 2022
Offline
I created a VDB field in Houdini. Now I want to sample the SDF information in this VDB field from the top view and output it into a texture. How can I do this?
User Avatar
Member
718 posts
Joined: Sept. 2013
Offline
There is a "volume slice"-node that can be set to method > volume. Inside COPs you can import the slice using the "SOP import"-node.

https://procegen.konstantinmagnus.de/volume-slices-in-cops [procegen.konstantinmagnus.de]
Edited by Konstantin Magnus - Oct. 28, 2023 12:19:40
https://procegen.konstantinmagnus.de/ [procegen.konstantinmagnus.de]
User Avatar
Member
4 posts
Joined: Jan. 2022
Offline
Konstantin Magnus
There is a "volume slice"-node that can be set to method > volume. Inside COPs you can import the slice using the "SOP import"-node.

https://procegen.konstantinmagnus.de/volume-slices-in-cops [procegen.konstantinmagnus.de]
Thank you, this really helped me a lot
User Avatar
Member
4 posts
Joined: Jan. 2022
Offline
Konstantin Magnus
There is a "volume slice"-node that can be set to method > volume. Inside COPs you can import the slice using the "SOP import"-node.

https://procegen.konstantinmagnus.de/volume-slices-in-cops [procegen.konstantinmagnus.de]
I tried this solution and he sampled the top view satisfactorily, but this doesn't seem to be able to sample values from 1 to 0 outside of volume, I would like to ask how I can get SDF values from 1 to 0 outside of volume, e.g. sampling the SDF from the bottom left of the scene and getting this result.

Attachments:
screenshot-20231106-161810.png (94.5 KB)

User Avatar
Member
172 posts
Joined: Aug. 2017
Offline
Try This.

Attachments:
VolumeComune01.hiplc (363.9 KB)

Conservation of Momentum
  • Quick Links