POV-Ray : Newsgroups : povray.general : question about light_source : Re: question about light_source Server Time
6 Oct 2024 11:15:13 EDT (-0400)
  Re: question about light_source  
From: scott
Date: 20 Mar 2014 05:00:54
Message: <532aae46@news.povray.org>
> I have modified my code:
> " #local FACTOR = 10.0;
>> light_source {<sun_x,sun_y,sun_z>
>>               color rgb <1.00229e-005,3.46021e-006,-5.65828e-007>*FACTOR }"
> I find the result is the same as "light_source {<sun_x,sun_y,sun_z>
>>               color rgb <1.00229e-005,3.46021e-006,-5.65828e-007>",nor I mutiply 10
or 100,the result is not change.I
> am so confuse!

You will probably need to make FACTOR very large to see a difference, 
like 1000000 as your rgb components are very small.

Also POV adds ambient light by default to every shape, which is I think 
what you are seeing in the output. You can turn it off by adding this 
line at the top of your code:

#default{ finish{ ambient 0 }}


Post a reply to this message

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