home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Ray Tracing Box
/
RAY_CD.mdf
/
raytrace
/
rayshade
/
examples
/
x29m.ray
< prev
Wrap
Text File
|
1992-05-05
|
927b
|
46 lines
/* Converted by rsconvert */
/*
* Example rayshade input file using heightfield primitive.
* Be warned that 'example.hf' is a binary fine, and that it
* is to a large degree machine-dependent.
*
* C. Kolb 12/89
*/
screen 512 480
eyep -5 -0.8 0
lookp 0 0 -0.2
fov 42
light 1
directional -1 1 1
background 0.1 0.3 0.75
surface mountain ambient 0.1 0.05 0.04
diffuse 0.55 0.3 0.25
surface water diffuse 0.17 0.45 0.45
specular 1 1 1
specpow 30
reflect 0.7
heightfield mountain example.hf
translate -0.5 -0.5 0
scale 6 6 2.6
translate 0 0 -0.3
rotate 0 0 1 35
texture fbmbump 0. .28 0.5 2. 6
scale 0.2 0.2 0.2
plane water 0 0 -1 0 0 1
texture fbmbump 0 0.03 0.5 2 7
scale 0.05 0.1 0.1
atmosphere mist 0.88 0.88 1 10 10 6 -1 10
#include "x29.def"
object x29
scale 0.025 0.025 0.025
rotate 1 0 0 -20
/* rotate 0 0 1 50 */
rotate 0 0 1 125