POV-Ray : Newsgroups : povray.binaries.images : A few cylinders [~117 KB] : Re: A few cylinders [~117 KB] Server Time
11 Aug 2024 07:11:35 EDT (-0400)
  Re: A few cylinders [~117 KB]  
From: Matt Leonard
Date: 15 Apr 2004 18:12:48
Message: <opr6iqnlaevka4sj@news.povray.org>
Uhhh...  the code didn't come out right...

#while ( theta < 2*pi )
#local phi = 0;   #while ( phi < pi )
#local vary = rand(seed1);
#local Start = <r*sin(phi)*sin(theta), r*cos(phi), r*sin(phi)*cos(theta)>;
#local Inter = trace ( S, Start, <0,0,0> - Start, Norm );
cylinder { Inter, Inter + Norm*vary*.5, .025
texture { T_Chrome_2B } }
#local phi = phi + pi/Number;
#end
#local theta = theta + 2*pi/Number;
#end

Does this work?


Post a reply to this message

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