#include "colors.inc" #include "shapes.inc" #include "shapes2.inc" #include "glass.inc" #include "metals.inc" #include "woods.inc" #include "skies.inc" #include "textures.inc" #include "colori.inc" global_settings { assumed_gamma 2.0 } background { color .8 } #version 3.1; #declare asse = union { cylinder { <0,0,0>, <0,8,0>, 0.03 } cone { <0,8,0>, 0.15, <0,8.3,0>,0 } pigment { red 0 green 0 blue 0.8 } } #declare anello = union { torus { 1.5, 0.01 } cone { <1.5,0,0>, 0.12, <1.5,0,0.4>,0 } } #declare atomo = union { union { cylinder { <0,0,0>, <0,6.5,0>, 0.03 } cone { <0,6.5,0>, 0.15, <0,7,0>,0 } object { anello rotate y * -1440 * clock translate 3.5 * y } pigment { red 0.4 green 0 blue 0 } } object { sphere { <0, 3.5, 0>, 0.8 } texture {PinkAlabaster} rotate y * -1440 * clock // texture { _blue } } } asse object { atomo rotate z * 30 rotate y * -720 * clock } /*object { anello scale 3.5/1.5 translate 3.5 * sqrt(3) * y }*/ object { union { cylinder { <0,0,0>, <0,4,0>, 0.03 } cone { <0,4,0>, 0.15, <0,4.3,0>,0 } } pigment { red 1.0 green .3 blue 0.3 } rotate 90 * z rotate y * -360 * clock } object { torus { 4.3, 0.04 } pigment { color red 1 green 1 blue 1 } finish { ambient .5 diffuse .1 specular .0 } } object { torus { 3.5, 0.04 } pigment { color red 1 green 1 blue 1 } finish { ambient .5 diffuse .1 specular .0 } translate y * 6.0621778 } camera { location < -6, 7, -12> look_at < 0, 4, 0> } light_source { <-20, 20,-25> color rgb 1 }