|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
|
|