#include "colors.inc" #include "woods.inc" #include "tomate.pov" #include "table.pov" #include "panier.pov" #include "mur.pov" #include "chaise.pov" #include "horloge.pov" //POSITIONNEMENT DE LA CAMERA camera{ //orthographic location <0,-85,45> look_at <0,20,0> angle 80 translate <20,0,0> rotate <17,0,0> } global_settings { assumed_gamma 2.2 max_trace_level 25 } //background{color Gray90 } //Source lumineuse se trouvant à l'intérieur de la pièce // "shadowless" permet de cacher les ombres, ce qui donne l'impression que la pièce n'est éclairé que par la lumière du soleil light_source{<0,-50,-20> color White shadowless } //Source lumineuse correspondant au soleil light_source { <-5,100,30> color 2*White area_light <5, 0, 0>, <0, 5, 0>, 50, 50 adaptive 1 jitter //circular } // POSITIONNEMENT DES TOMATES DANS LE PANIER #declare panitom= union{ object {tom scale 4 translate <2.5,2.6,0> rotate 90*x} object {tom scale 3.8 translate <-2.5,2.5,0> rotate 90*x} object {tom scale 3.5 translate <-3,5.5,0> rotate <110,0,20>} object {tom3 scale 3.2 translate <-1,5,0> rotate <70,0,10>} object {tom scale 3.8 translate <2.5,5,0> rotate 110*x} object {tom2 scale 3.3 translate <1,7.5,0> rotate <90,-5,0>} object {tom scale 3 translate <2.5,6,0> rotate 70*x} object {tom scale 2.5 translate 7.5*y rotate 65*x} object {tom scale 2.5 translate 7*y rotate 115*x} object {tom scale 2.8 translate <-3,7.5,0> rotate 70*x} object {tom3 scale 2.5 translate <-3,7.5,0> rotate <105,-10,0>} object {tom2 scale 2 translate <3.2,7,0> rotate <105,10,0>} object{panier} } object{panitom} // PLACEMENT DES TOMATES SUR LA TABLE #declare tabletom= union{ object {tom2 scale 3.5 translate <17.5,1.5,2> rotate 90*x } object {tom scale 3.3 translate <12.5,1.5,9> rotate 90*x} object {tom scale 3 translate <20.5,1.5,-5> rotate 90*x } object {tom3 scale 3 translate <10.5,1.5,0> rotate 90*x } object {tom scale 3.3 translate <8.5,1.5,-6> rotate 90*x } object {tom2 scale 3 translate <5.5,1.5,7> rotate 90*x } object {tom scale 2.8 translate <18,1.5,8> rotate 90*x } } object{tabletom} //EMPLACEMENT DE LA TABLE object {table scale 0.3 rotate 90*x translate 5*x} //EMPLACEMENT DES CHAISES object{chaise scale 0.35 rotate <90,0,-90> translate <30,-7,-18>} object{chaise scale 0.35 rotate <90,0,110> translate <-15,-17,-18>} //EMPLACEMENT DE L'HORLOGE object {horloge scale 0.3 rotate 90*x translate <50,55,0>} //PLACEMENT DES MURS object {piece rotate 90*x scale 0.225 translate <0,30,15>} //PAYSAGE plane {z,0 translate <0,0,-500> pigment {image_map {jpeg "Prairie.jpg" interpolate 4} scale <2,2,0>*400} rotate 90*x scale 2 translate 600*y translate -800*z translate 600*x}