#include "colors.inc" #include "textures.inc" #declare Head = sphere { < 0, 6, 0 >, 1 } #declare Hat = cone { < 0, 6.8, 0 >, 1.5, < 0, 7.8, 0 >, 0 } #declare Body = cylinder { < 0, 0, 0 >, < 0, 5, 0 >, 1 } #declare Arms = cylinder { < -3, 4, 0 >, < 3, 4, 0 > 0.5 } #declare Toy = union { object { Head } object { Hat } object { Body } object { Arms } } object { Toy texture { Chrome_Metal } rotate 90*y translate 4.5*x } object { Toy texture { Chrome_Metal } translate 4.5*z } object { Toy texture { Chrome_Metal } rotate 90*y translate -4.5*x } object { Toy texture { Chrome_Metal } translate -4.5*z } plane { y, 0 pigment { granite scale 50 } finish { phong 0.3 reflection 0.4 } } camera { location < 100, 150, -100 > direction 15*z up y right 4/3*x look_at 4*y } light_source { < 0, 100, 0 > color White }