#include "colors.inc" #include "shapes.inc" #include "textures.inc" #include "eau.inc" #include "skies.inc" #include "rad_def.inc" #include "sable.inc" global_settings { radiosity { Rad_Settings(Radiosity_OutdoorLight,off,off) } } sky_sphere { S_Cloud2 } camera { location <-150, 50, -500> look_at <-100, -150, -100> angle 50 } background { White } light_source { <0, 500, 0> color White } #declare MEau = material { texture { pigment { color rgbt <0.21, 0.20, 0.5, 0.96> } finish { diffuse 0.0 ambient 0.0 reflection { 0.2, 0.95 fresnel on exponent 0.8 } conserve_energy specular 0.1 roughness 0.007 metallic } } interior { ior 1.31 fade_distance 0.8 fade_power 1001.0 fade_color <0.02, 0.20, 0.06> } } #declare Sable = texture { pigment {color rgb < 1, 0.9, 0.65>} normal {granite 0.2 scale 0.02} finish { brilliance 1.6 specular 0.0 }}; height_field { pgm "eau.pgm" smooth translate <-.5,0,-.5> scale <1000,1.5,1000> material {MEau}} height_field { pgm "sable.pgm" smooth translate <-.5,-.5,-.5> scale <1000,10,1000> texture {Sable}}