Jump to content
min_cheung12

Getting growing effect to random avoid areas and to spread less evenly

Recommended Posts

Hello, I have a growing effect on some geometry with the solver, I need the growth to start from one point, which it does, however I need it to look less even and for it to have some random gaps as this effect will become ice with shaders. Any ideas, how I could do this? 

I have attached the files too

Thank you!

Corridoor_3_Thickness.obj

Corridor_Ice_Spread_003.hipnc

Share this post


Link to post
Share on other sites

You can add some randomness to the edges by replacing the constant in the Solver with a random number based upon the neighbors.

// Original.
float weight = 1.4 - smooth (0, radius, dist);

// New.
float weight = fit01(rand(nbr),0.7,1.4) - smooth (0, radius, dist);

To avoid areas, just delete points before submitting them to the solver.

ap_Corridor_Ice_Spread_003.hipnc

untitled-1.jpg

  • Like 1

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

×