#version 3.7; global_settings { assumed_gamma 1.0 max_trace_level 8 } background { color rgb <0.92, 0.94, 0.98> } camera { location <3.2, 1.7, -4.6> look_at <0.0, 1.1, 0.0> angle 45 } light_source { <6, 7, -6> color rgb <1.00, 0.98, 0.95> } light_source { <-5, 4, -2> color rgb <0.55, 0.60, 0.70> } #declare Tex_Wall = texture { pigment { color rgb <0.86, 0.86, 0.88> } finish { diffuse 0.85 specular 0.08 roughness 0.06 } } #declare Tex_Floor = texture { pigment { color rgb <0.55, 0.42, 0.30> } finish { diffuse 0.85 specular 0.12 roughness 0.08 } } #declare Tex_Ceiling = texture { pigment { color rgb <0.93, 0.93, 0.94> } finish { diffuse 0.9 specular 0.03 roughness 0.08 } } #declare Tex_Desk = texture { pigment { color rgb <0.35, 0.24, 0.16> } finish { diffuse 0.85 specular 0.15 roughness 0.05 } } #declare Tex_DarkPlastic = texture { pigment { color rgb <0.10, 0.11, 0.12> } finish { diffuse 0.6 specular 0.35 roughness 0.03 } } #declare Tex_Screen = texture { pigment { color rgb <0.05, 0.08, 0.12> } finish { diffuse 0.2 specular 0.55 roughness 0.01 reflection 0.08 } } #declare Tex_Metal = texture { pigment { color rgb <0.65, 0.67, 0.70> } finish { diffuse 0.35 specular 0.6 roughness 0.02 reflection 0.12 } } #declare RoomSize = <6, 3, 6>; // x,y,z half-extents-ish usage below // Floor box { <-RoomSize.x/2, 0, -RoomSize.z/2>, texture { Tex_Floor } } // Ceiling box { <-RoomSize.x/2, RoomSize.y, -RoomSize.z/2>, texture { Tex_Ceiling } } // Back wall (positive z) box { <-RoomSize.x/2, 0, RoomSize.z/2>, texture { Tex_Wall } } // Left wall (negative x) box { <-RoomSize.x/2-0.02, 0, -RoomSize.z/2>, <-RoomSize.x/2, RoomSize.y, RoomSize.z/2> texture { Tex_Wall } } // Right wall (positive x) box { , texture { Tex_Wall } } // Simple desk union { // tabletop box { <-1.6, 0.74, 1.0>, <1.6, 0.80, 2.2> texture { Tex_Desk } } // legs box { <-1.5, 0.02, 1.05>, <-1.35, 0.74, 1.20> texture { Tex_Desk } } box { < 1.35, 0.02, 1.05>, < 1.5, 0.74, 1.20> texture { Tex_Desk } } box { <-1.5, 0.02, 2.00>, <-1.35, 0.74, 2.15> texture { Tex_Desk } } box { < 1.35, 0.02, 2.00>, < 1.5, 0.74, 2.15> texture { Tex_Desk } } } // Monitor union { // frame box { <-0.55, 0.92, 1.55>, <0.55, 1.62, 1.70> texture { Tex_DarkPlastic } } // screen inset box { <-0.48, 0.98, 1.695>, <0.48, 1.56, 1.705> texture { Tex_Screen } } // stand neck box { <-0.08, 0.82, 1.60>, <0.08, 0.92, 1.68> texture { Tex_DarkPlastic } } // stand base box { <-0.30, 0.78, 1.72>, <0.30, 0.82, 2.05> texture { Tex_DarkPlastic } } } // Keyboard box { <-0.55, 0.80, 1.88>, <0.55, 0.84, 2.12> texture { Tex_DarkPlastic } } // Mouse union { sphere { <0.85, 0.835, 2.02>, 0.07 texture { Tex_DarkPlastic } } sphere { <0.85, 0.835, 2.08>, 0.06 texture { Tex_DarkPlastic } } } // Computer tower (on floor to the right of desk) union { box { <1.85, 0.02, 1.35>, <2.35, 0.92, 1.85> texture { Tex_DarkPlastic } } // front panel highlight box { <2.345, 0.08, 1.38>, <2.355, 0.86, 1.82> texture { Tex_Metal } } // power button sphere { <2.33, 0.78, 1.45>, 0.03 texture { Tex_Metal } } }