POV-Ray : Newsgroups : povray.general : Optimizing lights in an old scene : Re: Optimizing lights in an old scene Server Time
18 May 2024 06:57:50 EDT (-0400)
  Re: Optimizing lights in an old scene  
From: Alain Martel
Date: 4 Feb 2022 11:00:48
Message: <61fd4db0@news.povray.org>
Le 2022-02-03 à 15:05, tutki a écrit :
> I have an old povray scene that I'm trying to tidy up, and one of the things is
> to optimize rendering times by reducing the number of light sources. Currently
> there are 44 point lights, which I think it probably excessive. Most of them are
> inside background objects (multistorey buildings in the background), and
> probably could be gotten rid of?
> What are some general guidelines on optimizing light sources in a povray scene?
> Is there some trick I could use to retain approximately the same look but with
> less light sources (or with better rendering performance)?  Does povray optimize
> away faraway fading light? E.g., if a background building is far away then only
> objects close to it would involve that light source, but other objects in the
> scene would skip that light source?
For those lights situated inside background buildings, you can replace 
them with textures with an emission value. Make sure that those textures 
are entirely and only inside the buildings.
You may need to add some boxes inside those buildings to achieve that.

Post a reply to this message

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