home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Usenet 1994 October
/
usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso
/
misc
/
volume21
/
rayshade
/
part01
/
Examples
/
ashtray.ray
< prev
next >
Wrap
Text File
|
1991-07-21
|
463b
|
24 lines
/*
* Painted ashtray
* C Kolb 12/90
* Set IMAGEFILE to image you wish to use.
*/
#ifndef IMAGEFILE
#define IMAGEFILE /usr/u/utah/img/mandrill.rle
#endif
report verbose
#include "ashtray.def.ray"
surface white ambient .1 .1 .1 diffuse .6 .6 .6 specular .4 .4 .4
plane white 0 0 -3 0 0 1
object ashtray
texture image IMAGEFILE map planar
scale 10 10 1 translate -5 -5 0
light 1. directional -.5 -1 1.9
background .1 .3 .8
eyep 5. -15 13.
screen 256 256