Bezier interpolation on ramps

   5736   7   2
User Avatar
Member
142 posts
Joined: Feb. 2012
Offline
Is it just me or does everyone find it quite annoying there are no bezier interpolation types on the ramps? Even simple Ease-in/Ease-out options would be handy… its very hard to get a nice logarithmic style curve out of the ramps (in float mode that is).

I am a relatively new user so i might be missing something here.
User Avatar
Member
373 posts
Joined: March 2009
Offline
Nope, you're absolutely right. It'd be awesome to have. However, in those cases you can create a curve with keyframes on a spare parm, and use `chf(channel, frame)` to do a curve lookup based on some value instead.
Ian Farnsworth
User Avatar
Member
2624 posts
Joined: Aug. 2006
Offline
chf() has saved the day more often than I care to count

Rob
Gone fishing
User Avatar
Member
14 posts
Joined: Feb. 2010
Offline
Could you post an example Solitude? I didn't quite get it
User Avatar
Member
373 posts
Joined: March 2009
Offline
Yup, here ya go, a super simple example that uses a custom curve from 0-100 where I look up the value of pscale based on `rand($PT) * 100` giving me a random frame from 0-100 for each point to look up that frame on the curve to get my final value for pscale. So you get a lot of small spheres, but only a handful of bigger ones based on my curve. Also try $BBX to get an idea of how it works as well.

Attachments:
chf_pscale.hipnc (54.6 KB)

Ian Farnsworth
User Avatar
Member
14 posts
Joined: Feb. 2010
Offline
Thanks a bunch man. Always nice with new tricks
User Avatar
Member
18 posts
Joined: Nov. 2011
Offline
Great tip Solitude!

Looks like I will be swearing at Houdini much less thanks to this.
Technical Director @ Kredenc
www.mkolar.com [mkolar.com]
User Avatar
Member
249 posts
Joined:
Offline
It would still be amazing to have tangent handles on ramp parameters or a compact way of embedding the channel editor in the parameter interface. I can imagine which one is easier to do.
blog [abvfx.wordpress.com]tumblr [andrewbrowne.tumblr.com]twitter [twitter.com]
  • Quick Links