Jump to content

Collision surface for VDB advection


LorcanOS

Recommended Posts

Hey folks! 

I was hoping to gain some understanding on how I might 'mask' out areas from the advection process. I have a recursive growth setup and want to add some objects into the scene where the growth will react to and grow around it...

Im not sure the best way to go about this so im not subtracting the colision surface from the growth vdb every frame... ideally some vops setup to multiply the negative space of the collision geo with the direction of growth (velocity) so that it zeros out as it nears the surface.

Im using a modified version of this setup i found on the forum. attached youll see the surface i want a collision with.

http://fx-td.com/content/misc/recursive_growth_v2.hiplc

Many thanks!

houdini_2018-09-24_01-27-35.png

Link to comment
Share on other sites

I managed to sort of get this working by creating a velocity volume of the collision geo and adding it to the noise velocity volume that is being used to drive the random growth.

i dont love this solution as i dont fully get to control how close the tolerance is to the actual surface geo. id like for it to get very close but not intersect. if you can thing of a better way to do this id love to hear it.

houdini_2018-09-24_02-04-01.png

Link to comment
Share on other sites

ok, just to follow up on this topic for anyone wondering.

I figured that the resolution of the velocity field needed to be higher (smaller divisions) if you want to reduce the sample distance... which those changes you can have a might tighter tolerance to the collision geometry! 

pretty happy with this setup after making those changes.

 

  • Like 2
Link to comment
Share on other sites

  • 1 year later...

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