#include "colors.inc" #include "shapes.inc" #include "metals.inc" #include "glass.inc" #declare HEADPOINT = difference { box { <-1,-1,-1>,<1,1,1> } box { <-5,-5,-5>,<5,5,5> translate <5,5,0> rotate <0,0,60> translate <-1,-1,0> } box { <-5,-5,-5>,<5,5,5> translate <-5,5,0> rotate <0,0,-60> translate <1,-1,0> } box { <-5,-5,-5>,<5,5,5> translate <0,5,5> rotate <-60,0,0> translate <0,-1,-1> } box { <-5,-5,-5>,<5,5,5> translate <0,5,-5> rotate <60,0,0> translate <0,-1,1> } } #declare HEAD = merge { box { <-1,-1,-1>,<1,1,1> } object { HEADPOINT translate <0,2,0> } object { HEADPOINT rotate <180,0,0> translate <0,-2,0> } } #declare NECK = union { sphere { <0,0,0> , 0.5 scale <1,0.2,1> } sphere { <0,0,0> , 0.25 scale <1,0.4,1> translate <0,-0.1,0> } sphere { <0,0,0> , 0.25 scale <1,0.4,1> translate <0,-0.2,0> } sphere { <0,0,0> , 0.25 scale <1,0.4,1> translate <0,-0.3,0> } sphere { <0,0,0> , 0.25 scale <1,0.4,1> translate <0,-0.4,0> } sphere { <0,0,0> , 0.25 scale <1,0.4,1> translate <0,-0.5,0> } sphere { <0,0,0> , 0.25 scale <1,0.4,1> translate <0,-0.6,0> } sphere { <0,0,0> , 0.25 scale <1,0.4,1> translate <0,-0.7,0> } sphere { <0,0,0> , 0.25 scale <1,0.4,1> translate <0,-0.8,0> } sphere { <0,0,0> , 0.25 scale <1,0.4,1> translate <0,-0.9,0> } sphere { <0,0,0> , 0.25 scale <1,0.4,1> translate <0,-1.0,0> } sphere { <0,0,0> , 0.25 scale <1,0.4,1> translate <0,-1.1,0> } sphere { <0,0,0> , 0.25 scale <1,0.4,1> translate <0,-1.2,0> } sphere { <0,0,0> , 0.25 scale <1,0.4,1> translate <0,-1.3,0> } sphere { <0,0,0> , 0.25 scale <1,0.4,1> translate <0,-1.4,0> } sphere { <0,0,0> , 0.25 scale <1,0.4,1> translate <0,-1.5,0> } sphere { <0,0,0> , 0.25 scale <1,0.4,1> translate <0,-1.6,0> } sphere { <0,0,0> , 0.25 scale <1,0.4,1> translate <0,-1.7,0> } sphere { <0,0,0> , 0.25 scale <1,0.4,1> translate <0,-1.8,0> } sphere { <0,0,0> , 0.25 scale <1,0.4,1> translate <0,-1.9,0> } sphere { <0,0,0> , 0.25 scale <1,0.4,1> translate <0,-2.0,0> } sphere { <0,0,0> , 0.25 scale <1,0.4,1> translate <0,-2.1,0> } sphere { <0,0,0> , 0.25 scale <1,0.4,1> translate <0,-2.2,0> } sphere { <0,0,0> , 0.25 scale <1,0.4,1> translate <0,-2.3,0> } sphere { <0,0,0> , 0.25 scale <1,0.4,1> translate <0,-2.4,0> } sphere { <0,0,0> , 0.25 scale <1,0.4,1> translate <0,-2.5,0> } sphere { <0,0,0> , 0.25 scale <1,0.4,1> translate <0,-2.6,0> } sphere { <0,0,0> , 0.25 scale <1,0.4,1> translate <0,-2.7,0> } sphere { <0,0,0> , 0.25 scale <1,0.4,1> translate <0,-2.8,0> } sphere { <0,0,0> , 0.25 scale <1,0.4,1> translate <0,-2.9,0> } sphere { <0,0,0> , 0.25 scale <1,0.4,1> translate <0,-3.0,0> } sphere { <0,0,0> , 0.25 scale <1,0.4,1> translate <0,-3.1,0> } sphere { <0,0,0> , 0.25 scale <1,0.4,1> translate <0,-3.2,0> } sphere { <0,0,0> , 0.25 scale <1,0.4,1> translate <0,-3.3,0> } sphere { <0,0,0> , 0.25 scale <1,0.4,1> translate <0,-3.4,0> } sphere { <0,0,0> , 0.25 scale <1,0.4,1> translate <0,-3.5,0> } sphere { <0,0,0> , 0.25 scale <1,0.4,1> translate <0,-3.6,0> } sphere { <0,0,0> , 0.25 scale <1,0.4,1> translate <0,-3.7,0> } } #declare LEG = union { object { union { cylinder { <0,0,0>,<0,-2,0> , 0.125 } sphere { <0,-2,0> , 0.125 } rotate <120,0,0> } } cylinder { <0,0,0>,<0,-3,0> , 0.125 rotate <30,0,0> translate <0,1,-1.732> } } #declare LEGSET = union { object { LEG rotate <0,0,0> } object { LEG rotate <0,60,0> } object { LEG rotate <0,120,0> } object { LEG rotate <0,180,0> } object { LEG rotate <0,240,0> } object { LEG rotate <0,300,0> } } #declare BODY = union { object { HEAD scale 0.75 translate <0,1.3995,0> texture {T_Glass1} } object { NECK pigment {P_Silver1} } object { LEGSET translate <0,-3.6,0> pigment {P_Chrome5} normal { dents 0.9 scale 0.25 } } } object { BODY translate <0,1.466,0> scale <1,0.8,1> } cylinder { <0,-3.5,0>,<0,-3.33204,0>, 6 texture {T_Glass3} } camera { location <5,4,-10> look_at <0,0,0> } background { color White } light_source { <0,10,-10> color White }