Jump to content

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


min_cheung12

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

Link to comment
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
Link to comment
Share on other sites

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