POV-Ray : Newsgroups : povray.binaries.images : Proof of Concept: Cutoff Distance for Fading Lights : Proof of Concept: Cutoff Distance for Fading Lights Server Time
29 Jul 2024 18:21:52 EDT (-0400)
  Proof of Concept: Cutoff Distance for Fading Lights  
From: clipka
Date: 28 Jan 2014 21:19:27
Message: <52e8652f@news.povray.org>
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.)


Post a reply to this message


Attachments:
Download 'fade_light_pov37.png' (293 KB) Download 'fade_light_upov.png' (281 KB)

Preview of image 'fade_light_pov37.png'
fade_light_pov37.png

Preview of image 'fade_light_upov.png'
fade_light_upov.png


 

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