POV-Ray : Newsgroups : povray.binaries.utilities : Looking for gears : Re: Looking for gears Server Time
16 May 2024 14:48:31 EDT (-0400)
  Re: Looking for gears  
From: David Wilkinson
Date: 22 Jul 1999 17:17:24
Message: <37978431.9518915@news.povray.org>
On Thu, 22 Jul 1999 21:38:05 +0200, Marc Schimmler <mar### [at] icauni-stuttgartde> wrote:
>
>The times are very different. Have ever tried to bound the gear? I guess
>this could speed it up a bit more. 
>When I wrote the include file I only tried to avoid the worst cases of
>speed loss but when I hear your results I have to take a closer look.

Marc,
I had a look at the code in your gear.inc file and the major difference between your
method and mine seems to be that you create the gear tooth with a union of 11 prisms,
each
of 5 points, whereas I calculate 22 points and make a tooth from just one prism.
This gives ten straight line facets on each flank and although I think is good enough
for
the purpose, I have tried doubling the number of points and the rendering time only
increases to 40 secs.
I don't think manual bounding will make any difference as the automatic bounding in
POV is
now pretty good.
David
------------
dav### [at] cwcomnet
http://www.hamiltonite.mcmail.com
------------


Post a reply to this message

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