|
![](/i/fill.gif) |
In article <390B5DFD.FD77D229@stud.ntnu.no>, Sigmund Kyrre Aas
<as### [at] stud ntnu no> wrote:
> Yes, and by allowing the parameters to be vectors you can adjust the
> colour
> too. Just forgot something on the previous post: "Auto Levels" in
> Photoshop
> would be equal to levels{ 0,1 absolute}. The setting I'd prefer would be
> levels{1,1 relative}
>
> Don't mind asking, I'd really like to see this feature.
I guess I still don't get exactly what you mean...
I would have the syntax be like this:
levels {outMin, outMax, inMin, inMax}
where outMin and outMax specify the range of the result(destination)
colors, and inMin/inMax specify the range to take those values from. All
4 of these can be colors, but inMin and inMax are optional. If you don't
specify them, it will "autorange", and calculate inMin as min(inR, inG,
inB), and inMax as max(inR, inG, inB), and scale each color channel
equally.
--
Christopher James Huff - Personal e-mail: chr### [at] yahoo com
TAG(Technical Assistance Group) e-mail: chr### [at] tag povray org
Personal Web page: http://chrishuff.dhs.org/
TAG Web page: http://tag.povray.org/
Post a reply to this message
|
![](/i/fill.gif) |