POV-Ray : Newsgroups : povray.text.scene-files : Source code for "Almost Sphere Spirals" : Re: Source code for "Almost Sphere Spirals" Server Time
3 Jul 2024 02:13:14 EDT (-0400)
  Re: Source code for "Almost Sphere Spirals"  
From: Tor Olav Kristensen
Date: 29 Jan 2002 19:15:35
Message: <3C573A68.1141192F@hotmail.com>
"R. Suzuki" wrote:
> 
> "Tor Olav Kristensen"  wrote in message
> >At 24. January 2002 I posted an image to povray.binaries.images.
> >Below is the source for it.
> 
> Thanks.  That is interesting.
> 
> >Note that when I rendered this image, a small defect appeared at the
> >"south pole" of the sphere. I'm not sure what causes this.
> 
> I see.  I've encountered the same problem in the carpet project.
> That is due to 'mod' function.  The first parameter of 'mod' function
> should be positive in such cases.
> So, the below macro will work as expected.

Thank you Ryoichi.

I have now done some quick tests on my
(much faster) PC at work.

And it seems that your suggestion to add
2*pi after some of my select() expressions
did fix the problem.

So, does this mean that the mod() function
is not working as it should ?

(Or were my math-expressions wrong ?)

Anyway, I think that I will experiment
more to see if I can get totally rid of
those 6 select() expressions.


Tor Olav


Post a reply to this message

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