POV-Ray : Newsgroups : povray.binaries.images : Proof of Concept: Cutoff Distance for Fading Lights : Re: Proof of Concept: Cutoff Distance for Fading Lights Server Time
30 Jul 2024 00:29:21 EDT (-0400)
  Re: Proof of Concept: Cutoff Distance for Fading Lights  
From: clipka
Date: 1 Feb 2014 12:34:35
Message: <52ed302b@news.povray.org>
Am 01.02.2014 10:19, schrieb Mr:
> clipka <ano### [at] anonymousorg> wrote:
>> A scene with 1000 randomly placed light sources with distance-dependent
>> attenuation (fade_power, fade_distance).
>>
>> First image: POV-Ray 3.7, render time 73s.
>>
>> Second image: experimental patch, render time 9s.
>>
>> For each light source, the patch automatically computes a cutoff
>> distance based on light source brightness, fade parameters, and a global
>> threshold (currently this is the global adc_bailout setting). Beyond
>> this distance, the lights source is simply ignored.
>>
>> (As an alternative, the patch also allows for manually specifying the
>> cutoff distance, but that's not used in this scene.)
>
> How does the patch deal with radiosity? does it still provide an improvement?
> any order of magnitude for it?

Radiosity scenes will probably pretrace faster, but speedup of the main 
render may not be as noticeable, as in that phase radiosity is primarily 
about looking up already-computed samples (which is independent of the 
number of light sources in the scene), and tends to significantly 
outweigh classic lighting calculations in terms of processing power demands.

But it will actually depend heavily on the scene you are rendering, and 
it's difficult to make any estimations.


Post a reply to this message

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