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](/povray.binaries.images/attachment/%3C52e8652f%40news.povray.org%3E/fade_light_pov37.png?preview=1)
Preview of image 'fade_light_upov.png'
![fade_light_upov.png](/povray.binaries.images/attachment/%3C52e8652f%40news.povray.org%3E/fade_light_upov.png?preview=1)
|