POV-Ray : Newsgroups : povray.advanced-users : Transparent finite patch primitives & fog? : Re: Transparent finite patch primitives & fog? Server Time
28 Jul 2024 16:19:25 EDT (-0400)
  Re: Transparent finite patch primitives & fog?  
From: Slime
Date: 30 Nov 2004 10:32:56
Message: <41ac92a8$1@news.povray.org>
> I see... funny, adding the "hollow" keyword to the disc statement indeed
> does help a little (in which case the normal direction doesn't make a
> difference any more) -- yet the fog still looks inconsistent behind the
> disc.

That's because you're using transparent fog, and the transparency is
calculated for each ray (once before the disc, once after it). Use "color
rgb 0.5" instead of just "color 0.5", which is equivalent to "color rgbft
0.5" and probably not what you want. Then the disc looks correct.
(Unfortunately, transparent fog can't be used with transparent objects
without that effect.)

As for the shadow, I have no idea. Increasing the fog distance makes it fade
away, so it's related to the fog, but fog isn't supposed to cast a shadow.
Maybe the shadow ray is actually seeing the fog between the plane and the
disc and that's what's causing the shadow.

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


Post a reply to this message

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