POV-Ray : Newsgroups : povray.general : Sunny outdoor lighting : Re: Sunny outdoor lighting Server Time
31 Jul 2024 04:19:46 EDT (-0400)
  Re: Sunny outdoor lighting  
From: Nicolas George
Date: 22 Oct 2007 07:07:42
Message: <471c847e$1@news.povray.org>
Warp  wrote in message <471c74f2@news.povray.org>:
>   Well, if there isn't anything else to reflect than the blue sky, then of
> course objects will get a blue tint.

I never noticed a blue tint in the sand of a beach, for example. At least,
not as much as I see on my scene.

Maybe the brain is compensating, but in that case, I would like advice on
how to emulate this compensation.

I wrote a minimal example to show the amount of difference I get. It is at
the end.

>					This is realistic. For example,
> consider this image (rendered with povray):
> 
> http://warp.povusers.org/sponza.jpg

This is really impressing. Before I noticed "rendered with povray", I
thought it was a photo illustrating the blue tint in nature-rendered images.

Is the source code available somewhere. I would really like to study it and
learn from it.

>   Observe how the upper parts of the walls have a blue tint because of the
> sky. I wouldn't call it unrealistic.

That is really realistic, but the blue tint you get is very faint, nothing
compared to what I am trying to get rid of.


Minimal example:

plane {
  y, 0
  pigment { rgb <0.804, 0.569, 0.494> }
  normal { bumps 0.5 }
}

camera {
  location <220, 50, 0> look_at <0, 0, 0>
}

sky_sphere {
  pigment {
    gradient y
    color_map {
      [ 0.0 rgb <0.9, 0.9, 1> ]
      [ 0.5 rgb <0.3, 0.3, 1> ]
    }
  }
}

light_source { <100000, 100000, -100000> rgb 3 }

global_settings {
  #if(1)
    ambient_light 3.4
  #else
    radiosity { }
  #end
}


Post a reply to this message

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