POV-Ray : Newsgroups : povray.advanced-users : Controlling density : Re: Controlling density Server Time
31 Oct 2024 19:08:25 EDT (-0400)
  Re: Controlling density  
From: posfan12
Date: 13 Oct 2013 06:30:01
Message: <web.525a7615e6c9a291b9c369c00@news.povray.org>
"MichaelJF" <mi-### [at] t-onlinede> wrote:
> Hi Mike,
>
> you can use color_maps or density_maps within the media. Something like this:
>
>  media{
>     emission 0.75
>     scattering {1, 0.5}
>     density { spherical
>       density_map {
>         [0.0 rgb 0]
>         [2/3 rgb 1]
>         [1.0 rgb 1]
>       }
>     }
>   }
>
> Best regards,
> Michael

Are you sure? I thought color maps are just for changing the color of the media
at different densities, and density maps are for using multiple pre-defined
densities.


Mike


Post a reply to this message

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