Just for the sake of any curious soul out there, following is the source sode for the picture:
#include "colors.inc"
#include "textures.inc"
#declare wall_color = rgb<0.9, 0.8, 0.8> // light grey but very slightly red
#declare wood_thickness = 0.5
#declare wall_thickness = 2
#declare right_wall_at = 10 // ( x - value )
#declare left_wall_at = -16 // ( x - value , wall not drawn since its not visible)
#declare front_wall_at = -1 // ( z - value )
#declare floor_at = -16 // ( y - value )
#declare roof_at = 7 // ( y - value )
#declare half_table_leg_thickness = 0.4 // half of thickness for tables legs
#declare window_width = 9 // width of the window on front wall
#declare window_height = 13 // height of the window on front wall
#declare half_window_frame_thickness = 0.25 // half of thickness of center cross in window
#declare right_seat =
difference {
union {
// top of seat
box { <4.90, -5, front_wall_at + 0.5>, <right_wall_at, -5 - wood_thickness, -11> }
// back of seat
box {
<wood_thickness/2, 3.5, front_wall_at + 0.5>, < -wood_thickness/2, -3.5, -11>
rotate <0, 0, -5>
translate <5.35 - wood_thickness/2, -8.5, 0>
}
// seat of seat
box { <5, -12, front_wall_at + 0.5>, <-1.25, -12 - wood_thickness, -11> }
// box under the seat
box { <right_wall_at, -12 - wood_thickness, front_wall_at>, <-0.5, floor_at, -10.5> }
// box behind seat
box { <5.25, -5 - wood_thickness, front_wall_at>, <right_wall_at, floor_at, -10.5> }
}
// minus the space for small shelves on the side (visible on ly in seat on left)
box { <6.25, -5 - wood_thickness - 1, front_wall_at + 1>, <right_wall_at - 1, floor_at + 1, front_w
all_at - 3>}
texture {
pigment { color rgb <1, 1, 1> }
}
}
// left seat will be just the right seat but translated, rotated, translated
#declare left_seat =
object {
right_seat
translate <-right_wall_at, 0, -front_wall_at>
rotate < 0, 180, 0>
translate <left_wall_at-4, 0, -10.5>
}
#declare table =
union {
box { <-4, 0.25, 4>, <4, 0.25 - wood_thickness, -4> }
// front leg
box { <-half_table_leg_thickness, 0.25 - wood_thickness, -5 + half_table_leg_thickness>, <half_tabl
e_leg_thickness, floor_at + 9.25, -5 - half_table_leg_thickness>}
// back leg
box { <-half_table_leg_thickness, 0.25 - wood_thickness, 3 + half_table_leg_thickness>, <half_table
_leg_thickness, floor_at + 9.25, 3 - half_table_leg_thickness>}
cylinder { <0, 0.25, -4>, <0, 0.25 - wood_thickness, -4>, 4 }
translate <-5.5, -8.75, -5>
texture {
pigment { color White }
}
}
#declare front_wall =
difference {
box { <left_wall_at-4, floor_at, front_wall_at>, <right_wall_at, roof_at, front_wall_at + wall_thic
kness> }
box { <-10, -9, -2>, <-1, 4, 2> } // minus a window and frame
texture {
pigment { color wall_color }
}
}
#declare window =
union {
box {
<-10, -9, front_wall_at + wall_thickness>, <-10 + window_width, -9 + window_height, front_wall_at
+ 0.5>
texture {
pigment { color White }
}
finish {
ambient 0.5 // to give the daylight look
}
}
// following union makes up the outer frame and the cross in the center of the window
union {
box {
<-10 + window_width/2 - half_window_frame_thickness, -9, front_wall_at + wall_thickness>,
<-10 + window_width/2 + half_window_frame_thickness, -9 + window_height, front_wall_at - 0.2>
}
box {
<-10, -9 + window_height/2 - half_window_frame_thickness, front_wall_at + wall_thickness>,
<-10 + window_width, -9 + window_height/2 + half_window_frame_thickness, front_wall_at - 0.2>
}
// the outer frame
difference {
box {
<-10 - 4*half_window_frame_thickness, -9 - 4*half_window_frame_thickness, front_wall_at + wal
l_thickness>,
<-10 + window_width + 4*half_window_frame_thickness, -9 + window_height + 4*half_window_frame
_thickness, front_wall_at - 0.2>
}
box {
<-10, -9, front_wall_at + wall_thickness + 1>, <-10 + window_width, -9 + window_height, front
_wall_at - 2>
}
}
texture {
pigment { color rgb<0.8, 0.8, 0.8> } }
}
}
// the camera position
camera {
location <-12,-3,-25>
look_at <-3,-6,0>
scale 1.1
}
// light from window
light_source {
<-5.5, -2.5, -1> color rgb<0.5, 0.5, 0.5>
area_light <9, 0, 0>, <0, 13, 0>, 4, 6
}
// light from top to give the shadow of the table falling on seats
light_source {
<-5.5, 7, -6.5> color White
area_light <3, 0, 0>, <0, 0, 3>, 6, 6 // are light for soft shadows
}
// light from wall opposite the window.. this helps to evenly illuminate the
// whole scene without any shadows from this light source
light_source {
<-3, -5, -20> color White
area_light <right_wall_at - left_wall_at, 0, 0>, <0, roof_at - floor_at, 0>, 18, 15
}
// put front wall
object {front_wall}
// put window
object { window }
// put right wall
box {
<right_wall_at, floor_at, front_wall_at>, <right_wall_at + 1, roof_at, -20>
texture {
pigment { color wall_color }
}
}
// put roof
box {
<-20, roof_at, front_wall_at>, <right_wall_at, roof_at + 1, -20>
texture {
pigment { color White }
}
finish {
ambient 0.4 // to make roof visible without lights pointing at it
}
}
// put table
object { table }
// put right seat
object { right_seat }
// put left seat
object { left_seat }