POV-Ray : Newsgroups : povray.newusers : Media density : Re: Media density Server Time
2 May 2024 15:13:19 EDT (-0400)
  Re: Media density  
From: Alain
Date: 25 Jul 2016 16:08:53
Message: <579671d5@news.povray.org>
Le 16-07-25 à 06:58, Thomas de Groot a écrit :
> On 25-7-2016 10:32, Stephen wrote:
>> On 7/25/2016 8:21 AM, Thomas de Groot wrote:
>>> On 25-7-2016 8:57, Thomas de Groot wrote:
>>>> On 24-7-2016 18:09, clipka wrote:
>>>>> Am 24.07.2016 um 12:50 schrieb Thomas de Groot:
>>>>>
>>>>>> Also be aware that in a density pattern colours are
>>>>>> interpreted as grey tints.
>>>>>
>>>>> Actually, no, they're not. They do modify the media's effective
>>>>> colour.
>>>>>
>>>>
>>>> Yes, but are the 'colours' used /inside/ the density statements not
>>>> read
>>>> as grey tints? That is what I have understood (which doesn't mean
>>>> anything of course). ;-)
>>>>
>>>
>>> I looked that up and was put back right on my feet again. I must have an
>>> alternate universe documentation file in my head... :-)
>>>
>>
>> That's what I thought. That it averaged the colour values.
>> Where about in the documentation. Do you have a reference?
>>
>
> In the media section [3.4.8.4.2 Density with color_map]. In the wiki
> that probably is at a different paragraph number.
>
> Like you, was under the impression that colour values were averaged and
> I don't remember where I got that notion from :-(
>

You may get average-like or looking results when the path through the 
media cross areas that have different coloration.
In emissive media, you get an additive result, and absorbing media is 
subtractive.
With scattering medias, you get a mix of the two.
This is in turn combined with whatever background you may have.


Alain


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.