Displace volume?

   5171   2   2
User Avatar
Member
271 posts
Joined: March 2012
Offline
Hi all,
I'm having a rather tough time trying to get a volume to displace.
I have attached a hip file with an example of the thing I'm trying to do. I have a volume shape that is quite detailed and there is an animation on the mountain SOP amplitude that I wish the volume to stick to and displace.
I have the feeling this should be easy, but I'm having no luck finding the answer.

Anyone have an idea how to do this?

Attachments:
volume_displace.hipnc (263.7 KB)

User Avatar
Member
271 posts
Joined: March 2012
Offline
I found a solution and I thought other newbies such as myself would like to know:
I have a noise to create the volume texture, and basically you cache the original positions on a point cloud, then get those to displace along with the geometry by (in this case) using a wire deformer. Then use a point cloud lookup to get the position to feed into the volume noise.
User Avatar
Member
94 posts
Joined: Aug. 2010
Offline
since Houdini doesnt allow you to author new volume topology in a vop, I prefer to think about the problem as a reverse lookup.

1) create points that match your volume
2) store points' rest position, then perform the deformation
3) make a volume scratch space that you want to write to
4) iterate over the scratch space, use deformed points' rest position to look up the values in your original volume

Attachments:
volume_deform.hip (229.7 KB)
volume_deform.jpg (135.5 KB)

  • Quick Links