POV-Ray : Newsgroups : povray.advanced-users : Transparent finite patch primitives & fog? : Transparent finite patch primitives & fog? Server Time
28 Jul 2024 16:29:26 EDT (-0400)
  Transparent finite patch primitives & fog?  
From: T'Crass
Date: 30 Nov 2004 08:05:01
Message: <web.41ac6f96fae3e9447d4f02b30@news.povray.org>
when rendering the following little scene...

--------8<--------

plane { y 0 pigment { color rgb <0, 1, 0> } }
disc { <0, 2, 0>, -z, 1 texture {pigment {color rgbt <1, 1, 1, 1> } } }
fog { fog_type 2 distance 5 fog_offset 0 fog_alt 1 color 0.5 }
light_source { <-10, 10, -10> color 1 }
camera { location <0, 1, -5> look_at <0, 1, 0> right
image_width/image_height*x }

--------8<--------

.....the *entirely transparent* disc stands out as "negative image" as though
there was no fog behind it -- which is not really what I expected. However,
this only happens with fog_type 2 (i.e. ground fog) -- when changing
fog_type to 1, the disc renders invisible as it should be (to my
understanding).

Does anybody have an explanation for this behaviour? (The same happens when
using a polygon instead of a disc.) Is it a bug, or is it
just me again not comprehending what all these povray settings *really*
mean...? ;-)

Thanks for any reply --

Torsten


Post a reply to this message

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