POV-Ray : Newsgroups : povray.object-collection : Knurledcylinder.inc, v1 : Re: Knurledcylinder.inc, v1 Server Time
20 Apr 2024 03:24:37 EDT (-0400)
  Re: Knurledcylinder.inc, v1  
From: StephenS
Date: 19 Apr 2009 10:00:00
Message: <web.49eb2e2ca68f5a58b4b7d5490@news.povray.org>
"StephenS" <nomail@nomail> wrote:
....
> The macro seems to force an odd number of peaks so they line up at the
> start/finish, I think this is the part not working as expected.
Replaceing line 43

 //#local divs=floor((pi*mean_radius*2/horiz_spacing)/2)*2+1;
 #local divs=floor((pi*mean_radius*2/horiz_spacing)/2)*2;

the +1 part at the end, seems to be closer to what I want.

Stephen S


Post a reply to this message

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