POV-Ray : Newsgroups : povray.newusers : Media density : Re: Media density Server Time
29 Apr 2024 01:18:36 EDT (-0400)
  Re: Media density  
From: Stephen
Date: 25 Jul 2016 08:20:31
Message: <5796040f$1@news.povray.org>
On 7/25/2016 11:58 AM, Thomas de Groot wrote:
>>> 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 :-(

But it says:

The pattern function returns a value from 0.0 to 1.0 and the value is 
passed to the color map to compute what color or blend of colors is used.

When I said "averaged" I meant it in the non technical sense.
So that is what I was thinking about. That value is not a vector.

When I made colour df3's I made them using R, G & Blue filters. Then 
combined them in three media statements. It was clean and simple.

-- 

Regards
     Stephen


Post a reply to this message

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