Open mlavik1 opened 2 years ago
Suggestion: Two modes for editing 1D TF:
Internally, (2) can use the same internal representation as (1). We simply create N (100?) colour control points and alpha control points, evenly distributed from data value 0.0 to 1.0.
We can use the same TransferFunction class then, but two different editor windows (or one, with two modes?).
Implement different modes for editng the TF. Other software use a smoothstep interpolation between two points, which is much easier than to manually move a set of points to LERP between.
Also, it would be nice to support other ways of I terpolating between the points, and not only LERP.