|
|
"Ross Litscher" <lit### [at] osuedu> escribio en el mensaje
news:3c7af29a$1@news.povray.org...
> It would work well as a fruit bowl if it had a bottom to it
voila, hop!
"las matematicas son el lenguaje de la naturaleza"
"mathematics is the language of nature"
#include "colors.inc"
global_settings { assumed_gamma 1.2 }
camera {
location <0,0,-20> look_at <0,0,0> orthographic
}
camera {
location <2,5,-20> look_at <0,0,0>
}
light_source {<12,80,-15> colour White }
#background { Gray40 }
union {
cylinder {<0,-10,0>,<0,-4-(8*0.06),0>, 20 }
object {torus {20,0.4}translate y*-4-(8*0.06) }
texture {
pigment { checker pigment{Orange},pigment{Red}
}
finish { reflection 0.3 }
rotate <45,0,degrees(asin(sqrt(1/3)))>
scale 3
translate <0,-4*(8*0.06),0>
rotate y*10
}
}
#macro BOLARD (NUM_BOLAS,RADIOBOLA)
union {
#local CONTEO=NUM_BOLAS ;
#while (CONTEO>0)
object {
sphere {<0,0,0>,(RADIOBOLA*0.04)
pigment {rgb
<sin(radians(CONTEO)),0.55,cos(radians(CONTEO))>}
finish { phong 0.5
crand 0.1
}
}
translate x*(RADIOBOLA*0.94)
rotate z*CONTEO
rotate y*CONTEO
rotate x*CONTEO*0.75
}
#local CONTEO = CONTEO-0.25 ;
#end
}
#end
#declare NUMERO_BOLAS = 360*4 ;
#declare RADIO_P = 8 ;
object { BOLARD (NUMERO_BOLAS,RADIO_P)
rotate z*-90 translate y*3.5
}
Post a reply to this message
Attachments:
Download 'Untitled2.jpg' (40 KB)
Preview of image 'Untitled2.jpg'
|
|