POV-Ray : Newsgroups : povray.advanced-users : Transparent plane with non-transparent shadows? : Re: Transparent plane with non-transparent shadows? Server Time
29 Jul 2024 22:29:24 EDT (-0400)
  Re: Transparent plane with non-transparent shadows?  
From: Anders K 
Date: 21 Dec 2001 21:03:33
Message: <3c23e9f5$1@news.povray.org>
Fascinating. This code gives me a transparent plane with an opaque *white*
shadow. I can even make it red, green, blue. Unfortunately, I can't figure
out how to make it black!

// +ft +ua
global_settings { assumed_gamma 1.0 }
camera { location -4*z look_at 0 }
light_source { <-2, 2, -5> color rgb 1 area_light x, y, 4, 4 }
sphere { -z, 1 pigment { red 1 } }
plane {
  z, 0
  texture { pigment { rgb 1 transmit .999 } finish { ambient 0 diffuse 1000
brilliance 0 } }
  texture { pigment { rgb .5 transmit -1 } finish { ambient 1 diffuse 0 } }
}

Anders


Post a reply to this message

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