POV-Ray : Newsgroups : povray.general : Bounding problem : Bounding problem Server Time
11 Aug 2024 09:21:01 EDT (-0400)
  Bounding problem  
From: Margus Ramst
Date: 1 Aug 1999 15:51:19
Message: <37A4A528.6B4A54C7@peak.edu.ee>
Here's a piece of code that contradicts my perception of how bounding works. In
the initial form, all goes as expected. But uncomment the sphere and the box no
longer casts a shadow. Scale the sphere larger and the box casts a shadow, but
only where the sphere surface extends beyond the box surface.
Can anybody explain why this happens?

camera{location <-2,3,-5> look_at 0}
light_source{0 color 1}
light_source{<-10,15,-20> color .2}

plane{y,-1 pigment{rgb .7}}
box{-1,1 bounded_by{sphere{0,.01}}}
//sphere{0,1 pigment{rgb x} no_shadow}


Post a reply to this message

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