[GRASSLIST:5099] r.out.pov

Hi All,
Anybody can start me off as to how the .pov file
should look like after running the r.out.pov map=<map name> tga=<tga filename>

--
John Preston <jpreston@uwimona.edu.jm>

On Wednesday 27 November 2002 10:38 pm, John A. Preston wrote:

Hi All,
Anybody can start me off as to how the .pov file
should look like after running the r.out.pov map=<map name> tga=<tga
filename>

Example (I don't say it is the best example but it produced something):
Radim

#include "shapes.inc"
#include "colors.inc"
#include "textures.inc"

#declare Scale = 7;

light_source { <40000, Scale*3000, 5000> color MainLight }

camera {
   location < 23000, Scale*2000, 0>
   angle 90
   look_at < 23000, Scale*1400, 5000>
}

height_field {
   tga "../rast/dem.lr.tga"
   smooth
   water_level 0.11 // 726 / 6553.6 = 0.111
    texture {
      pigment {
          image_map { // image is always projected from -z, with front facing
+z, top to +Y
             ppm "../rast/map.lr.ppm"
             once
          }
          rotate x*90 // align map to height_field
      }
    }
   finish {
          ambient 0.2 // Very dark shadows
          diffuse 0.8 // Whiten the whites
          phong 0.2 // shiny
          phong_size 100.0 // with tight highlights
          specular 0.5
          roughness 0.05
   }
   scale < 14500, Scale*6553.6, 13000 >
   translate <18300, 0, 1100>
}