Tor Lillqvist wrote:

> I think it is time to repeat this message, from a year ago... The same
> strange-looking code is still present in color_transfer.c. Is it a
> bug? Should it be fixed before 1.2? Is my suggestion below a good one?
>
> <snipped...>

> Comments, please?
>
> --tml

I believe you are correct. Shadows ought to be handled differently.
Using degree 2 bernstein-bezier polynomials feels kind of right,
assuming one could convince oneself that this problem is identical
to smoothing three samples into a blending function, as if we were
"plotting" a parabola by using three "control points" I'd implement
the code with forward differencing or DeCastlejau's algorithm,
though - which probably already lives elsewhere in the Gimp anyway.

I think this is worthy of a bug report. Will submit one if you don't
beat me to it.

My two U. S. cents.

Garry Osgood

Reply via email to