POV-Ray : Newsgroups : povray.binaries.images : area_light vs pointlight grid Server Time
18 Nov 2024 14:24:26 EST (-0500)
  area_light vs pointlight grid (Message 1 to 7 of 7)  
From: Warp
Subject: area_light vs pointlight grid
Date: 2 Aug 2005 02:00:19
Message: <42ef0bf3@news.povray.org>
I needed to demonstrate the difference in diffuse and specular illumination
caused by the area_light of POV-Ray (which simply uses a point light for
those) compared to a true grid of pointlights with a simple scene.
  Even though simple, the result was so nice that I decided to post it here.

  The first image uses just an area_light. The second image creates a
grid of pointlights equivalent to the area_light (ie same amount of
points). The second image was, naturally, several times slower to
render.


Post a reply to this message


Attachments:
Download 'arealight.jpg' (29 KB) Download 'lightgrid.jpg' (28 KB)

Preview of image 'arealight.jpg'
arealight.jpg

Preview of image 'lightgrid.jpg'
lightgrid.jpg


 

From: Slime
Subject: Re: area_light vs pointlight grid
Date: 2 Aug 2005 02:13:17
Message: <42ef0efd@news.povray.org>
> The second image was, naturally, several times slower to
> render.


It would be possible, and perhaps convenient for some, to add a keyword to
the area light which causes it to behave like a grid of lights for diffuse
and specular lighting effects. The only advantage of this over an actual
grid of lights is that not every light has to be sampled for shadows (the
adaptive sampling can be used), but this is a significant advantage.

 - Slime
 [ http://www.slimeland.com/ ]


Post a reply to this message

From: Warp
Subject: Re: area_light vs pointlight grid
Date: 2 Aug 2005 05:38:52
Message: <42ef3f2c@news.povray.org>
Slime <fak### [at] emailaddress> wrote:
> It would be possible, and perhaps convenient for some, to add a keyword to
> the area light which causes it to behave like a grid of lights for diffuse
> and specular lighting effects. The only advantage of this over an actual
> grid of lights is that not every light has to be sampled for shadows (the
> adaptive sampling can be used), but this is a significant advantage.

  Actually I came up with this exact same idea. It shouldn't be too
difficult to implement either.

-- 

                                                          - Warp


Post a reply to this message

From: Bob Hughes
Subject: Re: area_light vs pointlight grid
Date: 2 Aug 2005 05:39:34
Message: <42ef3f56$1@news.povray.org>
The desktop reflection, or rather highlighting, of the light object might be 
the most dramatic change of all. Seems to be a slight change in the shadow 
at the base, too, although I don't notice any difference in the sphere's 
shadow.


Post a reply to this message

From: Sebastian H 
Subject: Re: area_light vs pointlight grid
Date: 2 Aug 2005 06:36:38
Message: <42ef4cb6@news.povray.org>
Bob Hughes wrote:
> The desktop reflection, or rather highlighting, of the light object might be 
> the most dramatic change of all. Seems to be a slight change in the shadow 
> at the base, too, although I don't notice any difference in the sphere's 
> shadow.
> 
> 
Interesting.
I let gimp calculate the difference image
(pixel that differ are bright).
As you said the shadow isn't affected (as expected).
The image is desaturated and contrast is a bit enhanced.

Sebastian


Post a reply to this message


Attachments:
Download 'diff.jpg' (24 KB)

Preview of image 'diff.jpg'
diff.jpg


 

From: Bob Hughes
Subject: Re: area_light vs pointlight grid
Date: 2 Aug 2005 06:54:10
Message: <42ef50d2$1@news.povray.org>
"Sebastian H." <van### [at] gmxde> wrote in message 
news:42ef4cb6@news.povray.org...
> Bob Hughes wrote:
>> The desktop reflection, or rather highlighting, of the light object might 
>> be
>> the most dramatic change of all. Seems to be a slight change in the 
>> shadow
>> at the base, too, although I don't notice any difference in the sphere's
>> shadow.
>>
>>
> Interesting.
> I let gimp calculate the difference image
> (pixel that differ are bright).
> As you said the shadow isn't affected (as expected).

Looks like the light spread, or diffusion, on the desktop nearest the source 
is quite different-- if I read this image right (darker least changed, 
lighter most changed). Maybe that's why I thought the shadow there might be 
different. I like how this shows zones of no change between the rest of it, 
showing as rings of blackness.


Post a reply to this message

From: Sebastian H 
Subject: Re: area_light vs pointlight grid
Date: 4 Aug 2005 09:06:40
Message: <42f212e0$1@news.povray.org>
Bob Hughes wrote:
> "Sebastian H." <van### [at] gmxde> wrote in message 
> news:42ef4cb6@news.povray.org...
> 
>>Bob Hughes wrote:
>>
>>>The desktop reflection, or rather highlighting, of the light object might 
>>>be
>>>the most dramatic change of all. Seems to be a slight change in the 
>>>shadow
>>>at the base, too, although I don't notice any difference in the sphere's
>>>shadow.
>>>
>>>
>>
>>Interesting.
>>I let gimp calculate the difference image
>>(pixel that differ are bright).
>>As you said the shadow isn't affected (as expected).
> 
> 
> Looks like the light spread, or diffusion, on the desktop nearest the source 
> is quite different-- if I read this image right (darker least changed, 
> lighter most changed).

Right. There is a greater color difference between the two images
in bright areas.

> Maybe that's why I thought the shadow there might be 
> different. I like how this shows zones of no change between the rest of it, 
> showing as rings of blackness.

Yeah, interesting indeed.
I like (if this is of value in this image at all)
the bright ring behing the light source.
It shows that the outer areas are be much brighter with multiple
light sources whereas the center color does not differ much.
Probably because of the colormodel used in the image (24bit rgb).
The center color cannot have more brightness than maximum brightness in 
rgb model.

Sebastian


Post a reply to this message

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