POV-Ray : Newsgroups : povray.binaries.images : Steam Fog: First WIP : Re: Steam Fog: First WIP Server Time
2 May 2024 07:21:43 EDT (-0400)
  Re: Steam Fog: First WIP  
From: Thomas de Groot
Date: 27 Feb 2019 03:10:11
Message: <5c7645e3@news.povray.org>
On 26-2-2019 19:48, MichaelJF wrote:

> Hm,
> the problem seems to be within the second media statement (the first 
> produces some ground noise only). The container boundary is at level y=1 
> (y is up here). The transition between DensBoden3 and DensLuft(=nothing) 
> is between 0.5 and 0.6 scaled to 1 and 1.2 but then translated to 0.5 
> and 0.7 which is beneath the container boundary for sure.
> 

Ok. I think I got it. The solution seems to be really simple. In both 
media's density maps change:

         density_map {
           [ 0 DensBoden1 ]
           [ 0.45 DensBoden1 ]  //original: 0.5
           [ 0.55 DensLuft ]    //original: 0.6
           [ 1 DensLuft ]
         }

         density_map {
           [ 0 DensBoden3 ]
           [ 0.45 DensBoden3 ]  //original: 0.5
           [ 0.55 DensLuft ]    //original: 0.6
           [ 1 DensLuft ]
         }

That is all. If you want to increase the diffuseness, you can always 
increase the distance between the two values, e.g. 0.35 --> 0.55. But I 
would advise not to go higher than approximately 0.55.

-- 
Thomas


Post a reply to this message

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