| 
  | 
"maesju" <nomail@nomail> wrote in message 
news:web.43917b418a00281f7b4fb7150@news.povray.org...
> the way povray handles the darkening of light_sources with distance 
(r)
> isn`t very realistic unfortunately. in reality without(!) any 
attenuation,
> intensity (I) follows I(r)= d^2/r^2, d being some normal distance 
where I=1
> is assumed. for distances >> d "fade_power 2 fade_distance d " works 
pretty
> well but for small distances intensity should rise much faster than
> provided by the fade formula (see documentation).
> My personal workaround was now to dramatically increase the light 
color (16
> or so) and adjust a relatively short fade_distance by trial and error 
in a
inconvenient...
> anyone solved the problem yet?
actually, I often use light_sources with *extremely* high (all is 
relative, I know) brightness, like this:
light_source {<10,10,10> rgb <.9,.95,1>*5000 fade_distance .02 
fade_power 2}
I believe there is a set of macros that makes all this easier to do.
yep, found it, it's this: http://www.ignorancia.org/lightsys.php
cu!
-- 
#macro G(b,e)b+(e-b)*C/50#end#macro _(b,e,k,l)#local C=0;#while(C<50)
sphere{G(b,e)+3*z.1pigment{rgb G(k,l)}finish{ambient 1}}#local C=C+1;
#end#end _(y-x,y,x,x+y)_(y,-x-y,x+y,y)_(-x-y,-y,y,y+z)_(-y,y,y+z,x+y)
_(0x+y.5+y/2x)_(0x-y.5+y/2x)            // ZK http://www.povplace.com
 Post a reply to this message 
 | 
  |