POV-Ray : Newsgroups : povray.general : Bounding problem Server Time
11 Aug 2024 11:16:50 EDT (-0400)
  Bounding problem (Message 1 to 3 of 3)  
From: Margus Ramst
Subject: Bounding problem
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

From: Nieminen Mika
Subject: Re: Bounding problem
Date: 2 Aug 1999 03:00:26
Message: <37a5420a@news.povray.org>
Margus Ramst <mar### [at] peakeduee> wrote:
: 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.

  I can't reproduce this effect. I can't see any difference in the lighting
no matter if the last line is commented or not (the only difference is
that there's one shadowless sphere more if I uncomment the last line, as
expected).

-- 
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

From: Margus Ramst
Subject: Re: Bounding problem (superpatch)
Date: 2 Aug 1999 10:12:19
Message: <37A5A747.16DF741@peak.edu.ee>
Sorry. Should've been more attentive. It happens in the Superpatch, but not in
official 3.1g
Ron?

Margus

Nieminen Mika wrote:
> 
> Margus Ramst <mar### [at] peakeduee> wrote:
> : 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.
> 
>   I can't reproduce this effect. I can't see any difference in the lighting
> no matter if the last line is commented or not (the only difference is
> that there's one shadowless sphere more if I uncomment the last line, as
> expected).
> 
> --
> main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
> ):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

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