light_source { <-4,7.5 ,-10 >, rgb 1} light_source { < 8,7.5 ,-15 >, rgb 0.6} light_source { < 0,0.1,- 0.2>, rgb 0.4} camera {location <0.05,0.012,-0.06> look_at 0} #declare MyTent = union { #include "labeller.inc" #declare Labeller_Normal = normal {waves 0.2 scale 0.004 turbulence 0.4} #declare Labeller_LabelFile = "labeller_tentdesign.inc"; #declare Labeller_PolyhedronFaces = 4; // Main Tent Body #declare Labeller_LabelBottom = 0; #declare Labeller_LabelTop = 0.015; #declare Labeller_TopInnerRadius = 0.03; #declare Labeller_BottomInnerRadius = 0.031; #declare Labeller_BevelWidth = 0.0006; #declare Labeller_CornerRadius = 0.0006; object {Labeller_Polyhedron()} // Roof #declare Labeller_Normal = normal {wrinkles 0.1 scale 0.004} #declare Labeller_LabelBottom = 0.015; #declare Labeller_LabelTop = 0.023; #declare Labeller_TopInnerRadius = 0.001; #declare Labeller_BottomInnerRadius = 0.031; #declare Labeller_BevelWidth = 0.001; #declare Labeller_CornerRadius = 0.006; object {Labeller_Polyhedron()} // Rim #declare Labeller_LabelBottom = 0.0135; #declare Labeller_LabelTop = 0.015; #declare Labeller_TopInnerRadius = 0.031; #declare Labeller_BottomInnerRadius = 0.0312; #declare Labeller_BevelWidth = 0.001; #declare Labeller_CornerRadius = 0.001; object {Labeller_Polyhedron()} } #declare Cutter = union { cylinder {<0,0.005,-1><0,0.005,1>,0.005} box {<-0.005,-0.001,-1><0.005,0.005,1>} cylinder {<0,0.005,-1><0,0.005,1>,0.005 translate x*0.012} box {<-0.005,-0.001,-1><0.005,0.005,1> translate x*0.012} cylinder {<0,0.005,-1><0,0.005,1>,0.005 translate -x*0.012} box {<-0.005,-0.001,-1><0.005,0.005,1> translate -x*0.012} box {<-0.005,-0.001,-1><0.005,0.005,1>} cylinder {<0,0.005,-1><0,0.005,1>,0.005 translate x*0.024} box {<-0.005,-0.001,-1><0.005,0.005,1> translate x*0.024} cylinder {<0,0.005,-1><0,0.005,1>,0.005 translate -x*0.024} box {<-0.005,-0.001,-1><0.005,0.005,1> translate -x*0.024} } difference { object {MyTent} object {Cutter} cutaway_textures } plane {y,0 texture { pigment {rgb 0.3*<0.3,1,0.3>} normal {agate scale 0.001} } }