Closed andrewkaufman closed 2 years ago
We'd like a step/block interpolation option on spline plug widgets (eg oslColorSpline, oslFloatSpline).
We'd like a "stepped" or "block" or "constant" interpolation option added to the dropdown on the spline widget.
For toon shading its especially useful to drive a tonemap with a stepped ramp to get a cellular effect.
We should be able to represent stepped interpolation using a new IECore::CubicBasic::constant() with a single non-zero value.
IECore::CubicBasic::constant()
Closing - addressed in Gaffer 1.0.5.0.
Summary
We'd like a step/block interpolation option on spline plug widgets (eg oslColorSpline, oslFloatSpline).
User story
What
We'd like a "stepped" or "block" or "constant" interpolation option added to the dropdown on the spline widget.
Why
For toon shading its especially useful to drive a tonemap with a stepped ramp to get a cellular effect.
Implementation notes
We should be able to represent stepped interpolation using a new
IECore::CubicBasic::constant()
with a single non-zero value.