POV-Ray : Newsgroups : povray.binaries.images : Lensflare update : Re: Lensflare update Server Time
8 Aug 2024 18:20:12 EDT (-0400)
  Re: Lensflare update  
From: Zeger Knaepen
Date: 20 May 2005 13:44:19
Message: <428e21f3$1@news.povray.org>
"Jellby" <me### [at] privacynet> wrote in message
news:ead### [at] badulaqueunexes...
> Among other things, Zeger Knaepen saw fit to write:
>
> > Rendertime is 39s... actually quite slow :-/
>
> But is it always important?
>
> I mean, let's guess this simple scene renders in 4 s without lens flares,
> that means the flares add 35 s or ~900%.
> If you have anether scene that takes 1 h (3600 s) without flares, would it
> take 1 h 35s (3635 s) or 10 h (36000 s) with lens flares?

I suppose not, that wouldn't be logical...
but, let's try!

A scene without lensflares, with 50000 randomly placed spheres takes 33s.
The same scene with lensflares takes 173s :-/

The same scene again, with only 500 spheres and no lensflares, takes 3s.
And with lensflares: 45s

without spheres or lensflares: 3s (wow, spheres are fast :))
without spheres but with lensflares: 41s

All done with +sp8 +ep4 +am2 +a0.1 +r2

cu!
--
camera{location-z*3}#macro G(b,e)b+(e-b)*(C/50)#end#macro L(b,e,k,l)#local C=0
;#while(C<50)sphere{G(b,e),.1pigment{rgb G(k,l)}finish{ambient 1}}#local C=C+1
;#end#end L(y-x,y,x,x+y)L(y,-x-y,x+y,y)L(-x-y,-y,y,y+z)L(-y,y,y+z,x+y)L(0,x+y,
<.5,1,.5>,x)L(0,x-y,<.5,1,.5>,x)                 // ZK http://www.povplace.com


Post a reply to this message

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