POV-Ray : Newsgroups : povray.newusers : Where is the reflected light? : Re: Where is the reflected light? Server Time
15 May 2024 11:54:54 EDT (-0400)
  Re: Where is the reflected light?  
From: Doctor John
Date: 27 Nov 2013 06:54:47
Message: <5295dd87$1@news.povray.org>
On 27/11/13 10:54, John Greenwood wrote:
> I have just started using POV-ray but I seem to have struck a problem in my
> first proper model. In the file below there is an oval mirror at 45 deg which
> ought to be reflecting a circular patch of light onto the plane in which there
> should a shadow of the sphere.
> 
> This is not present although you can see reflected light source re-reflected in
> the mirrored sphere.
> 
>       #include "colors.inc"
>   #include "textures.inc"
>   camera {
>     location  <-4, 3, -9>
>     look_at   <0, 2, 0>
>     angle 48
>   }
>   plane {
>     y, -1
>     texture {
>       pigment {
>         checker
>         color rgb<0.5, 0, 0>
>         color rgb<0, 0.5, 0.5>
>       }
>       finish {
>         diffuse 0.4
>         ambient 0.2
>         phong 1
>         phong_size 100
>         reflection 0.25
>       }
>     }
>   }
> cylinder { <0,0,0> ,<0,-.1,0>, 2
> finish {reflection {1.0} ambient 0 diffuse 0  }
> scale <1.42,1,1>
> rotate <0,0,-45>
> translate<0,3,0>}
> 
>   sphere {
>     <0,0,0>,1
>    finish {reflection {1.0} ambient 0 diffuse 0 }
>     translate <0, 0, 0>
>   }
>    light_source {
>     <-10, 1, 0>
>     color White
>   }
> 
> Otherwise I anticipte doing some fantastic things with POV-Ray.
> 
> 
> 
> 

Just one word, photons.

You need to turn them on, they're off by default.

See
http://wiki.povray.org/content/Documentation:Tutorial_Section_3.7#Media_and_photons
for a tutorial. It will also help you deal with media.

BTW Welcome to the Povray community

John
-- 
Protect the Earth
It was not given to you by your parents
You hold it in trust for your children


Post a reply to this message

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