POV-Ray : Newsgroups : povray.newusers : shadows/sunlight : Re: shadows/sunlight Server Time
28 Nov 2021 10:20:07 EST (-0500)
  Re: shadows/sunlight  
From: Tor Olav Kristensen
Date: 5 Dec 2020 12:45:01
Message: <web.5fcbc65960c1d92ecf840be00@news.povray.org>
"Julia" <nomail@nomail> wrote:
> Hi,
> there is another problem that i have been trying to figure out for the past
> week, but i'm just starting to give up.
> The problem is that there arent any shadows. Not only on the other side of the
> sphere but also when its in front of another nothing happens.
> Also when i dont put "ambiet" the spheres just get dark on both sides, still no
> shadow.
> here is the code:
>...
> light_source {
>         <0,0,0>
>...
>                }
>...
>  sphere {
>      <0,0,0>, 10
>    pigment {
>         bozo
>                 turbulence 5
>          color_map {
>         [0.0 color <1,0,0>]
>         [0.25 color <1,1,0>]
>         [1.0 color <1,0.65,0>]
>         }
>      scale 3
>    }
>...
> }
>...

You have hidden your light source inside at least one opaque sphere.
So I think that your problem is not a lack of shadows...

--
Tor Olav
http://subcube.com
https://github.com/t-o-k


Post a reply to this message

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