#include "colors.inc" global_settings { assumed_gamma 1.0 } // ---------------------------------------- camera { location <0.0, 0.5, -8.0> direction 1.5*z right x*image_width/image_height look_at <0.0, 0.0, 0.0> } light_source { <0, 0, 0> // light's position (translated below) color rgb <1, 1, 1> // light's color translate <-30, 30, -30> } // ---------------------------------------- #declare P_Rock = pigment { color rgb <1,0.3,0.1>} plane { y, 0 pigment { P_Rock } } // uses image color index as height, extends along X-Z axes // from <0 0 0> to <1 1 1> height_field { png // the file type to read (tga/pot/pgm/ppm/png/sys) "rockyground_dat.png" // the file name to read smooth pigment { P_Rock } translate <-.5,-.15,-.5> scale<20,.3,20> }