#include "colors.inc" #include "textures.inc" background{ color rgb < 1.00, 1.00, 1.00 > } light_source { < 1.00, 2.00, -2.00 > color rgb < 1.00, 1.00, 1.00 > } camera { location < 1.50, 4.00, -7.00 > look_at < 1.50, 0.00, 0.00 > } #declare table = plane { y,0 pigment { DMFWood4 scale 2 } } #declare extpenbox = cylinder { <0.0, 0.5, 0.0> <0.0, 2.5, 0.0> 1.0 texture { pigment { Blue } finish { reflection 0.6 ambient 0.2 diffuse 0.6 } } } #declare intpenbox = cylinder { <0.0, 0.5, 0.0> <0.0, 2.6, 0.0> 0.6 texture { pigment { Blue } } } #declare penbox = difference { object { extpenbox } object { intpenbox } } #declare ima = box { <2.0, 0.5, 0.7> <3.0, 1.5, -0.7> texture { pigment { Gray } finish { reflection 0.2 ambient 0.2 diffuse 0.6 } } } #declare base = box { <-1.5, 0.0, 1.0> <4.0, 0.5, -1.0> texture { pigment { White } finish { reflection 0.7 ambient 0.2 diffuse 0.6 } } } object { table } object { penbox } object { ima } object { base }