global_settings{ assumed_gamma 1.0 } #default{ finish{ ambient 0.1 diffuse 0.9 }} //------------------------------------------------------------------------ #include "colors.inc" #include "textures.inc" #include "glass.inc" #include "metals.inc" #include "golds.inc" #include "stones.inc" #include "woods.inc" #include "shapes.inc" #include "shapes2.inc" #include "functions.inc" #include "math.inc" #include "transforms.inc" //------------------------------------------------------------------------ // sun ------------------------------------------------------------------- light_source{<1500,2500, 2500> color White} light_source{<-1500,2500, -2500> color White/2} light_source{<1500,2500, -2500> color White/3} // sky ------------------------------------------------------------------- sky_sphere{ pigment{ gradient <0,1,0> color_map{ [0 color rgb<1,1,1> ]//White [0.4 color rgb<0.14,0.14,0.56>]//~Navy [0.6 color rgb<0.14,0.14,0.56>]//~Navy [1.0 color rgb<1,1,1> ]//White } scale 2 } } // end of sky_sphere //------------------------------------------------------------------------ //------------------------------ the Axes -------------------------------- #macro Axis_( AxisLen, Dark_Texture,Light_Texture) union{ cylinder { <0,-AxisLen,0>,<0,AxisLen,0>,0.05 texture{checker texture{Dark_Texture } texture{Light_Texture} translate<0.1,0,0.1> scale 1/2} } cone{<0,AxisLen,0>,0.2,<0,AxisLen+0.7,0>,0 texture{Dark_Texture} } } // end of union #end // of macro "Axis()" //------------------------------------------------------------------------ #declare Texture_A_Dark = texture { pigment{ color rgb<1,0.45,0>} finish { phong 1} } #declare Texture_A_Light = texture { pigment{ color rgb<1,1,1>} finish { phong 1} } #declare Verso = texture { pigment { color srgb<0.25,0.5,1>}} #declare ClCol01=color rgb <0.8, 0.7, 0.4>; #declare ClCol02=color rgb <0.07, 0.12, 0.4>; #declare ClCol03=color rgb <0.9, 0.12, 0.07>; #declare ClCol04=color rgb <0.09, 0.9, 0.4>; #declare WID = 5; #declare CPig1= pigment { gradient x //triangle_wave color_map { [WID*0.04 ClCol01 ] [WID*0.04 ClCol02 ] [WID*0.06 ClCol02 ] [WID*0.06 ClCol01 ] [WID*0.09 ClCol01 ] [WID*0.09 ClCol03 ] [WID*0.13 ClCol03 ] [WID*0.13 ClCol01 ] [WID*0.16 ClCol01 ] [WID*0.16 ClCol03 ] [WID*0.18 ClCol03 ] [WID*0.18 ClCol01 ] } } #declare CPig2= pigment { gradient y //triangle_wave pigment_map { [WID*0.04 CPig1 ] [WID*0.04 ClCol02 ] [WID*0.06 ClCol02 ] [WID*0.06 CPig1 ] [WID*0.09 CPig1 ] [WID*0.09 ClCol04 ] [WID*0.13 ClCol04 ] [WID*0.13 CPig1 ] [WID*0.16 CPig1 ] [WID*0.16 ClCol04 ] [WID*0.18 ClCol04 ] [WID*0.18 CPig1 ] } } #declare Verso = texture { pigment { CPig2 } scale 1/8 } #declare Recto = texture { pigment { color rgb 1 } finish { Glossy } } texture { pigment { image_map { "povmap"} } scale 0.22 }