Hallo everyone
Is there a way to make a ramp parm bias wedge values ?
Ex: Wedge 'viscosity' from 0.1 to 100, but having a 'ramp' that would drive the wedge to sample more around the min or max values accordingly.
Biasing Wedge attribute values
1859 3 1- axelsp
- Member
- 100 posts
- Joined: 9月 2006
- Offline
- tamte
- Member
- 8766 posts
- Joined: 7月 2007
- Offline
axelsp
Ex: Wedge 'viscosity' from 0.1 to 100, but having a 'ramp' that would drive the wedge to sample more around the min or max values accordingly.
add Float Ramp spare parameter to your Wedge TOP
let's say you call it "ramp"
then set your wedge attribute's Wedge Type to Value with expression like this:
chramp("ramp", @pdg_index / (ch("wedgecount") - 1), 0)
or you can also keep your ramp values 0-1 and have expression like this:
fit01(chramp("ramp", @pdg_index / (ch("wedgecount") - 1), 0), .01, 100)
Edited by tamte - 2022年6月9日 05:09:25
Tomas Slancik
FX Supervisor
Method Studios, NY
FX Supervisor
Method Studios, NY
- axelsp
- Member
- 100 posts
- Joined: 9月 2006
- Offline
- f4xc0rp
- Member
- 12 posts
- Joined: 10月 2019
- Offline
tamteHi. How do I add spare Float Ramp parameter on my Wedge TOP exactly? Thanksaxelsp
Ex: Wedge 'viscosity' from 0.1 to 100, but having a 'ramp' that would drive the wedge to sample more around the min or max values accordingly.
add Float Ramp spare parameter to your Wedge TOP
let's say you call it "ramp"
then set your wedge attribute's Wedge Type to Value with expression like this:to be fully controlled by the ramp values (which can be 0.1~100)chramp("ramp", @pdg_index / (ch("wedgecount") - 1), 0)
or you can also keep your ramp values 0-1 and have expression like this:fit01(chramp("ramp", @pdg_index / (ch("wedgecount") - 1), 0), .01, 100)
Best regards,
Faxcorp
Faxcorp
-
- Quick Links