Jump to content
LorcanOS

Collision surface for VDB advection

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

Share this post


Link to post
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

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×