POV-Ray : Newsgroups : povray.advanced-users : Closing brace bug ? : Re: Closing brace bug ? Server Time
2 Nov 2024 11:23:56 EDT (-0400)
  Re: Closing brace bug ?  
From: Ken
Date: 15 Oct 1999 11:20:59
Message: <38074610.89BB9676@pacbell.net>
Ken wrote:

  Something still bothering me about this code. After fixing it so that the
loop starts at zero and the csg operation is performed properly I am getting
a coincident surface problem with the sphere object. No amount of shuffling
of the code or pigments seems to eliminate the problem. Technicaly there
should be no coincident surface as far as I can tell. Example below:


 camera { location<0,0,-3> look_at 0}
 light_source {<0,0,-300> rgb 1}
 
difference {
 #declare A = .001;
  #while (A<12)
 
   sphere   {<0,0,0>, 1 pigment { rgb 1 }}
   sphere   {<0,0,0>,.9 pigment { rgb 1 }}
   cylinder { <-1.1,0, 0.0>,<1.0,0,0.0>,.1  rotate y*360/A pigment {rgb 1}}
   cylinder { < 0.0,0,-1.1>,<0.0,0,1.1>,.1  rotate x*360/A pigment {rgb 1}}

  #declare A=A+1;
 #end
}

-- 
Ken Tyler -  1100+ Povray, Graphics, 3D Rendering, and Raytracing Links:
http://home.pacbell.net/tylereng/index.html http://www.povray.org/links/


Post a reply to this message

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