POV-Ray : Newsgroups : povray.newusers : Media density : Re: Media density Server Time
2 May 2024 17:52:49 EDT (-0400)
  Re: Media density  
From: Alain
Date: 25 Jul 2016 16:01:41
Message: <57967025$1@news.povray.org>

> Stephen <mca### [at] aolcom> wrote:
>> I'm thinking of the value that the `density` statement passes to the
>> media statement. Which it gets from the df3 file
>
> Is it possible your thinking of the hf_gray_16 output file, of which the docs
> say:
>
> height = 0.3 * red + 0.59 * green + 0.11 * blue
>
> I took a look at the documentation regarding df3 and didn't see anything
> relating to this same formula, except I'm going to guess it might be used when a
> df3 is put into a normal {} statement.
>
> I sure can't say what's what about this, just thought I would mention what it
> made me think of and that was the height field formula above.
>
>
>
A DF3 file is intrinsicaly gray level based. It's linearly encoded on 8, 
16 or 24 bits.

If you want to have colours, you need one or both of:
A non-gray emission, absorbtion or scattering value.
A non-gray colour map associated with the density.


Post a reply to this message

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