Tim Roberts wrote:
On Fri, 03 Oct 2003 15:55:47 -0500, Bryan W. Headley wrote:

It's 3 curves of 256 datapoints. Floating point or integer. What you have to assume is that every point on the curve is grabbable, either through a spline curve widget, or something like

datapoint [123]^ red [ 45] green [ 23] blue [ 52]

With the premise being, you scroll to whichever element you want with the datapoint wheel widget; the values for red/green/blue are actually what you'd call red[123], green[123] blue[123] (only because in the example above, we're at the 123rd element)

This discussion needs an infusion of reality.


I fully realize there are many graphics cards for which the color curves
can be set exactly as you describe, as 3 arrays of 256 elements.  The S3
Savages do it that way.

However, the UI you describe is just silly.  There is NO real-world reason
to have a configuration widget that allows gamma setting on a
point-by-point basis.  For gamma, a single exponent (perhaps one exponent
per primary) is the only thing that a UI needs to provide.

Probably the most you want to do is introduce a slope to the curve of datapoints. Your single exponent, factored over some formulae.


Fortunately for all, I don't write video drivers...

--
____               .:.                 ____
Bryan W. Headley - [EMAIL PROTECTED]

_______________________________________________
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel

Reply via email to