Math behind Graph Bias adjustment 2003-11-19 - By Helmar Gerhardt
Back Hi, I'm trying to figure out the mathematics behind Maya's ramp graph input bias adjustment. The fluidShape node use a lot of them. Maya's description to the input bias control is as follows:
Opacity Input Bias adjusts the sensitivity of the selected opacity input used. Input values of 0 and 1 will always map to the start and end of the opacity curve, although the bias determines where in the curve a value of 0.5 will index. For example if one used density as an input, and one wishes the material to become opaque at a density of 0.001, then the density bias can be used to shift most of the curve into this density range. Instead of cramming several values at the beginning of the ramp one can use the full range. If the input bias is 0.0 then a value of 0.5 will map to the exact middle of the opacity curve.
Anyone know the math to implement this functionality? It would be much appreciated. Thanks.
Regards,
Helmar
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --- List-help: <mailto:listar@(protected)?Subject=help> List-archive: <http://www.highend3d.com/maya/devarchive/>
|
|