|
|
Cousin Ricky <ric### [at] yahoocom> wrote:
> I just ran across these comments while looking for something else.
> Clipka's initial warning was:
> https://news.povray.org/58625d1f%241%40news.povray.org
>
> His correction to the initial warning:
> https://news.povray.org/5862ea88%241%40news.povray.org
>
> To summarize the two posts:
>
> ... you need to use
>
> #declare C = srgb <R,G,B>;
> colour C * Brightness
>
> rather than
>
> colour srgb <R,G,B>*Brightness
>
> because the latter would be interpreted as
>
> colour srgb (<R,G,B>*Brightness)
> [...]
This clears up an issue I had a few days ago: multiplying an srgb value at
declaration gave me much different results than when multiplying it within a
sky_sphere's color map. Very good to know, thanks!
Sam
Post a reply to this message
|
|