|
![](/i/fill.gif) |
light_source{<0,100,-50> color rgb 10}
background{blue 1}
#declare r0=2;
#declare r1=1;
#declare AMBIENT_VARIABLE=0;
#while(AMBIENT_VARIABLE<1.1)
parametric {
function { cos(u)*(r0+r1*cos(v)) }
function { sin(u)*(r0+r1*cos(v)) }
function { r1*sin(v) }
<0,0>, <2*pi,pi>
contained_by { sphere{0, 4.1} }
max_gradient .14
accuracy 0.001 // 0.0001
precompute 10 x,y,z
texture{pigment {rgb 1}
finish{ambient AMBIENT_VARIABLE}
}
translate 12*z+x*(-4+8*AMBIENT_VARIABLE)
}
#declare AMBIENT_VARIABLE=AMBIENT_VARIABLE+1;
#end
Post a reply to this message
Attachments:
Download 'torri.JPG' (5 KB)
Preview of image 'torri.JPG'
![torri.JPG](/povray.binaries.images/attachment/%3C3d7e34e8%241%40news.povray.org%3E/torri.JPG?preview=1)
|
![](/i/fill.gif) |