// ------------------------------------------------------------------ #declare Test_Object = difference{ sphere { <0,0,0>, 1 texture { pigment{ color rgb< 0.5, 1.0, 0.0>} finish { phong 1} } // end of texture scale<1,1,1> rotate<0,0,0> translate<0,0,0> } // end of sphere ---------------------------- sphere { <0,0,0>, 0.85 texture { pigment{ color rgb<1,0.6,0> } finish { phong 1} } // end of texture scale<1,1,1> rotate<0,0,0> translate<0,0,0> } // end of sphere ---------------------------- cylinder{ <0,-1,0>,<0,1,0>, 0.50 texture { pigment{ color rgb<1,1,0> } finish { phong 1} } // end of texture scale<1,1,1> rotate<0,0,0> translate<0,0,0> } // end of cylinder -------------------------- scale<1,0.6,1> rotate<0,0,0> translate<0,0.0,0> } // end of difference ---------------------------------------------- // ------------------------------------------------------------------ #include "shapes_lo.inc" object{ Segment_of_Object (Test_Object, -250) texture { pigment{ color rgb<1,1,1>*1.2} // normal { bumps 0.5 scale 0.05} finish { phong 1} } // end of texture scale <1,1,1> rotate<0,0,0> translate<0,0,0> } // ------------------------------------------------------------------