POV-Ray : Newsgroups : povray.newusers : Light without light source? : Re: Light without light source? Server Time
28 Jul 2024 16:23:10 EDT (-0400)
  Re: Light without light source?  
From: Alain
Date: 1 Aug 2008 14:36:49
Message: <489357c1$1@news.povray.org>
Sherry Shaw nous illumina en ce 2008-08-01 12:21 -->

> You can, of course, make the ambient light go away by changing the 
> default texture.  You can also shut off ambient light in global_settings 
> (my personal preference, as I don't care for falling back on the default 
> texture).  This can be useful for doing quick preliminary renders of a 
> scene that's going to be using radiosity or complex lighting 
> arrangements (which slow things down):  use an ambient value in your 
> finishes somewhere in the neighborhood of 0.3, and then add 
> ambient_light 0 to global_settings when you're ready to do radiosity 
> renders.  The actual ambient value will then be 0 x 0.3 = 0.
> 
> Hope this helps.
> 
> --Sherry Shaw
> 
A bad solution, as it preclude the use of high ambient object to illuminate your 
scene. ambient_lights is multiplied with the ambient component of your finishes. 
Set it to zero, and no object can shed light whatever ambient value you set. 
It's goal it to tint the ambient by using a non-white value.
I prefer to use this:

#declare Use_Rad = on;
#default{finish{#if(Use_Rad)diffuse 0.8 ambient 0#else diffuse 0.6 ambient 0.2#end}}

I also edit the various includes to remove some absurd and useless ambient values.

-- 
Alain
-------------------------------------------------
   A girl phoned me and said, "Come on over. There's nobody home." I Went over. 
Nobody was home!
	Rodney Dangerfield


Post a reply to this message

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