// // Torus&Box Animation // global_settings { assumed_gamma 2.2 } #include "consts.inc" #include "colors.inc" #include "shapes.inc" #include "shapes2.inc" #include "textures.inc" #include "metals.inc" #include "golds.inc" #include "stones.inc" #include "woods.inc" #include "glass.inc" #include "skies.inc" #include "consts.inc" camera { location <0, -8, 0> direction <0.0, 0.0, 2.0> up <0.0, 1.0, 0.0> right <4/3, 0.0, 0.0> look_at <0, 0, 0> } // // Light // light_source { <0, -5, -3> color rgb <1,1,1> } // // back ground // #declare New_Sky = sky_sphere { S_Cloud2 } #declare Old_Sky = sky_sphere { pigment { gradient y colour_map { [0.0 0.8 colour red 0.5 green 0.1 blue 0.7 colour red 0.1 green 0.1 blue 0.9] [0.8 1.0 colour red 0.1 green 0.1 blue 0.9 colour red 0.1 green 0.1 blue 0.9] } } pigment { bozo turbulence 0.7 colour_map { [0.0 0.6 colour red 1.0 green 1.0 blue 1.0 filter 1.0 colour red 1.0 green 1.0 blue 1.0 filter 1.0] [0.6 0.8 colour red 1.0 green 1.0 blue 1.0 filter 1.0 colour red 1.0 green 1.0 blue 1.0] [0.8 1.001 colour red 1.0 green 1.0 blue 1.0 colour red 0.8 green 0.8 blue 0.8] } scale <0.5, 0.2, 0.2> } } sky_sphere { New_Sky } // changed by dmf '95 // // Object // object{ object { torus{ 1, 0.2 } texture{ T_Gold_4C } } rotate <360*clock, 0, -360*clock > } object{ object { Cube texture{ pigment {color rgb <1,0,0> } } rotate < 45,45,45 > scale < 0.4,0.4,0.4 > } rotate <720*clock, 360*clock, 0> }