POV-Ray : Newsgroups : povray.newusers : How come w/o any light sources I can still see stuff? Server Time
1 Nov 2024 18:17:19 EDT (-0400)
  How come w/o any light sources I can still see stuff? (Message 1 to 3 of 3)  
From: Pahidla
Subject: How come w/o any light sources I can still see stuff?
Date: 23 Sep 2007 05:00:00
Message: <web.46f62ad0e78de21b3ccd3f470@news.povray.org>
I guess my subject contains my question!

Pahidla


Post a reply to this message

From: Warp
Subject: Re: How come w/o any light sources I can still see stuff?
Date: 23 Sep 2007 05:03:11
Message: <46f62bcf@news.povray.org>
Pahidla <dol### [at] yahoocom> wrote:
> I guess my subject contains my question!

  Because of the ambient light setting in global_settings.

  Also some other things are not affected by light sources, such as the
sky sphere and emitting media.

-- 
                                                          - Warp


Post a reply to this message

From: Alain
Subject: Re: How come w/o any light sources I can still see stuff?
Date: 23 Sep 2007 11:04:24
Message: <46f68078@news.povray.org>
Pahidla nous apporta ses lumieres en ce 2007/09/23 04:58:
> I guess my subject contains my question!
> 
> Pahidla
> 
> 
There is a default texture. It's deffined as follow:

texture{pigment{rgb 0}finish{diffuse 0.7 ambient 0.1}}

What you see when there is no light is the effect of the ambient part of that 
default texture.
If you also used built-in textures and finishes from the various INC files, 
there are some textures that have prety high ambient values.

You can change that default as follow:

#default{finish{ambient Some_Ambient diffuse Some_Diffuse}}

You can affect all ambient lighting in the global_settings block:

global_settings{ambient_lights rgb<1, 0.8, 0.6>}

The above will give a redish tint to EVERY objects that have any ambient value 
in ther finish, even if only the default one.

-- 
Alain
-------------------------------------------------
You know you've been raytracing too long when you look at real clouds and 
criticise their media and radiosity settings.
Tom Melly


Post a reply to this message

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