// Persistence of Vision Ray Tracer Scene Description File // File: .pov // Vers: 3.5 // Desc: radiomètre de Crookes // Date: 16 novembre 2001 // Auth:É.chap. // ==== Standard POV-Ray Includes ==== #include "colors.inc" // Standard Color definitions #include "textures.inc" // Standard Texture definitions #include "functions.inc" // internal functions usable in user defined functions // several different gold colors, finishes and textures #include "golds.inc" // various metal colors, finishes and textures // brass, copper, chrome, silver #include "metals.inc" // various glass finishes, colors and interiors // #include "glass.inc" camera { location <-7 , 2.5 ,10> look_at <0.0 , 5 , 0.0> } #declare Verre1= texture { T_Glass3 finish { phong 0.1 phong_size 0.01 }} #declare Fer1=texture { Aluminum normal { facets 0.5} } #declare Brillant=texture { Silver_Texture finish {phong 3 phong_size 0.1} } #declare Noire=texture { pigment { color Black} finish { crand 0.2}} #declare Blanche=texture { pigment { color White} finish { crand 0.2}} #declare Tmur=texture {brick texture{Fer1},texture{Cork} scale 0.3 } #declare Bulle1= union{ difference { //sphere { y*5,4.5} box{-1,1 rotate 45*z scale 3.5 translate y*5} //sphere { y*5,4.45} box{-1,1 rotate 45*z scale 3.45 translate y*5} cylinder{ 0,y*3,1.5}} difference { cylinder{ 0,y,1.5} cylinder{ 0,y,1.45}} texture { Verre1} } #declare Axe1= union { union {cone {y*5,0,y*5.05,0.01} cylinder { y*5.05,y*5.15,0.01} texture { Fer1} } difference { sphere { y*5,0.25} sphere { y*5,0.24} cylinder { 0,y*4.5,0.26} texture { Verre1}} difference { cylinder { y*5,y*4.5,0.25} cylinder { y*5,y*4.5,0.24} texture { Verre1}} } #declare Aile1= union { cylinder { y*5,y*5+x*2,0.1 texture {Fer1}} box { <1,1,0.085>,<-1,-1,0.2> rotate z*45 translate y*5+x+x texture { Noire}} box { <1,1,0.11>,<-1,-1,0.21> rotate z*45 translate y*5+x+x texture { Brillant}} } object { Bulle1} object { Axe1 } #declare i=0; # while (i<4) object { Aile1 rotate y*i*90} #declare i=i+1; #end cylinder { 0,y*4.5,0.15 texture { Verre1}} cylinder { 0,y*-1, 5 texture {Fer1}} cylinder { -y-y,y*-1, 8 texture {Fer1}} box { <-100,-100,15>,<100,100,16> texture { Tmur}} box { <-100,15,-100>,<100,16,100> texture { Tmur}} box { <-100,-100,-15>,<100,100,-16> texture { Tmur}} box { <-100,-15,-100>,<100,-16,100> texture { Tmur}} box { <15,-100,-100>,<16,100,100> texture { Tmur}} box { <-15,-100,-100>,<-16,100,100> texture { Tmur}} light_source { <0,12.5,12.0> color White }