POV-Ray : Newsgroups : povray.binaries.images : moai : Re: moai Server Time
30 Jul 2024 22:27:57 EDT (-0400)
  Re: moai  
From: clipka
Date: 5 Apr 2011 13:50:11
Message: <4d9b5653$1@news.povray.org>
Am 01.04.2011 13:34, schrieb Jim Holsenback:

> As far as fade_distance ... I'm still investigating but I think the
> nugget here is what Christoph said:
>
> "As I already mentioned, the key is not the fade_power, but the
> fade_distance. Sufficiently far away from the light source - relative to
> fade_distance (or, in other words, with sufficiently small fade_distance
> relative to the scene dimensions) - the formula gets arbitrarily close
> to 1/x2. "
>
> I've been using:
> #declare LightDist = vlength(LightPos);
>
> as my value for fade_distance, Which is WRONG ... I want a smaller value
> for that and up the intensity of the light source to compensate ...
> @Christoph: Did I get that right?

Yup. For area lights, I typically use half the area light's size as 
fade_distance; for point lights I pick some distance that might be a 
reasonable radius of the light source (e.g. radius of a light bulb).


Post a reply to this message

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