POV-Ray : Newsgroups : povray.general : um... : um... Server Time
2 Aug 2024 02:27:07 EDT (-0400)
  um...  
From: Tim Cook
Date: 27 Jan 2005 14:24:58
Message: <41f9400a$1@news.povray.org>
the following scene

#include "math.inc"
#declare r=1;
#declare d=0.1;
#declare ridges=24;
isosurface{
   function{ sqrt(x*x+y*y)-r - (cos(atan(y/x)*ridges)*d) }
   threshold 0
   max_gradient 2
   contained_by {box{<-1,-1,0>, <1,1,1>}}
   texture{pigment{color rgb 1 transmit 0.5}}
}

gives the following error

File: C:\Data\3D\bumpycyl.inc  Line: 5
Fatal Error: Floating-point exception detected in function ''. Your 
function either attempted a division by zero, used a function outside 
its domain or called an internal function with invalid parameters.

but only if antialiasing is turned on, and then not at all camera angles.

-- 
Tim Cook
http://home.bellsouth.net/p/PWP-empyrean

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GFA dpu- s: a?-- C++(++++) U P? L E--- W++(+++)>$
N++ o? K- w(+) O? M-(--) V? PS+(+++) PE(--) Y(--)
PGP-(--) t* 5++>+++++ X+ R* tv+ b++(+++) DI
D++(---) G(++) e*>++ h+ !r--- !y--
------END GEEK CODE BLOCK------


Post a reply to this message

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