author | Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com> |
Fri, 12 Mar 2010 15:46:37 +0200 | |
branch | RCL_3 |
changeset 5 | d3bac044e0f0 |
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, 30, 360*clock> |
|
25 |
} |
|
26 |