POV-Ray : Newsgroups : povray.general : Area light vs emitting object? Server Time
26 Dec 2024 21:56:30 EST (-0500)
  Area light vs emitting object? (Message 1 to 5 of 5)  
From: Mike Horvath
Subject: Area light vs emitting object?
Date: 7 Jan 2016 01:18:40
Message: <568e0340$1@news.povray.org>
I want to create a spiral lamp element sort of like a CFL. Which will 
render faster, a series of point lights along the curve, or making the 
object emit light? Thanks!


Post a reply to this message

From: Stephen
Subject: Re: Area light vs emitting object?
Date: 7 Jan 2016 02:42:06
Message: <568e16ce$1@news.povray.org>
On 1/7/2016 6:18 AM, Mike Horvath wrote:
> I want to create a spiral lamp element sort of like a CFL. Which will
> render faster, a series of point lights along the curve, or making the
> object emit light? Thanks!


Or an area light with a "Looks_like" a spiral lamp element. That would 
be faster.

The in built help works with Looks_like. :)


-- 

Regards
     Stephen


Post a reply to this message

From: clipka
Subject: Re: Area light vs emitting object?
Date: 7 Jan 2016 08:35:01
Message: <web.568e691291434734ad6fa18f0@news.povray.org>
Mike Horvath <mik### [at] gmailcom> wrote:
> I want to create a spiral lamp element sort of like a CFL. Which will
> render faster, a series of point lights along the curve, or making the
> object emit light? Thanks!

That depends on whether you're using radiosity anyway, how close the lamp is to
the visible portions of the scene, and whether it is the main light source.

Generally, scenes illuminated by comparatively small emissive objects require
exceptionally "expensive" radiosity settings. The "importance" mechanism can be
used to counter this to some degree, but not completely.


That said, using an excessive number of point light sources can also slow down a
render tremendously. You might instead want to think about using an arrangement
of 1-dimensional area lights approximating the lamp's shape.


Post a reply to this message

From: Mike Horvath
Subject: Re: Area light vs emitting object?
Date: 7 Jan 2016 18:46:20
Message: <568ef8cc$1@news.povray.org>
On 1/7/2016 8:33 AM, clipka wrote:
> Mike Horvath <mik### [at] gmailcom> wrote:
>> I want to create a spiral lamp element sort of like a CFL. Which will
>> render faster, a series of point lights along the curve, or making the
>> object emit light? Thanks!
>
> That depends on whether you're using radiosity anyway, how close the lamp is to
> the visible portions of the scene, and whether it is the main light source.
>
> Generally, scenes illuminated by comparatively small emissive objects require
> exceptionally "expensive" radiosity settings. The "importance" mechanism can be
> used to counter this to some degree, but not completely.
>
>
> That said, using an excessive number of point light sources can also slow down a
> render tremendously. You might instead want to think about using an arrangement
> of 1-dimensional area lights approximating the lamp's shape.
>
>
>

So, area lights are cheaper than an equally sized array of point lights?


Mike


Post a reply to this message

From: clipka
Subject: Re: Area light vs emitting object?
Date: 7 Jan 2016 20:41:29
Message: <568f13c9@news.povray.org>
Am 08.01.2016 um 00:46 schrieb Mike Horvath:

> So, area lights are cheaper than an equally sized array of point lights?

Yes, absolutely: With an array of point lights, POV-Ray needs to perform
shadow tests against every one of them every time. With an area light,
POV-Ray can choose to ignore some of them if it finds that their
neighbors are all shadowed or all unshadowed. It's kind of like
anti-aliasing.

You'll need to use the "adaptive N" keyword to enable this optimization,
where N governs how many of the sub-lights POV-Ray will always test:
POV-Ray will initially render only (2^N)+1 of the sub-lights in each
direction, then render the sub-lights halfway between those that gave
noticeably different results, and then in the same way "drill down" ever
further until it reaches the level of maximum resolution you specified
for the area_light.

Another way in which area lights can speed up rendering is that normally
they only affect shadow testing, while still behaving as a single point
light for diffuse and highlight computations. (If that is undesired, for
instance because the light source is very close to a surface, you can
use the "area_illumination on" keyword to make the area light affect
diffuse and highlights as well.)

And the third way in which you can benefit from area lights is the
"jitter" feature, which can reduce banding artefacts in soft shadows
without having to increase the number of sub-lights.


Post a reply to this message

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