// Show the rotation axis and the equator // File by Michael Schmitt (c) 1997-05-22 // m-schmitt@t-online.de or admin@esys.org #version 3.0 #include "colors.inc" #include "astro.inc" global_settings { assumed_gamma 2.2 } light_source { <5, 5,-20> color White } camera { direction <0, 0, 4.5> location <0, 0, -20> look_at <0, 0, 0> right <1,0,0> // x/y ratio } // Background plane { z, 2000 pigment { color White } } union { // rotation axis cylinder { <0,1.2,0>,<0,-1.2,0>, 0.01 pigment { color Cyan } } // sphere { <0.0, 0.0, 0.0>, 1 pigment { color LightBlue filter 0.7 } } // pole sphere { <0,0,0>, 0.03 translate y*1 pigment { color Red } } // pole sphere { <0,0,0>, 0.03 translate y*-1 pigment { color Red } } // equator torus { 1, 0.01 pigment { color Yellow } } scale 2 rotate <-45,0,0> rotate <0,30,0> finish { ambient 1 // diffuse 0.2 phong 1 } }