POV-Ray : Newsgroups : povray.general : realistic sunlight Server Time
5 Nov 2024 16:41:15 EST (-0500)
  realistic sunlight (Message 1 to 5 of 5)  
From: Gert  Van den Eynde
Subject: realistic sunlight
Date: 10 Jan 2005 05:40:15
Message: <41e25b8f@news.povray.org>
Hi all,

Sorry for asking a question that maybe has come up already. I'm trying to
model the first drafts of our house and I was wondering how I could best
model the light coming from our sun (at different times during the day and
year)? Do I put a light-emitting sphere far away? What color? What
radiosity settings would I best use? I would like to see (in a relative
way) how light/dark some corridors and rooms are compared to other rooms or
outside. 

All tips are more than welcome!

gert


Post a reply to this message

From: stm31415
Subject: Re: realistic sunlight
Date: 10 Jan 2005 10:25:00
Message: <web.41e29c1dc97c844c1edcab320@news.povray.org>
Gert  Van den Eynde <gvd### [at] hotmailcom> wrote:
> Hi all,
>
> Sorry for asking a question that maybe has come up already. I'm trying to
> model the first drafts of our house and I was wondering how I could best
> model the light coming from our sun (at different times during the day and
> year)? Do I put a light-emitting sphere far away? What color? What
> radiosity settings would I best use? I would like to see (in a relative
> way) how light/dark some corridors and rooms are compared to other rooms or
> outside.
>
> All tips are more than welcome!
>
> gert

This is a real pain. I *still* can't quite get things properly lit from
windows without burning things out a bit. That said, here's what I suggest:

Use sunpos.inc (came with povray) to get the sol's position, given a time
(along with lat and lon, etc)

Use Jaime Vivres' lightsys (http://ignorancia.org/lightsys.php) to get the
color of the sun, as filtered by the atmosphere. Then use the associated
skylight include (comes with lightsys) to make a sky that looks right for
the sun's position.

Now use radiosity, as if you were using HDR, so something like:

radiosity {
      pretrace_start 0.08
      pretrace_end   0.04
      count 200
      nearest_count 10
      error_bound 0.15
      recursion_limit 2
      low_error_factor 0.5
      gray_threshold 0
      minimum_reuse 0.015
      brightness 1.0
      adc_bailout 0.01/2
}

Leave the sun pretty dark, and make the sky pretty hazy, and you get fairly
good results. I'll post a couple of example images (of a model of a room of
my house, so I know they're not too far from reality).

Good luck!

-S


Post a reply to this message

From: stm31415
Subject: Re: realistic sunlight
Date: 10 Jan 2005 11:20:00
Message: <web.41e2a9d7c97c844c1edcab320@news.povray.org>
I posted a couple of examples in p.b.i., and I realized I forgot to mention
that you probably want to use the white paint texture that comes with
lightsys-- otherwise things turn odd colors.

-s
5TF!


Post a reply to this message

From: Gert  Van den Eynde
Subject: Re: realistic sunlight
Date: 13 Jan 2005 03:44:13
Message: <41e634dd@news.povray.org>
stm31415 wrote:

> I posted a couple of examples in p.b.i., and I realized I forgot to
> mention that you probably want to use the white paint texture that comes
> with lightsys-- otherwise things turn odd colors.
> 
> -s
> 5TF!

Thanks. I did the geometrical model last night. I'm going to play around
with Lightsys the next days...

all the best,
gert


Post a reply to this message

From: Maurice
Subject: Re: realistic sunlight
Date: 14 Jan 2005 14:43:47
Message: <41e820f3$1@news.povray.org>
Gert Van den Eynde wrote:
> Hi all,
> 
> Sorry for asking a question that maybe has come up already. I'm trying to
> model the first drafts of our house and I was wondering how I could best
> model the light coming from our sun (at different times during the day and
> year)? Do I put a light-emitting sphere far away? What color? What
> radiosity settings would I best use? I would like to see (in a relative
> way) how light/dark some corridors and rooms are compared to other rooms or
> outside. 
> 
> All tips are more than welcome!
> 
> gert
Het moet niet veel gekker worden.

I've been thinking of doing a similar thing too the last couple of days. 
I have an existing house that I want to model in order to be able to see 
the result of some of the modifications that we are planning.

-- 
Maurice


Post a reply to this message

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