|
|
SharkD a écrit :
> Alain wrote:
>> Are they overlaping or sharing the same container?
>>
>> I'd try with containers that are distinct, with some gap between them.
>> That way, you compute one media, them, somewhat further, you compute
>> the other one. The haze could easily use a low samples value, like
>> samples 3, while the clouds will use a larger samples value, like
>> samples 30.
>
> They each use their own container. The smaller container is inside the
> larger. If it makes the scene render faster, I would like to change them
> so they use the same container. Not sure how to go about doing this
> though. I also don't want to make them use distinct volumes. Their media
> should "add".
>
> -Mike
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
Post a reply to this message
|
|