camera { location <10,40-clock*10,-150-clock*30> // <10,40-clock*10,-150-clock*30> //panoramic angle 70 right x*2 //up 0.66 look_at <-10,15,0> } // <-10,15,0> #declare recul=60; //#global_settings { ambient_light color rgb 3 } #declare surf= texture { pigment { color rgbf <0.07,0.48,0.65,0.5>*1.3 } //f 0.3 finish { specular 0.65 roughness 1/4000 reflection 0.38 //ambient 0.02 diffuse 0.2 //brilliance 1.5 } normal { bozo 0.2 scale <1,1,1>*0.9 turbulence 0.6 phase clock*0.1} /* normal { bump_map { gif "lum2.gif" interpolate 2 bump_size 1 } translate <-0.5,-0.5,0> scale <420,420,1>*1 rotate x*90 translate <-30,0,750> } */ } #declare trou= difference { cylinder { <-1000,0,0>,<1000,0,0>,200 scale <1,2,1> } plane { z,0 inverse } translate y*-40 translate z*-recul } //union { //object { trou } //difference { plane { y,0 //plane { z,-recul }} texture { surf } interior { ior 1.5 fade_distance 8 fade_power 1 } hollow } plane { y,-100 pigment { color rgb <0.02,0.45,0.7> } } // soleil //sphere { <1700,2,2700>*100,20000 //pigment { color rgb <1,0.314,0.125> } //finish { ambient 0.8 diffuse 1} //no_shadow //} light_source { <1700,2000,2700>*10000 color rgb <1,0.95,0.92>*1.6 //light_source { <1700,2,2700>*100 color rgb <1,0.514,0.325>*1.6 media_attenuation on //spotlight //radius 30 //falloff 35 //point_at <0,0,0> } //sphere { <17000000,16000000,27000000>,10 //pigment { color rgb <0.7,0.1,0.1> } //finish { ambient 1 } //} #declare nuages= box { <-100000,0,-1000>,<10000,400,1000000> hollow pigment { rgbf 1 } finish { brilliance 10 diffuse 2 ambient 0 } interior { media { samples 1, 20 // 20 intervals 30 // 25 confidence 0.99 variance 1/128 scattering { 2, rgb 1/60 extinction 1.0 } // eccentricity 0.2 } absorption rgb 1/9500 // extinction 0.9 //emission rgb 0.001 density { spotted ramp_wave turbulence 0.9 octaves 10 omega .5 lambda 2.5 color_map { [0.00 color rgb 0.00 ] [0.10 color rgb <0.5,0.5,0.5>*1.7 ] [0.23 color rgb 0.00 ] [1.00 color rgb 0.00 ] } scale 500 } } } scale <1,1,1> rotate y*20 rotate x*2 translate y*300 //translate y*-400000 } // *-*-*-*-*-*-* CLOUDS *-*-*-*-*-*-*- #declare nuages2= box { <-100000,0,-1000>,<10000,400,1000000> hollow pigment { rgbf 1 } //finish { brilliance 10 diffuse 2 ambient 0 } interior { media { samples 1, 10 // 50 intervals 10 // 50 confidence 0.999 variance 1/1000 scattering { 5, rgb 20 extinction 0.0 eccentricity 0.2 } //rgb 11 absorption rgb 36 // extinction 0.9 //rgb 14 //scattering { 5, rgb 12 extinction 1.0 eccentricity 0.2 } //rgb 11 //absorption rgb 1.6 // extinction 0.9 //rgb 14 //emission rgb 0.001 density { spotted ramp_wave turbulence 0.7 octaves 10 omega .7 lambda 3.5 color_map { [0.00 color rgb <0.000077,0.000071,0.00007> ] [0.16 color rgb 0.00005 ] [0.32 color rgb 0.000 ] [1.00 color rgb 0.000 ] } scale 280 } } /* media { samples 1, 5 // 50 intervals 5 // 40 confidence 0.999 variance 1/1000 //scattering { 5, rgb 4 extinction 1.0 eccentricity 0.2 } //absorption rgb 1/100 // extinction 0.9 emission rgb 0.01 density { spotted ramp_wave turbulence 0.9 octaves 10 omega .5 lambda 2.5 color_map { [0.00 color rgb -0.03 ] // 0.001/4 ] //3.2 [0.07 color rgb 0.0 ] // 0.0005/4 ] [0.14 color rgb 0.00 ] [1.00 color rgb 0.00 ] } scale 200 } } */ } scale <1,1,1.8> rotate y*20 rotate x*2 translate y*300 //translate y*-400000 } //object { nuages } // ONLY NUAGES 2 IS USED object { nuages2 } //a remettre pour le calcul fog{ color rgbt <1.0,1.0,1.0,0.3> fog_type 2 fog_alt 10 fog_offset 1 distance 260 turbulence <.15, .15, .15>*20 omega 0.35 lambda 1.25 octaves 5 } #declare S_Cloud5 = sky_sphere { pigment { gradient y color_map { [ 0 rgb <0.258, 0.258, 0.435>*2.3 ] [ 0.7 rgb <0.258, 0.258, 0.435>*1.8 ] [ 1 rgb <0.258, 0.258, 0.435> ] } translate -0.2 rotate x*10 rotate z*20 } } sky_sphere { S_Cloud5 } /*light_source { <10,35,50> color rgb <0.1,0.8,0.6> fade_power 1 fade_distance 10 } */ light_source { <10,30,-100> color rgb 0.3 spotlight radius 90 falloff 90 point_at <0,0,0> media_attenuation on } #declare lump=1.5; #declare moun= texture { pigment { gradient y sine_wave turbulence <0.2,1,0.7>*0.6 // 0.4 color_map { [0.000000 color rgbt <0.530303, 0.418428, 0.232286, 0.000000>*lump] [0.277129 color rgbt <0.444579, 0.357309, 0.206357, 0.000000>*lump] [0.308848 color rgbt <0.358856, 0.296190, 0.180427, 0.000000>*lump] [0.308848 color rgbt <0.358856, 0.296190, 0.180427, 0.000000>*lump] [0.335559 color rgbt <0.421194, 0.347643, 0.211770, 0.000000>*lump] [0.619366 color rgbt <0.483533, 0.399096, 0.243113, 0.000000>*lump] [0.619366 color rgbt <0.483533, 0.399096, 0.243113, 0.000000>*lump] [0.714524 color rgbt <0.521741, 0.430631, 0.262323, 0.000000>*lump] [0.809683 color rgbt <0.559948, 0.462167, 0.281534, 0.000000>*lump] [0.809683 color rgbt <0.559948, 0.462167, 0.281534, 0.000000>*lump] [0.904841 color rgbt <0.598156, 0.493703, 0.300744, 0.000000>*lump] [1.000000 color rgbt <0.636364, 0.525238, 0.319954, 0.000000>*lump] } scale 0.12 rotate <28,0,45> } finish { brilliance 1.7 diffuse 0.81} } #declare neige= texture { pigment { color rgb 1.1 } finish { diffuse 1.4 specular 0.8 roughness 0.1 ambient 0.1 brilliance 1.7 } } #declare total = texture { gradient y turbulence 0.10 texture_map { [ 0.0 moun scale 10] [ 0.4 moun scale 10] [ 0.43 neige ] [ 0.5 neige ] [ 1.0 neige ]} scale <0.006,1,0.006>} object { height_field { png "lum.png" smooth } texture { total} translate <-0.5,0,-0.5> scale <420,30,420>*6 translate <-30,-43,750> //z*720 } //light_source { <-100,100,-1000> color rgb 1 }