|
Last change
on this file was 160, checked in by dmik, 19 years ago |
|
Imported table and iconview modules and a bunch of dependent examples from the official release 3.3.1 from Trolltech.
|
|
File size:
510 bytes
|
| Line | |
|---|
| 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 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.