POV-Ray : Newsgroups : povray.binaries.images : media-fog bug? : Re: media-fog bug? Server Time
7 Aug 2024 13:21:46 EDT (-0400)
  Re: media-fog bug?  
From: Tek
Date: 18 Feb 2006 16:28:52
Message: <43f79194@news.povray.org>
And this time, with a picture (doh!)
You shouldn't be able to see those checks, and increasing the media density 
doesn't make them darker.

-- 
Tek
http://evilsuperbrain.com

"Tek" <tek### [at] evilsuperbraincom> wrote in message 
news:43f78692@news.povray.org...
>I just did a quick google through the newsgroups but couldn't find an 
>answer
> to this. Here's a really simple scene, with fog turned off the cylinder
> appears solid black, because it's a black & transparent checker containing 
> a
> dense black media. But with fog turned on the media parts become lighter
> *regardless of how dense the media is*.
>
> fog {
> fog_type 1
> rgb x
> distance 3
> }
>
> background { rgb z }
>
> cylinder {
> -y, y, .3
> translate z*2
> hollow on
> pigment {
>  checker
>  rgb 0,
>  rgbt 1
>  scale <.3,.3,100>
> }
> interior {
>  media { //media so dense that without fog it looks identical to the 
> opaque
> bits.
>   absorption 1
>   density { rgb 100 }
>  }
> }
> }
>
> Try increasing the media density, you'll see it doesn't get any darker.
>
> Is this a known bug with media & fog? Is there any solution? It's screwing
> up the smoke in my volcano image :(
>
> -- 
> Tek
> http://evilsuperbrain.com
>
>


Post a reply to this message


Attachments:
Download 'fog-media-bug-test.jpg' (11 KB)

Preview of image 'fog-media-bug-test.jpg'
fog-media-bug-test.jpg


 

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