Jump to content
GlennimusPrime

Pop Noise Amplification More On Slower Particles [SOLVED]

Recommended Posts

Posted (edited)

The following expression on a popwind dop node will make the faster moving particles have more amplitude according to the noise settings:

amp = length(v@v);

But how can I go about making only the slower moving particles be more affected by the pop noise?

Instead of just using a general if statement to say if particle speed is less than a certain amount, then have noise applied.. I'd rather the amplification of noise be more apparent as the particle speed gets lower.

Thinking back on this, maybe it does not make sense at all.. If a slow moving particle is then pushed around faster by the noise, is it then considered as moving too fast and therefore the noise should not be applied? Have I thought up an impossible noise equation here?:D

Edited by GlennimusPrime

Share this post


Link to post
Share on other sites

Both of these are yielding good results. I initially thought an if statement wouldn't quite do it for the sim, but it seems to be going in the direction I'm after.

Thank you!

Share this post


Link to post
Share on other sites

If you're afraid having an if statement, you can also try with a lerp, which will do this way more gradually. 

float speed = length(@v);

float normSpeed = fit(speed, 0, chf("max_speed"), 0, 1);

amp = lerp(amp, 0, normSpeed);

 

If you feel like the results are a bit too linear, you can always run your normSpeed through a power function, wich will make it more interesing in many cases i think.

Still new to this, I might say some bs, and would love to get corrected if so.

 

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

×