POV-Ray : Newsgroups : povray.binaries.images : A Bridge (WIP) : Re: A Bridge (WIP) Server Time
4 Nov 2024 17:58:31 EST (-0500)
  Re: A Bridge (WIP)  
From: Thomas de Groot
Date: 26 Mar 2007 02:21:35
Message: <4607747f$1@news.povray.org>
"Kirk Andrews" <kir### [at] hotmailcom> schreef in bericht 
news:web.460716efcc3df6852577d2d70@news.povray.org...
>
> I used an area light but I'm left with grainy shadows.  Could someone tell
> me how to avoid that?
>

Maybe the area_light should be smaller? From Cousin Ricky, I learned the 
following trick for sun light:

#declare SunPosition = <vector>;
#declare SunDis = vlength(SunPosition)*2/215;

light_source{
    SunPosition
    color rgb 1.0    //or whatever color you want to use
    area_light
    SunDis*x, SunDis*z, // lights spread out across this distance (x * z)
    3, 3                // total number of lights in grid (4x*4z = 16 
lights)
    adaptive 1          // 0,1,2,3...
    jitter              // adds random softening of light
    circular            // make the shape of the light circular
    orient              // orient light
}

Maybe that helps....

Thomas


Post a reply to this message

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