#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 * 20 rotate y * -360 * clock } /*object { anello scale 3.5/1.5 translate 3.5 * sqrt(3) * y }*/ camera { location < -4, 5, -10> look_at < 0, 5, 0> } light_source { <-20, 20,-25> color rgb 1 }