#include "colors.inc" #include "woods.inc" #include "shapes.inc" #include "textures.inc" #declare light_wood = pigment { P_WoodGrain7A color_map { M_Wood7A } } #declare dark_wood = pigment { P_WoodGrain5A color_map { M_Wood3A } } #declare board_length = 1.5; #declare board_width = 0.25; camera { location <2,4, -10> look_at <0,0,0> } light_source { <-10,0,-2> color White translate<10,4,0> } plane { <0, 1, 0>, -1 texture { pigment { gradient y pigment_map { [ 3.0 light_wood ] [ 1.0 dark_wood ] } warp { repeat 1.5 *z offset 0.28*y } warp { repeat 0.25*x offset 0.37*y } } normal { quilted 0.25 control0 0.0 control1 0.66 bump_size 0.25 scale <0.25,1,1.5> warp { repeat 1.5 *z } warp { repeat 0.25*x offset 1.5*1.5*z } } finish { phong 1 } } } plane { <0, 1, -0.5>, 0 texture { pigment {color White } } rotate <0,0,0> translate<0,0,5> scale<0,0,0> } plane { <0.8, 1, 0>, 0 texture { pigment {color White } } rotate <0,0,0> translate<-10,0,5> scale<0,0,0> } plane { <-2, 1, 0>, 0 texture { pigment {color White } } rotate <0,0,0> translate<7,0,5> scale<0,0,0> } box { <-4, 0, 3> <3, 0, -4> texture { pigment { image_map{ jpeg "rug.jpg" } } } translate<0,-.95,.7> } object { // Round_Box(A, B, WireRadius, Merge) Round_Box(<0,0,0>,<.9,0.3,1.3>, 0.07, 0) texture{ pigment{ color White} } // end of texture scale<5,5,5> rotate<0,0,0> translate<-2.5,-1,-2.5> } object { // Round_Box(A, B, WireRadius, Merge) Round_Box(<0,0,0>,<.82,0.1,1>, 0.03, 0) texture{ pigment{ color rgb<0.5,0.5,1.0>} } // end of texture scale<5,.7,5> rotate<0,0,0> translate<-2.245,.435,-2.5> } box { <-1, 1.2, 2> <1.5, 0, 0> texture { pigment { image_map{ jpeg "darkwood.jpg" } } } scale<0,0,0> translate<-6,-1.3,.5> } box { <-1, 4, 2> <2, 0, -1> texture { pigment { image_map{ jpeg "darkwood.jpg" } } } scale<0,0,0> translate<4.3,-1.3,1.3> } box { <-2, 0, 3> <2, 0, -3> texture { pigment { image_map{ jpeg "painting.jpg" } } } rotate<90,-220,90> scale<0,0,0> translate<-1,2.5,5> }