POV-Ray : Newsgroups : povray.bugreports : Coincident shadows : Coincident shadows Server Time
10 Nov 2024 14:42:37 EST (-0500)
  Coincident shadows  
From: Tim Attwood
Date: 24 Sep 2007 08:26:51
Message: <46f7ad0b$1@news.povray.org>
Coincident surfaces in partially transparent
unions are making light spots in shadows.
I verified that this is the case with 3.7 beta 22,
but I'm not sure how many betas back this
snuck in.
This was not the case in 3.6.

Here is a minimal test scene that looks right
in 3.6 but looks wrong in 3.7 beta 22.

#declare testmat = material { texture {
      pigment {color <1,0,0> transmit 0.5}
}};
camera { location  <1.0, 2.0, -4.0>
   direction 1.5*z
   right     x*image_width/image_height
   look_at   <1.0, -0.2,  0.0>
   angle 30 }
light_source {<-10, 10, -5> color rgb <1, 1, 1>}
plane {y,-1 pigment{rgb <1,1,1>}}
union {
   sphere {<0.0,0,0>,0.5 material{testmat}}
   sphere {<0.1,0,0>,0.5 material{testmat}}
   sphere {<0.2,0,0>,0.5 material{testmat}}
   sphere {<0.3,0,0>,0.5 material{testmat}}
   sphere {<0.4,0,0>,0.5 material{testmat}}
   sphere {<0.5,0,0>,0.5 material{testmat}}
}


Post a reply to this message

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