POV-Ray : Newsgroups : povray.general : Can't get a good outdoor lighting! Server Time
28 Dec 2024 20:09:17 EST (-0500)
  Can't get a good outdoor lighting! (Message 1 to 4 of 4)  
From: zlacelle
Subject: Can't get a good outdoor lighting!
Date: 6 Feb 2012 16:15:00
Message: <web.4f3042ab99418d39b20ba7100@news.povray.org>
I've been messing around with lighting, fog, etc for a large outdoor scene, but
I can't seem to make good sunlight!

What I've done now is created about 5 or 6 point light sources with slightly
different colors, and I get an OK-lighted scene.  But, the lighting just doesn't
look at all like a realistic outdoor environment.

When I switch to a single light source, even when it's a parallel light source,
the scene is VERY dark.  I have a sky sphere which is emitting ambient and
diffuse lighting, and if I didn't have this then the scene would be almost
black.

Anybody have any good experience with outdoor lighting?  Any suggestions?


Post a reply to this message

From: Christian Froeschlin
Subject: Re: Can't get a good outdoor lighting!
Date: 6 Feb 2012 17:03:17
Message: <4f304e25@news.povray.org>
zlacelle wrote:

> When I switch to a single light source, even when it's a parallel light source,
> the scene is VERY dark.  I have a sky sphere which is emitting ambient and
> diffuse lighting, and if I didn't have this then the scene would be almost
> black.

Ideally the sun should be an area_light such that its apparent
diameter is about 0.5 degrees. Note that the color does not max
out at 1 you can make it as bright as you want.

Adding some radiosity may also improve the lighting.


Post a reply to this message

From: Thomas de Groot
Subject: Re: Can't get a good outdoor lighting!
Date: 7 Feb 2012 02:59:54
Message: <4f30d9fa$1@news.povray.org>
On 6-2-2012 22:14, zlacelle wrote:
> I've been messing around with lighting, fog, etc for a large outdoor scene, but
> I can't seem to make good sunlight!
>
With a bit of code it would be easier to see what is missing in your scene.

I generally use this:

//start code
#include "CIE.inc"
#declare SunColor   = Blackbody(6500)*3;
#declare SunAlt     = 60;
#declare SunAzm     = -120;
#declare SunPosition  = <0, 0, -1>*10e6;
#declare SunDis     = vlength(SunPosition)*2/215;

#declare sun =
light_source {
   SunPosition
   color SunColor
   rotate x*SunAlt
   rotate y*SunAzm*clock
   parallel
/*
   area_light
   SunDis*x, SunDis*z, // lights spread out across this distance (x * z) 
        softens shadows, i dont recomend it
   5, 5                // total number of lights in grid (4x*4z = 16 lights)
   adaptive 1          // 0,1,2,3...
   jitter              // adds random softening of light
   circular            // make the shape of the light circular
   orient              // orient light
*/
}

object {sun}
//end code

note that CIE.inc comes with LightSysIV: 
http://www.ignorancia.org/en/index.php?page=Lightsys If you do not want 
to use that, just use your own sun color, e.g. rgb <1,1,1>*2
The SunDistance is a little formula given to us by Cousin Ricky.

Thomas


Post a reply to this message

From: Thomas de Groot
Subject: Re: Can't get a good outdoor lighting!
Date: 7 Feb 2012 03:03:34
Message: <4f30dad6$1@news.povray.org>
On 7-2-2012 8:59, Thomas de Groot wrote:

> softens shadows, i dont recomend it

Forget this comment that I forgot to delete. Is not mine and has nothing 
to do with this ;-)

Thomas


Post a reply to this message

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