POV-Ray : Newsgroups : povray.general : max_distance for Lightsources? : Re: max_distance for Lightsources? Server Time
6 Oct 2024 09:14:21 EDT (-0400)
  Re: max_distance for Lightsources?  
From: clipka
Date: 28 Jan 2014 17:42:26
Message: <52e83252$1@news.povray.org>
Am 28.01.2014 22:03, schrieb Sereib:

> So what about introducing a "max_distance" keyword to a light_source?
...
> To be honest, I wonder why such a keyword has not been introduced up to now - or
> have I overseen it?

This idea has indeed been brought up before, and had it not been due to 
a lack of round tuits something along those lines would probably have 
been introduced already.

With the abundance of tuits coming in these days on 
povray.binary.images, chances are it will be added soon, although I 
guess it will be implemented in UberPOV first.

I suppose I won't actually expose the max_distance setting though, but 
instead auto-compute that threshold from the light source's absolute 
brightness, fade_distance and fade_power, as well as a global brightness 
threshold.

Then again I might as well do both: Compute max_distance based on a 
global threshold by default, but allow the user to specify an individual 
max_distance for any given light source if they so desire.


Post a reply to this message

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