#version unofficial MegaPov 0.4; global_settings { ini_option "+QR" radiosity { brightness 2 count 20 recursion_limit 4 } ambient_light .1 } //debut de fichier camera { //location <200, 180, -600> location <-350, 180, -700> direction <0, 0, 1.20711> sky <0, 1, 0> up <0, 1, 0> right <1.33333, 0, 0> //look_at <200, 150, 0> look_at <2000, 150, 500> } #default { pigment {rgb <1,1,1>} } //creation d'une source de lumiere ponctuelle light_source { 0*x //POSITION de base color rgb 1 //COULEUR //fade_distance FADE_DISTANCE // atténuation de la lumière avec la distance // fade_power FADE_POWER // idem translate <-20000, 40000, -20000>// deplace la lumiere } // Set a color of the background (sky) background { color red 0.1 green 0.3 blue 0.8 } #declare cm=1; #declare m=cm*100; #declare hazard=seed(0); //la montagne #declare Myhf = height_field { pattern 500, 500 { hf_gray_16 leopard//bozo color_map { [ 0.000 rgbft <1.0, 0.5, 1.0, 0.0, 0.0> ] //violet 1 [ 0.100 rgbft <1.0, 0.5, 1.0, 0.0, 0.0> ] //violet 2 [ 0.214 rgbft <0.5, 0.5, 1.0, 0.0, 0.0> ] //indigo [ 0.328 rgbft <0.2, 0.2, 1.0, 0.0, 0.0> ] //blue [ 0.442 rgbft <0.2, 1.0, 1.0, 0.0, 0.0> ] //cyan [ 0.556 rgbft <0.2, 1.0, 0.2, 0.0, 0.0> ] //green [ 0.670 rgbft <1.0, 1.0, 0.2, 0.0, 0.0> ] //yellow [ 0.784 rgbft <1.0, 0.5, 0.2, 0.0, 0.0> ] //orange [ 0.900 rgbft <1.0, 0.2, 0.2, 0.0, 0.0> ] //red1 [ 1.000 rgbft <1.0, 0.2, 0.2, 0.0, 0.0> ] //red2 } turbulence .2 //scale 1.75 //translate <-1.1,0,-1.1> triangle_wave scale <0.3, 0.1, 0.3> } scale <2, 0.2, 2> smooth } #declare cont= difference { cylinder { -10*y, 10*y, 10 pigment { rgb <0.9, 0.9, 0.9> } } cylinder { -20*y, 20*y, .7 } translate <-.1,0,0> } difference { object { Myhf pigment { rgb <1, 0, 0> } translate <-1.0, 0, -1.0> } object {cont} scale <1000,4000,1000> scale 20 translate <500*m,-80*m,100*m> } //fin de montagne union { box{ <-5, 0, -5> < 5, 3*m, 5> translate <0,0,-2*m> //texture {Planche rotate 90*z} } box{ <-5, 0, -5> < 5, 3*m, 5> translate <6.5*m,0,-2*m> //texture {Planche rotate 90*z} } //traverse box{ <10, 0, 0> < 6.3*m, 20, 10> translate <0,2.8*m,-2*m> //texture {Planche} } box{ <0, 0, 0> < 10, 20, -1.9*m> translate 2.8*m*y //texture {Planche rotate 90*y} } box{ <0, 0, 0> < 10, 20, -1.9*m> translate <6.4*m,2.8*m,0> //texture {Planche rotate 90*y} } #declare tr=10; #while (tr<6.3*m) box{ <0, 0, 1> < 62, 1, -1.9*m> translate //texture {Planche rotate 90*x rotate 90*y} } #declare tr=tr+63; #end translate 8.1*m*x } plane{ y, 0 texture { pigment { bozo color_map { [ 0.000 rgb <1.000,0.702,0.086> ] [ 0.500 rgb <1.000,0.792,0.353> ] [ 1.000 rgb <1.000,0.741,0.224> ] } } scale 20 } }