How to use the Ramp Parameter VEX ?

   10467   6   1
User Avatar
Member
861 posts
Joined: Oct. 2008
Offline
In a VOPSOP I want to modify a value according to a custom curve.

In XSI we have an fcurve node (see image). Input values (x axis) are spit out according to the fcurve we crated (y axis). Very easy and super useful.

I think the Ramp Parameter VEX node does this but I have no idea how to use it. There are no example files. Where is the nice visual ramp window for that node?

Attachments:
fcurve.jpg (15.9 KB)

--
Jobless
User Avatar
Member
1769 posts
Joined: Dec. 2006
Offline
hi!

since its a parameter, you will find it on the vop node, go up one level.
Altough it would be good to have it visible in the vop context as well.
daniel bukovec | senior fx td | weta digital
qLib -- http://qlab.github.io/qLib/ [qlab.github.io]
User Avatar
Member
861 posts
Joined: Oct. 2008
Offline
Oh wow, that was easy. A-Hahahaha.

Thanks Buki.
--
Jobless
User Avatar
Member
1769 posts
Joined: Dec. 2006
Offline
You're welcome
daniel bukovec | senior fx td | weta digital
qLib -- http://qlab.github.io/qLib/ [qlab.github.io]
User Avatar
Member
1529 posts
Joined: July 2005
Offline
Just for completeness sake, there is also an expression (chramp)… just in case you wanted to get ramp values into something other then a vop net.

exhelp chramp for more info.

G
User Avatar
Member
77 posts
Joined: Nov. 2007
Online
So say I have a Spline VOP in my VOPnet, how do I drive it with a Ramp Parameter VOP?

The Spline VOP takes a current position “U” and any number of breakpoints “key”. How do I set it up so that the ramp's current position and breakpoints corresponds to the spline's U and keys?
User Avatar
Member
1529 posts
Joined: July 2005
Offline
Heya Indy,

In my mind, the ramp parameter was designed to replace the spline vop.

I could be wrong, but if you WERE successful, in rebuilding the knot values, would you not end up in the same place? at the end of the chain, you'd still be looking up the value of u…

Or am I missing something?

G
  • Quick Links