POV-Ray : Newsgroups : povray.binaries.images : Bug in fog behind transparent triangles? : Bug in fog behind transparent triangles? Server Time
2 Nov 2024 08:21:13 EDT (-0400)
  Bug in fog behind transparent triangles?  
From: Cousin Ricky
Date: 13 Mar 2011 14:30:01
Message: <web.4d7d0ba59cfb0293167f1e0c0@news.povray.org>
Fog does not appear to work behind transparent triangles.  In the attached
image, the triangle has a transparent stripe across the middle.  The green
background{} shows through the gray fog.

The problem occurs in both 3.6.2 and 3.7 RC3.  I am using Windows XP.
________________________________________

global_settings { assumed_gamma 1 }

triangle
{  <-1, -1, 0>, <1, -1, 0>, <0, 1, 0>
   pigment
   {  gradient y color_map
      {  [0.5 rgb x]
         [0.5 rgbt 1]
      }
      scale 2 translate y/2
   }
   translate 3 * z
}

light_source { <1, 1, -2> * 1000 rgb 1 }

background { rgb y }

fog
{  distance 1000
   color rgb 0.5
}


Post a reply to this message


Attachments:
Download 'invisible2.png' (3 KB)

Preview of image 'invisible2.png'
invisible2.png


 

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