POV-Ray : Newsgroups : povray.newusers : Lighting a room : Re: Lighting a room Server Time
28 Jul 2024 16:20:32 EDT (-0400)
  Re: Lighting a room  
From: Alain
Date: 10 Jul 2008 17:42:57
Message: <48768261$1@news.povray.org>
bardgaijin nous illumina en ce 2008-07-09 09:00 -->
> Hello. I'm looking for a bit of advice or a tutorial on lighting a room.
> The problem I seem to be having is getting the ceiling to be properly
> illuminated. I have the camera situated at "eye level" and looking straight
> ahead.
> Depending on where I put the lights the floor & walls show up fine, but the
> ceiling is black and/or very dark. Reasonably sure that light just isn't
> hitting it...
> 
> I've tried placing a standard (point) light_source at ceiling height, and I've
> tried placing a light source "behind" the camera.
> 
> Any hints or any simple little examples floating around somewhere? Something
> basic with just a floor, ceiling, and some walls would be greatly appreciated.
> 
> Ideally, I'm looking to place a couple recessed panel lights, but one step at a
> time for a newbie, right?
> 
> Thanks for your help.
> -Alex
> 
> 
> 
> 
> 
If your light is very close to the ceiling, you'll only have a very small area 
visibly lighted. The rest does receive light, but at a very shalow angle. When 
the incidance angle of your light is shalow, the light is spread ofer a larger 
surface, maling it look that much weaker.

If your light is at the same level as the ceiling, and there is no cavity at the 
light's location, you may get splotchy lighting. Example:
plane{y, 10 texture{Some_Texture}} // A ceiling
light_source{<10,10,-5 rgb 1} // A light coincident with the ceiling.
Also, this light won't light the ceiling as it's rays are parallel with the 
surface to be illuminated.

If your light is encased into the ceiling, the ceiling won't receive any.

Things you can try:
Put another light, relatively dim, above the room and add "double_illuminate" to 
the ceiling. It will fake the light bouncing back up to the ceiling... to a point.
Try lowering your light. That way, the light will hit the ceiling at a less 
shalow angle.

Keep your scene almost unchanged but with the following:

#default{finish{ambient 0 diffuse 0.8}}
//This will remove the default ambient from the finishes, and increase the 
diffuse value to compansate.
global_settings{radiosity{}}
//This turn on the radiosity feature usine all default settings.

To get an even more realistic lighting, you should use light fading.
Use fade_power 2 and fade_distance Some_Value. You may need to increase the 
intensity of your light(s), maybe even by a factor of 100 or more if you chose a 
short fade_distance.
fade_power 2 use the inverse square that you find in real life.

-- 
Alain
-------------------------------------------------
Congregationalist: Shit that happens to one person is just as good as shit that 
happens to another.


Post a reply to this message

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