#version 3.5; #include "Cucina.inc" global_settings{ assumed_gamma 1.0 } // ---------------------------------------- #declare Cam1 = camera { location <3.5, 1.8, -3> look_at <1.4, 1.7, 0.2> } #declare Cam2 = camera { location <1.388, 1.8, -4> look_at <1.388, 1.7, 0.2> } #declare Cam3 = camera { location <1.388, 1.8, > look_at <1.629-1.35-0.25, 1.3,-1.22> } camera{Cam1} // create a point "spotlight" (conical directed) light source light_source { 0*y // light's position (translated below) color rgb <1,1,1> // light's color spotlight // this kind of light source translate <1.764, 1.8, -0.5> // position of light point_at <1.764, 0, -0.5> // direction of spotlight radius 30 // hotspot (inner, in degrees) tightness 80 // tightness of falloff (1...100) lower is softer, higher is tighter falloff 35 // intensity falloff radius (outer, in degrees) } light_source { 0*y // light's position (translated below) color rgb <1,1,1> // light's color spotlight // this kind of light source translate <1.764, 1.8, 0.25> // position of light point_at <1.764, 0, 0.25> // direction of spotlight radius 30 // hotspot (inner, in degrees) tightness 80 // tightness of falloff (1...100) lower is softer, higher is tighter falloff 35 // intensity falloff radius (outer, in degrees) } light_source { 0*x // light's position (translated below) color rgb <1,1,1> // light's color translate <1.764, 1.8, 0.125> fade_distance 0.5 fade_power 1 } // create a regular point light source light_source { 0*x // light's position (translated below) color rgb <1,1,1> // light's color translate <-0.621+2.25+0.6, 2.8, -0.95> fade_distance 2.5 fade_power 1 } light_source { 0*x // light's position (translated below) color rgb <1,1,1> // light's color translate <-0.621+2.25+4.5-0.6, 2.8, -0.95> fade_distance 2.5 fade_power 1 } // ---------------------------------------- plane { z,0.6 texture {Muro} } plane { y,2.85 texture {Muro} } plane { x,-0.621 texture {Muro} } plane { y,0 pigment { checker pigment{White},pigment{Black} rotate<0,45,0> scale 0.33} } // ARCO object { difference { box{<-2.25,0,0>,<2.25,2.9,0.19>} box{<-1.60,-0.1,-0.1>,<1.60,1.5,0.2>} cylinder{<0,1.5,-0.1>,<0,1.5,0.2>,1 scale <1.35,1,1>} } translate<1.629,0,-1.19> texture{Muro} } //Colonnina #declare colonna = object { union { box {<0,0,0>,<0.251,1.4,0.25> texture { brick texture{pigment{Gray70} normal{bumps 0.9}}, texture{pigment{Firebrick} normal {bumps 0.3 scale 0.025}} brick_size <0.261,0.06,0.261> mortar 0.01 } } box {<-0.03,1.4,-0.03>,<0.28,1.5,0.28> texture {Muro}} } } object {colonna translate <1.629-1.35-0.25, 0,-1.22>} object {colonna translate <1.629+1.35, 0,-1.22>} //|-------|---T4--|--t7-| //|-------|-------|-----| //|-------|--SP4--|-SP6-M //|-------|-------|-----8 //|-------|=======|-----| //|-------|-------|--P6-| //|-------|-------| //|-------|-------| //|-------|--SP3--M //|-------|-------3 //|-------|-------| //|-------|--P3---| //|-------|============== //|-------|-------|-----| //|-------|-------|-----| //m--SPf--m-SP1---M-SP2-M //m-------f-------1-----2 //|---Pf--|--P1---|-P2--| // Piano object{ union { box {<0,0.904,-0.03>,<1.388,0.939,0.60>} box {<1.358,0.904,-0.63>,<2.161,0.939,0.60>} } pigment {Gray90} } // P1 object{union{Fila(0.84,0)}} // P2 object{union{Fila(0.34,0)} translate<0.84+0.104,0,0>} // M1 object{union{Fila(0,0.904)} translate<0.84,0,0>} // M2 object{union{Fila(0,0.904)} translate<0.84+0.104+0.34,0,0>} // SP1 cornice object{Cornice(0.84,0.80) translate<0,0.104,0>} // SP1 ante object{Sportello(0.40,0.76) translate<0.02 ,0.104+0.02,0>} object{Sportello(0.40,0.76) translate<0.02 + 0.40,0.104+0.02,0>} // SP2 cornice object{Cornice(0.34,0.80) translate<0.84 + 0.104,0.104,0>} // SP2 Anta object{Sportello(0.30,0.76) translate<0.84 + 0.104 + 0.02 , 0.104 + 0.02 ,0>} // MF object{union{Fila(0,2.821)} translate<-0.104,0,0> rotate <0,-33.485,0>} // mm object{union{Fila(0,1.869+0.104)} rotate <0,-90,0> translate<-0.620,0,-0.514>} //spf cornice object{Cornice(0.64,1.869) translate<-0.744,0.104,0> rotate <0,-33.485,0>} //spf object{Sportello(0.60,1.829) translate<-0.724,0.124,0> rotate <0,-33.485,0>} // pf object{union{Fila(0.64,0)} translate<-0.744,0,0> rotate <0,-33.485,0>} // P3 object{union{Mezza_fila(0.84,0.05)} translate<0,0.939,0>} // M3 object{union{Fila(0,1.882)} translate<0.84,0.939,0>} // SP3 cornice object{Cornice(0.84,1.03) translate<0,0.939+0.054,0>} // SP3 ante object{Sportello(0.40,0.99) translate<0.02 ,0.939+0.054+0.02,0>} object{Sportello(0.40,0.99) translate<0.02 + 0.40,0.939+0.054+0.02,0>} // SP4 cornice object{Cornice(0.84,0.69) translate<0,2.023+0.054,0>} //SP4 ante object{Sportello(0.40,0.65) translate<0.02 ,2.023+0.054+0.02,0>} object{Sportello(0.40,0.65) translate<0.02 + 0.40,2.023+0.054+0.02,0>} // T4 object{union{Mezza_fila(0.84,0.05)} translate<0,2.023+0.054+0.69,0>} // T7 object{union{Mezza_fila(0.34,0.05)} translate<00.84+0.104,2.767,0>} // P6 object{union{Mezza_fila(0.34,0.05)} translate<0.84+0.104,1.913,0>} // Travicelli sotto P6 object{box{<0,0,0>,<0.554,0.05,0.05>} texture {Legno_O} translate<0.84+0.104,1.863,-0.008>} object{box{<0,0,0>,<0.554,0.05,0.05>} texture {Legno_O} translate<0.84+0.104,1.863,0.275>} object{box{<0,0,0>,<0.554,0.05,0.05>} texture {Legno_O} translate<0.84+0.104,1.863,0.55>} // SP6 cornice object{Cornice(0.34,0.80) translate<0.84+0.104,1.913+0.054,0>} // SP6 Anta object{Sportello(0.30,0.76) translate<0.84 + 0.104 + 0.02, 1.913 + 0.054 + 0.02,0>} // M8 object{union{Fila(0,0.908)} translate<0.84+0.104+0.34,1.913,0>} // SP6 corpo object{box{<0,0,0.002>,<0.34+0.104,0.908,0.6>} texture { Muro } translate<0.84+0.104,1.913,0>} // Intermezzo SP3 - SP4 object{box{<0,0,0>,<0.84,0.054,0.025>} texture {Legno_O} translate <0,2.023,0>} //---------| //-----t6//| //--|///--/| //--|/----/M //--|/----M7 //--|/----6| //M-MM----/| //3-45----/| //--|/----/ //--|/--// //--|///P5 //--|/ //--| //Spigolo in legno object{cylinder{<0,0,0>,<0,0.924,0>,0.02} texture{Legno_V} translate<0.84+0.104,0.939,0.01>} // M4 object{union{Fila(0,0.924)} rotate <0,-90,0> translate<0.84+0.104+0.01,0.939,0.01>} //M5 object{union{Fila(0,0.924)} translate<0.84+0.104+0.01,0.939,0.114>} //M7 object{union{Fila(0,0.924)} rotate <0,-90,0> translate<1.388,0.939,0.446>} //P5 object{union{Mezza_fila(0.468,0.05)} rotate<0,-45.173,0> translate <1.058,0.939,0.114>} //t6 object{union{Mezza_fila(0.468,0.05)} rotate<0,-45.173,0> translate <1.058,1.809,0.114>} // Cornice vetrina object{Cornice(0.468,0.816) rotate<0,-45.173,0> translate <1.058,0.939+0.054,0.114>} // Vetrina object{Sportello_v(0.428,0.776) rotate<0,-45.173,0> translate <1.058+0.013,0.939+0.054+0.02,0.114+0.015>} // Pensile laterale SX // -------Ta------- // |--------------| // |--------------| // M--------------| // a--------------| // |--------------| // |--------------| // 0------Pa------- object { box{<0,0,0.001>,<0.84+0.104,0.798,0.621>} texture{Muro} rotate<0,-90,0> translate<-0.0867, 2.023 ,-0.0573 - 0.84 - 0.104> } object { union { object {union{Mezza_fila(0.84,0.05)} translate <0.104,0,0>} // Pa object {union{Mezza_fila(0.84,0.05)} translate <0.104,0.054 + 0.69,0>} //Ta object {union{Fila(0,0.798)}} //Ma } rotate<0,-90,0> translate<-0.0867, 2.023 ,-0.0573 - 0.84 - 0.104> } // Cornice pensile object{ Cornice(0.84,0.69) translate<0.104,0.054,0> rotate<0,-90,0> translate<-0.0867, 2.023 ,-0.0573 - 0.84 - 0.104> } //Ante pensile object { union { object{Sportello(0.40,0.65) translate<0.124,0.074,0> } object{Sportello(0.40,0.65) translate<0.124+0.4,0.074,0> } } rotate<0,-90,0> translate<-0.0867, 2.023 ,-0.0573 - 0.84 - 0.104> } // Travetti sotto pensile laterale SX object {box{<0,0,0>,<1,0.05,0.05>} texture {Legno_O} translate <0,0,-0.008> rotate<0,-90,0> translate<-0.0867, 1.973 ,-0.0573 - 0.84 - 0.104> } object {box{<0,0,0>,<1,0.05,0.05>} texture {Legno_O} translate <0,0,0.241> rotate<0,-90,0> translate<-0.0867, 1.973 ,-0.0573 - 0.84 - 0.104> } object {box{<0,0,0>,<1,0.05,0.05>} texture {Legno_O} translate <0,0,0.483> rotate<0,-90,0> translate<-0.0867, 1.973 ,-0.0573 - 0.84 - 0.104> } // ZONA COTTURA // 6 file lungo -Z object { union { object{ union{Fila(0,0.904)} translate <0,0,0>} object{ union{Fila(0,0.904)} translate <0.104,0,0>} object{ union{Fila(0,0.904)} translate <0.104*2,0,0>} object{ union{Fila(0,0.904)} translate <0.104*3,0,0>} object{ union{Fila(0,0.904)} translate <0.104*4,0,0>} object{ union{Fila(0,0.904)} translate <0.104*5,0,0>} } rotate<0,90,0> translate <1.388,0,0.036> } // 7 file lungo X object { union { object{ union{Fila(0,0.904)} translate <0,0,0>} object{ union{Fila(0,0.904)} translate <0.104,0,0>} object{ union{Fila(0,0.904)} translate <0.104*2,0,0>} object{ union{Fila(0,0.904)} translate <0.104*3,0,0>} object{ union{Fila(0,0.904)} translate <0.104*4,0,0>} object{ union{Fila(0,0.904)} translate <0.104*5,0,0>} object{ union{Fila(0,0.904)} translate <0.104*6,0,0>} } translate <1.4,0,-0.588-0.012> } // Spigolo in legno SX object{cylinder{<0,0,0>,<0,0.904,0>,0.02} texture{Legno_V} translate <1.388+0.012,0,-0.588>} // Spigolo in legno DX object{cylinder{<0,0,0>,<0,0.904,0>,0.02} texture{Legno_V} translate <2.128,0,-0.588>} //LAto forno //|---C1--"-C2| //|-------"---| //M---SPF-"---M //1-------"---2 //|-------"---| //O---P1--"---| //M1 object{union{Fila(0,0.904)} rotate <0,-90,0> translate<2.140,0,-0.588>} //M2 object{union{Fila(0,0.904)} rotate <0,-90,0> translate<2.140,0,0.496>} //P1 object{union{Fila(0.98,0)} rotate <0,-90,0> translate<2.140,0,-0.588+0.104>} //Cornice SPF object{Cornice(0.64,0.64) rotate <0,-90,0> translate<2.140,0.104+0.16,-0.588+0.104>} //Forno object { box{<0,0,0>,<0.6,0.6,0.02>} pigment { image_map { jpeg "Forno.jpg" map_type 0 once } scale <0.6,0.6,0.1> } finish { phong 0.3 ambient 0.2 } rotate <0,-90,0> translate<2.140,0.104+0.02+0.16,-0.568+0.104+0.02> } // cornice C1 object{Cornice(0.64,0.16) rotate <0,-90,0> translate<2.140,0.104,-0.588+0.104>} //cornice cassettiera object{Cornice(0.34,0.80) rotate <0,-90,0> translate<2.140,0.104,-0.588+0.104+0.64>} //cassetti object{ Sportello(0.30,0.16) rotate <0,-90, 0> translate <2.140, 0.104+0.02, 0.156+0.02> } object{ box{<0,0,-0.008>,<0.3,0.04,0.01> texture {Legno_O}} rotate <0,-90, 0> translate <2.140, 0.104+0.02+0.16, 0.156+0.02>} object{ Sportello(0.30,0.16) rotate <0,-90, 0> translate <2.140, 0.104+0.02+0.20, 0.156+0.02> } object{ box{<0,0,-0.008>,<0.3,0.04,0.01> texture {Legno_O}} rotate <0,-90, 0> translate <2.140, 0.104+0.02+0.16+0.20, 0.156+0.02>} object{ Sportello(0.30,0.16) rotate <0,-90, 0> translate <2.140, 0.104+0.02+0.40, 0.156+0.02> } object{ box{<0,0,-0.008>,<0.3,0.04,0.01> texture {Legno_O}} rotate <0,-90, 0> translate <2.140, 0.104+0.02+0.16+0.40, 0.156+0.02>} object{ Sportello(0.30,0.16) rotate <0,-90, 0> translate <2.140, 0.104+0.02+0.60, 0.156+0.02> } // Fornelli object { box {<0,0,0>,<0.86,0.50,0.03>} pigment { image_map { jpeg "Piano.jpg" map_type 0 once } scale<0.86,0.50,0.03> } finish { phong 0.8 ambient 0.5 diffuse 0.6 } rotate<0,-90,0> rotate<0,0,90> translate<2.128-0.121,0.949,-0.588+0.104> } // Archetto fondale object { difference { box{<-0.376,0,-0.05>,<0.376,1.5,0>} cylinder{<0,0.53,-0.06>,<0,0.53,0.01>,0.276} box{<-0.276,0.53,-0.06>,<0.276,-0.01,0.01>} } texture{Muro} translate<1.388+0.376,0.939,0.6> } // Travi porta-K //TRAVE SX object { union { intersection { box{<-0.1,0,0>,<0.1,0.1,-1.2>} cylinder {<0,0.1,-1.1>,<0.1,0.1,-1.1>,0.1} } box{<0,0,0>,<0.1,0.1,-1.1>} } texture {Legno_O rotate<0,90,0>} translate<1.388,1.813,0.6> } //TRAVE DX object { union { intersection { box{<-0.1,0,0>,<0.1,0.1,-1.2>} cylinder {<0,0.1,-1.1>,<0.1,0.1,-1.1>,0.1} } box{<0,0,0>,<0.1,0.1,-1.1>} } texture {Legno_O rotate<0,90,0>} translate<2.04,1.813,0.6> } // / / // L1 L2 // / / // /___L3__/ // |_______| object { difference { box{<1.388-0.029, 1.913, -0.63>,<2.14+0.029,1.913+0.104,0.6>} box{<1.388-0.029 + 0.05, 1.9, -0.63+0.05>,<2.14 + 0.029 - 0.05, 2.1 ,0.6>} } pigment {Gray40} } // L1 object{union{Fila(1.23,0)} rotate <0,90,0> translate<1.388-0.03,1.913, 0.6>} // L3 object{union{Fila(0.812,0)} translate<1.388-0.03,1.913,-0.63>} // L2 object{union{Fila(1.23,0)} rotate <0,-90,0> translate<1.388-0.03+0.812,1.913,-0.63>} // Mensola sup L1 object { Round_Box_Merge(<0,0,0>, <1.25,0.025,0.1>, 0.0125) texture{Legno_O} rotate <0,90,0> translate<1.388-0.05,1.913+0.104, 0.6>} // Mensola sup L2 object { Round_Box_Merge(<0,0,0>, <1.25,0.025,0.1>, 0.0125) texture{Legno_O} rotate <0,-90,0> translate<1.388-0.03 + 0.812 + 0.02, 1.913 + 0.104,-0.65>} // Mensola sup L3 object { Round_Box_Merge(<0,0,0>, <0.730,0.025,0.1>, 0.0125) texture{Legno_O} translate<1.388-0.09 + 0.104,1.913 +0.104,-0.65>} // Kappa in muratura // p1---|p2 p7|---p8 // | | | | // | /p4 p5\ | // | / \ | // | / \ | // |/ \| // p3--------------p6 object { #declare P1 = <0,0,0>; #declare P2 = <0.156,0.678,0>; #declare P3 = <0,0,-1.18>; #declare P4 = <0.156,0.678,-0.52>; #declare P5 = <0.556,0.678,-0.52>; #declare P6 = <0.712,0,-1.18>; #declare P7 = <0.556,0.678,0>; #declare P8 = <0.712,0,0>; mesh { triangle { P1,P2,P4 } triangle { P1,P4,P3 } triangle { P3,P4,P5 } triangle { P3,P5,P6 } triangle { P5,P6,P8 } triangle { P5,P7,P8 } } texture {Muro} translate<1.408,2.043,0.60> } // Tappo K object { box{<0.156,0.678,0>,<0.556,0.678+0.1,-0.52>} texture {Muro} translate<1.408,2.043,0.60> } // Fondo K object { box{<0,0,0>,<0.752,0.678+0.1,0.025>} texture {Muro} translate<1.388,2.043,0.30> } // Pensile DX kappa //|--T7---| //|-------| //|-------| //9--Sp7--| //M-------m10 //|-------| //|-------| //|--P6---| //Corpo object{box{<0,0,0>,<0.34+0.208,0.908,-0.449>} texture {Muro} translate<2.14,1.913,0.6>} // T7 object{union{Mezza_fila(0.34,0.05)} translate<2.14+0.104,2.767,0.15>} // P6 object{union{Mezza_fila(0.34,0.05)} translate<2.14+0.104,1.913,0.15>} // SP7 cornice object{Cornice(0.34,0.80) translate<2.14+0.104,1.913+0.054,0.15>} // SP7 Anta object{Sportello(0.30,0.76) translate<2.14 + 0.104 + 0.02, 1.913 + 0.054 + 0.02,0.15>} // M9 object{union{Fila(0,0.908)} translate<2.14,1.913,0.15>} // M10 object{union{Fila(0,0.908)} translate<2.14+0.104+0.34,1.913,0.15>} // Travicelli sotto sp7 object{box{<0,0,0>,<-0.554,0.05,0.05>} texture {Legno_O} translate<2.14+0.548,1.863,0.15>} object{box{<0,0,0>,<-0.554,0.05,0.05>} texture {Legno_O} translate<2.14+0.548,1.863,0.55>} object{box{<0,0,0>,<0.05,0.05,-0.45>} texture {Legno_O} translate<2.14+0.548-0.05,1.863-0.05,0.6>} // Mensole #declare Mensola = object { intersection { box{<0,-0.1,0>,<0.40,0.1,-0.40>} cylinder{<0,0,0>,<0,0.025,0>,0.40} } texture {Legno_O} } object {Mensola translate<2.14+0.548,2.013,0.6>} object {Mensola translate<2.14+0.548,2.013+0.45,0.6>}