|
![](/i/fill.gif) |
In article <38fa0c0e@news.povray.org> , "Chris S." <chr### [at] bluelectrode com>
wrote:
> #declare NT1 = 360;
> #declare Tower1 = union {
> cone{0*z, .75, 3.25*z, .25 material {GlassTex1}}
> #while (360 > 0)
> cylinder{<0,0,0>,<0,0,3.288>, .25 rotate -8.75*y translate -.75*x
> rotate NT1*z texture{DarkMetal1}}
> #declare NT1 = NT1 - 30;
> #end
> }
Your loop says "#while (360 > 0)" which is always true, so the loop can
never end. This should work:
#declare NT1 = 360;
#declare Tower1 = union {
cone {
0*z, .75, 3.25*z, .25
material {GlassTex1}
}
#while (NT1 > 0) // <= CHANGE
cylinder {
<0,0,0>,<0,0,3.288>, .25
rotate -8.75*y
translate -.75*x
rotate NT1*z
texture{DarkMetal1}
}
#declare NT1 = NT1 - 30;
#end
}
Thorsten
Post a reply to this message
|
![](/i/fill.gif) |