|
![](/i/fill.gif) |
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
|
![](/i/fill.gif) |