POV-Ray : Newsgroups : povray.advanced-users : Radiosity-Patches : Re: Radiosity-Patches Server Time
29 Jul 2024 08:10:08 EDT (-0400)
  Re: Radiosity-Patches  
From: Rafal 'Raf256' Maj
Date: 12 Sep 2002 15:13:12
Message: <Xns9287D728EA3F7raf256com@204.213.191.226>
"Tim Nikias" <tim### [at] gmxde> wrote in news:3d804800@news.povray.org

> So, can either someone point me to a section in the docs
> which I've overseen, or explain some more in detail how it
> works?

basicly - using 
error 1 nearest 7 and count 30 gives smooth shadows but ignores detalis

error .5 nearest 8 and count 200 gives details but sometimes artefacts are 
visible

error .4 nearest 9 and count 1000 gives both details and smooth gradients 

(Basing on my lava scene in .b.i - but probaly typical scenes with normal 
light sources will look nice with count like 20,100,200, and recursion 4, 
instead of 8)


-- 
#macro g(U,V)(.4*abs(sin(9*sqrt(pow(x-U,2)+pow(y-V,2))))*pow(1-min(1,(sqrt(
pow(x-U,2)+pow(y-V,2))*.3)),2)+.9)#end#macro p(c)#if(c>1)#local l=mod(c,100
);g(2*div(l,10)-8,2*mod(l,10)-8)*p(div(c,100))#else 1#end#end light_source{
y 2}sphere{z*20 9pigment{function{p(26252423)*p(36455644)*p(66656463)}}}//M


Post a reply to this message

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