POV-Ray : Newsgroups : povray.general : hollow and fog makes box visible : Re: hollow and fog makes box visible Server Time
2 Aug 2024 08:12:53 EDT (-0400)
  Re: hollow and fog makes box visible  
From: Slime
Date: 5 Dec 2004 14:10:31
Message: <41b35d27@news.povray.org>
color rgbf <0.9,0.9,1,1>

Transparent/filtered fog and transparent objects don't mix.

A ray that hits a solid object behind the box will take a portion of the
fog's color and filter it. A ray that hits the box, hits it again as it
leaves the box, and then hits the object behind the box will take on a
smaller portion of the fog's color and filter it three times. Without the
filtering, the color would add up perfectly to make it look like the ray had
hit the object behind the box in one pass, but with the filtering, the color
doesn't add up right.

It's kind of like, if you had the fog color rgbt <0,0,0,.5>, a ray that
didn't hit a transparent object would be fogged by 50%. But a ray that did
hit a transparent object would be fogged by 50%, and then whatever's
*behind* the object would be fogged by 50% *again*, for a total of only 25%
transparency.

 - Slime
 [ http://www.slimeland.com/ ]


Post a reply to this message

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