POV-Ray : Newsgroups : povray.newusers : How come w/o any light sources I can still see stuff? : Re: How come w/o any light sources I can still see stuff? Server Time
28 Jul 2024 20:20:02 EDT (-0400)
  Re: How come w/o any light sources I can still see stuff?  
From: Alain
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.