Search - User list
Full Version: Biasing Wedge attribute values
Root » PDG/TOPs » Biasing Wedge attribute values
axelsp
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.
tamte
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)
to be fully controlled by the ramp values (which can be 0.1~100)
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)
axelsp
Tom this is genius, thanks very much! I give that a run asap
f4xc0rp
tamte
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)
to be fully controlled by the ramp values (which can be 0.1~100)
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)
Hi. How do I add spare Float Ramp parameter on my Wedge TOP exactly? Thanks
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by DjangoBB