// Last edited on 2003-04-12 03:35:07 by stolfi #include "colors.inc" #include "metals.inc" #include "textures.inc" #include "skies.inc" #declare ctr = <0, 0, 0>; #declare vis = <-3, 0, -6>; #declare cam = vis + 5*y; camera { location ctr + 1.9*cam right -0.6*x up 0.8*y sky y look_at ctr } box{ <-20,-3,-20>,<20,-2.001,20> texture{Jade}} sky_sphere {S_Cloud5} light_source { ctr + 10*(vrotate(vis, 90*y) + 8*y) color 1.3*White } light_source { ctr + 10*(vrotate(vis, -20*y) + 3*y) color 0.5*White } light_source { <0,0,0 > color White } merge{ torus{ 1,.2 rotate x*110 scale <1.5,1,1> translate <0,0,-.5>} torus{ 1,.2 rotate x*110 scale <1.5,1,1>translate <0,0,-1>} torus{ 1,.2 rotate x*110 scale <1.5,1,1>} torus{ 1,.2 rotate x*110 scale <1.5,1,1>translate <0,0,.5>} torus{ 1,.2 rotate x*110 scale <1.5,1,1>translate <0,0,1>} torus{ 1,.2 rotate x*110 scale <1.5,1,1>translate <0,0,1.5>} box{ <-1.51, 0, 2.5>,<1.51,1,3.5> texture{pigment{P_Chrome3} finish{F_MetalC} } } // botao de igniçao box {<0,.9,2.8>,<1.4,1.1,3.2> pigment{Red} finish{ambient 1 diffuse 1}} //botoes transparentes box {<-1.3,.9,3.1>,<-1,1.1,3.3> texture{finish {ambient 0.1 diffuse 0.1 reflection 0.25 specular 1 roughness 0.001} pigment {color Red filter 1}}} box {<-1.3,.9,2.8>,<-1,1.1,3> texture{finish {ambient 0.1 diffuse 0.1 reflection 0.25 specular 1 roughness 0.001} pigment {color Yellow filter 1}}} box {<-1.3,.9,2.5>,<-1,1.1,2.7> texture{finish {ambient 0.1 diffuse 0.1 reflection 0.25 specular 1 roughness 0.001} pigment {color Green filter 1}}} // porta copos1 difference{ cylinder {<-2.5,1,1>,<-2.5,3,1>,.7} cylinder{<-2.5,1.2,1>,<-2.5,3.1,1>,.5} texture{finish {ambient 0.1 diffuse 0.2 reflection 0.25 specular 1 roughness 0.001} pigment {color Blue filter 0.98}} } // porta copos2 difference{ cylinder {<2.5,1,1>,<2.5,3,1>,.7} cylinder{<2.5,1.2,1>,<2.5,3.1,1>,.5} texture{finish {ambient 0.1 diffuse 0.2 reflection 0.25 specular 1 roughness 0.001} pigment {color Blue filter 0.98}} } difference{ box{ <-5,-2, -1.5>,<-1.5, 1, 3.5>} cylinder{ <-5,-.5,-2>,<-5,-.5,4>, 2} texture{pigment{P_Chrome3} finish{F_MetalC} } } difference{ box{ <-5,-2, -1.5>,<-1.5, 1, 3.5>} cylinder{ <-5,-.5,-2>,<-5,-.5,4>, 2} scale <-1,1,1> texture{pigment{P_Chrome3} finish{F_MetalC} } } texture{pigment{P_Silver3} finish{F_MetalC} } }