POV-Ray : Newsgroups : povray.binaries.images : Assumed_gamma, too bright and washed out : Re: Assumed_gamma, too bright and washed out Server Time
31 Jul 2024 20:25:18 EDT (-0400)
  Re: Assumed_gamma, too bright and washed out  
From: Alain
Date: 8 Sep 2009 11:58:23
Message: <4aa67f1f$1@news.povray.org>
SharkD a écrit :
> Alain wrote:
>> This forces both medias to use the same number of samples.
>> Also, the sampling for the clouds probably continue into the haze media.
>>
>> To use only one container, you'll need to add another density pattern.
>>
>> One media with a single density for the haze.
>> One media with two densities for the clouds. The new pttern can be 
>> "planar" with a map similar to: (added in the cloud's media block)
>> density{planar {color_map{ [0 rgb 0][0.02 rgb 1] }}}
>> To have the clouds go sharply from invisible to full density.
>>
>> Two media in a container add.
>> A media with two densities multiply the densities.
>>
>>
>> Alain
> 
> Actually I am using concentric spheres. The media attached to the 
> smaller sphere uses an onion pattern, so I'll need to figure out how to 
> limit it to just the assigned area instead of repeating.
> 
> -Mike
In that case, you can use the spherical pattern, scaled and with a 
color_map set to only have a shell.
something like:

density{spherical scale 1000 color_map{[0 rgb 0][0.0000001 rgb 1][0.001 
rgb 1][0.0010001 rgb 0]}}


Alain


Post a reply to this message

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