POV-Ray : Newsgroups : povray.general : Adding inside_vector (for CSG) to HF macros in shapes.inc : Re: Adding inside_vector (for CSG) to HF macros in shapes.inc Server Time
30 Jul 2024 22:23:19 EDT (-0400)
  Re: Adding inside_vector (for CSG) to HF macros in shapes.inc  
From: Zeger Knaepen
Date: 19 Oct 2008 06:14:57
Message: <48fb08a1$1@news.povray.org>
"Kenneth" <kdw### [at] earthlinknet> wrote in message 
news:web.48fafac46bc5685d78dcad930@news.povray.org...
> "Kenneth" <kdw### [at] earthlinknet> wrote:
>
>>
>> Here's a parse-time test for the HF_Cylinder macro in shapes.inc 
>> (unmodified
>> except for inside_vector), no CSG, and run at a relatively hi-rez of 1200 
>> X
>> 1200:
>
> OK, here's the test regarding RENDER times, hopefully done correctly this 
> time.
> Same set-up, but I upped the resolution to 2000 X 2000. There *is* a
> difference, though slight.
>
> WITHOUT inside_vector: 735 sec.
> WITH inside_vector: 761 sec.
>
> That's a 3% to 4% increase, on my 2.2 GHZ single-core PC.

is this just one frame ?  I think for accurate results, you should render as 
many frames as you can, and average the render-times.  For all we know, the 
difference you came up with now could be due to, I don't know, Windows 
Update for instance

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

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