|
![](/i/fill.gif) |
** Many a little makes a mickle. **
Faster rendering or memory usage? That is the question!
Warp <war### [at] tag povray org> wrote in message news:38f30f5c@news.povray.org...
> I used the following scene to test this patch:
>
> camera { location -z*30 look_at 0 }
> light_source { <100,200,-300> 1 }
> light_source { <-100,100,0> <.5,.25,0> }
> light_source { <0,-300,-200> <0,.25,.5> }
>
> #declare R=seed(0);
> #declare ind=0;
> #while(ind<1000)
> box
> { -.1, 1 pigment { rgb 1 }
> rotate <rand(R)*180, rand(R)*180, rand(R)*180>
> scale <.1+rand(R)*1.9, .1+rand(R)*1.9, .1+rand(R)*1.9>
> translate <-10+rand(R)*20, -10+rand(R)*20, -10+rand(R)*20>
> }
> #declare ind=ind+1;
> #end
>
> It has 1000 boxes rotated, scaled and translated randomly. I rendered
> it at 640x480 with aa 0.1 in this Ultra 5 with the official povray and
> this patched version.
> The times were:
>
> Official:
> Time For Parse: 0 hours 0 minutes 1.0 seconds (1 seconds)
> Time For Trace: 0 hours 1 minutes 6.0 seconds (66 seconds)
> Total Time: 0 hours 1 minutes 7.0 seconds (67 seconds)
>
> Patched:
> Time For Parse: 0 hours 0 minutes 1.0 seconds (1 seconds)
> Time For Trace: 0 hours 1 minutes 4.0 seconds (64 seconds)
> Total Time: 0 hours 1 minutes 5.0 seconds (65 seconds)
>
>
> --
> main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
> ):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/
Post a reply to this message
|
![](/i/fill.gif) |