POV-Ray : Newsgroups : povray.general : Lightsys IV question Server Time
28 Nov 2024 12:56:18 EST (-0500)
  Lightsys IV question (Message 1 to 7 of 7)  
From: Thomas de Groot
Subject: Lightsys IV question
Date: 21 Jan 2007 03:37:38
Message: <45b32652$1@news.povray.org>
This is a question for Jaime! But anyone who has a smart answer.... :-)

I am using Lightsys IV in one of my scenes to simulate outdoors sunlight. I 
remark that the shadows are cast by a point light sun. Is it possible to 
change that to an area light within Lightsys? I tried by adding the area 
light code and scaling that up, but I see no change.

Thanks a lot!!

Thomas


Post a reply to this message

From: Jaime Vives Piqueres
Subject: Re: Lightsys IV question
Date: 21 Jan 2007 06:54:30
Message: <45b35476$1@news.povray.org>
Thomas de Groot wrote:
> This is a question for Jaime! But anyone who has a smart answer.... :-)
> 
> I am using Lightsys IV in one of my scenes to simulate outdoors sunlight. I 
> remark that the shadows are cast by a point light sun. Is it possible to 
> change that to an area light within Lightsys? I tried by adding the area 
> light code and scaling that up, but I see no change.
> 

   In my town street scene, I used an area light for the sun, and also 
had trouble with it showing the effect... Finally I found that the area 
size has to be *really* big for the default DomeSize of skylight.inc

   I just did a quick test, adding this area light statement to the sun 
light on "demo_outdoor.pov":

   area_light 10000*x,10000*y,10,10 jitter adaptive 1 orient circular

   and it worked nicely (I tried first with 1000 units, but the area 
didn't show).

   Hope this helps...

--
Jaime


Post a reply to this message

From: Thomas de Groot
Subject: Re: Lightsys IV question
Date: 21 Jan 2007 09:45:58
Message: <45b37ca6@news.povray.org>
"Jaime Vives Piqueres" <jai### [at] ignoranciaorg> schreef in bericht 
news:45b35476$1@news.povray.org...
>
>   In my town street scene, I used an area light for the sun, and also had 
> trouble with it showing the effect... Finally I found that the area size 
> has to be *really* big for the default DomeSize of skylight.inc
>
>   I just did a quick test, adding this area light statement to the sun 
> light on "demo_outdoor.pov":
>
>   area_light 10000*x,10000*y,10,10 jitter adaptive 1 orient circular
>
>   and it worked nicely (I tried first with 1000 units, but the area didn't 
> show).
>
>   Hope this helps...
>

Thank you Jaime!!
I had only tried with a scale of 100... so no surprise I didn't see anything 
:-)

Thomas


Post a reply to this message

From: Jim Charter
Subject: Re: Lightsys IV question
Date: 21 Jan 2007 15:38:40
Message: <45b3cf50$1@news.povray.org>
Jaime Vives Piqueres wrote:
> Thomas de Groot wrote:

Yes I have always found 10% of the distance to be about right.


Post a reply to this message

From: Thomas de Groot
Subject: Re: Lightsys IV question
Date: 22 Jan 2007 03:03:37
Message: <45b46fd9@news.povray.org>
"Jim Charter" <jrc### [at] msncom> schreef in bericht 
news:45b3cf50$1@news.povray.org...
>
> Yes I have always found 10% of the distance to be about right.

Indeed. However, with Lightsys I have no idea what the distance to the "sun" 
is. It probably is hidden somewhere but I have not succeded in finding it.

Thomas


Post a reply to this message

From: Jaime Vives Piqueres
Subject: Re: Lightsys IV question
Date: 22 Jan 2007 03:46:25
Message: <45b479e1$1@news.povray.org>
Thomas de Groot wrote:
> "Jim Charter" <jrc### [at] msncom> schreef in bericht 
> news:45b3cf50$1@news.povray.org...
>> Yes I have always found 10% of the distance to be about right.
> 
> Indeed. However, with Lightsys I have no idea what the distance to the "sun" 
> is. It probably is hidden somewhere but I have not succeded in finding it.
> 

   It is on CIE_Skylight.inc (the CIE version of skylight.inc by 
Philippe Debar): SolarPosition is based on DomeSize, which is 100000 by 
default (you can override it by setting DomeSize before calling the 
include).

--
Jaime


Post a reply to this message

From: Thomas de Groot
Subject: Re: Lightsys IV question
Date: 22 Jan 2007 08:52:12
Message: <45b4c18c@news.povray.org>
"Jaime Vives Piqueres" <jai### [at] ignoranciaorg> schreef in bericht 
news:45b479e1$1@news.povray.org...
>
>   It is on CIE_Skylight.inc (the CIE version of skylight.inc by Philippe 
> Debar): SolarPosition is based on DomeSize, which is 100000 by default 
> (you can override it by setting DomeSize before calling the include).
>

I overlooked that! Thought I had browsed carefully through everything!
Thanks again Jaime!!

Thomas


Post a reply to this message

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