author | Eckhart Koeppen <eckhart.koppen@nokia.com> |
Wed, 21 Apr 2010 12:15:23 +0300 | |
branch | RCL_3 |
changeset 13 | cc75c76972ee |
parent 0 | 1918ee327afb |
permissions | -rw-r--r-- |
0 | 1 |
#include "colors.inc" |
2 |
#include "shapes.inc" |
|
3 |
#include "textures.inc" |
|
4 |
// #include "stones.inc" |
|
5 |
||
6 |
camera { |
|
7 |
location <2,2,-6> |
|
8 |
up <0, 1, 0> |
|
9 |
// right <4/3, 0, 0> |
|
10 |
look_at <0,0,0> |
|
11 |
} |
|
12 |
||
13 |
object { light_source { <10, 5, -5> color red 1.1 green 1.1 blue 1.0 } } |
|
14 |
||
15 |
#declare Rock = |
|
16 |
mesh { |
|
17 |
#include "rock.inc" /* collection of triangle or smooth_triangle data */ |
|
18 |
} |
|
19 |
||
20 |
object { |
|
21 |
Rock |
|
22 |
texture { pigment {White} } |
|
23 |
scale 1.9 |
|
24 |
rotate <60, 45, 360*clock> |
|
25 |
} |
|
26 |