//the creation for the teapot //by Lekai Tao //001058916 //FEB 12,2004 #include "colors.inc" #include "stones.inc" #include "textures.inc" #include "shapes.inc" #include "shapes2.inc" #declare Cam0 = camera {angle 120 location <0.0 , 3.0 ,-3.0> look_at <0.0 , 3.0 , 0.0>} camera{Cam0} union { light_source { <3, 3, -3> color White} cone{<0,0,0>,0.3,<0,4,0>,0.08 texture{T_Stone25 normal {bumps 0.5 scale 0.15} finish {ambient 0.15 diffuse 0.55 phong 1}}} difference{ cone{<0,4,0>,0.08,<0,4.5,0>,0.3 texture{T_Stone25 normal {bumps 0.5 scale 0.15} finish {ambient 0.15 diffuse 0.55 phong 1}}} box {<1,1,0>,<2,2,2> texture{T_Stone25} rotate <0, 0, 45> translate <-0.18,2.7,-1> }} } background { color Gray50 } // to make the torus easy to see plane { <0,1,0>, -1 pigment { checker color Black, color White } }