POV-Ray : Newsgroups : povray.newusers : Media density : Re: Media density Server Time
28 Apr 2024 18:06:52 EDT (-0400)
  Re: Media density  
From: clipka
Date: 25 Jul 2016 11:19:50
Message: <57962e16$1@news.povray.org>
Am 25.07.2016 um 11:35 schrieb Stephen:
> On 7/25/2016 9:56 AM, clipka wrote:
>> Am 25.07.2016 um 10:32 schrieb Stephen:
>>> 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?
>>
>> It is neither a grey value, nor a plain average.
>>
> 
> And it is?
> ....

Just the plain colour.

>> I suspect your misconceptions may have their roots somewhere in the fact
>> that there are two knobs available to introduce colour to media: The
>> `emission`, `scattering` or `absorption` statement, respectively, and
>> the `density` statement.
>>
> 
> I'm thinking of the value that the `density` statement passes to the
> media statement. Which it gets from the df3 file.

Uh... no, `density` does /not/ get its value from "the df3 file". It
gets its value (which is actually a colour) from a `density_map` and
pattern.

That pattern /can/ be a df3 file, using the `density_file` pattern, but
it is just one of many options.


Post a reply to this message

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