POV-Ray : Newsgroups : povray.general : #declare AmbientLight seems to have no effect in 3.7 : Re: #declare AmbientLight seems to have no effect in 3.7 Server Time
5 Jul 2024 10:56:39 EDT (-0400)
  Re: #declare AmbientLight seems to have no effect in 3.7  
From: omniverse
Date: 4 Jan 2015 12:30:01
Message: <web.54a978746540c32cea86bc440@news.povray.org>
"jmichae3" <jmi### [at] yahoocom> wrote:
> I noticed in 3.7 the #declare AmbientLight seems to have no effect. I have used
> it and changed the values in wide ranges within the 0-1 value range, and it
> seemed to do nothing to brighten up any part of my image.

I'm going to guess you are talking about this, which after checking to be sure
does work okay for me:

global_settings
{
    ambient_light <1,1,1>
}

That's the default, and how to specify overall change to all ambient values in
texture finish statements whether or not 'ambient' keyword actually exists.
So this is essentially saying to multiply

finish {ambient 0.1}

by <1,1,1> (since rgb color is allowed). So using <1,0,0> will add a reddish
color to textures.

Won't work on ambient_light keyword as you wrote it. If this isn't the mistake
you have made I'm not sure how else you are trying to apply ambient light.

Also keep in mind that a radiosity {} used in global_settings will disable all
ambient settings. In such case keyword 'emission' will be required instead of
'ambient' in your finish statements.

Hope this was of help to you.


Post a reply to this message

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