File: hills.pov

package info (click to toggle)
tkgate 2.1%2Brepack-4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 28,384 kB
  • sloc: ansic: 62,300; tcl: 20,345; xml: 2,731; yacc: 1,177; lex: 839; sh: 664; makefile: 180; perl: 39
file content (47 lines) | stat: -rw-r--r-- 594 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#include "colors.inc"
global_settings {
  assumed_gamma 2.2
  hf_gray_16
}

#declare PScale = 5.0;

#declare FlatTexture =
  pigment {
    Black
  }

#declare HillyTexture =
  pigment {
    bozo
    turbulence 0.1
    colour_map {
      [0.0 	0.1*White]
      [1.0  White]
    }
    scale (1.0/PScale)*y
  }


object {
  plane { z, 0}

  hollow on
  texture {
    gradient y
    scale PScale*y
    texture_map {
       [0.0 HillyTexture]
       [0.7 HillyTexture]
       [0.95 FlatTexture]
    }
  }
}

camera {
  location <0, 0, -10>
  look_at 0
}


light_source { <0, 20, -100> color White }