home *** CD-ROM | disk | FTP | other *** search
- /* RAYSHADE source file for simple Pacman */
- /* but without the fancy marble floor */
-
- eyep 1 -8 2 /* Move just off center so we can
- see inside his mouth */
-
- surface mirror ambient .01 .01 .01
- diffuse .5 .05 .05
- specular .8 .8 .8 specpow 20 reflect .1
-
- /* Main body */
- difference sphere diffuse 1 1 0 2 0 0 0
- box 0 0 0 4 -4 4 rotate 0 1 0 45 translate 0 2 0
- end
-
- /* Give him a bright red tongue */
- intersect cone diffuse 1 0 0 2 0 0 -1.4 1 2.9 0 -1.4
- rotate 0 1 0 45
- box 0 0 0 4 -4 4 rotate 0 1 0 45 translate 0 2 0
- end
-
- /* Lay the background */
- plane diffuse .8 .8 .8 0 0 -5 0 0 1
- plane diffuse 1 1 1 0 35 0 0 -1 0
-
- /* Give him an eye */
- sphere specular .8 .8 .8 specpow 20 reflect .95
- diffuse .01 .01 .01 .2 0 -1.4 1.4
-
- /* Lay out the food */
- applysurf mirror
- sphere .25 2.4 0 0
- sphere .25 2.4 5 0
- sphere .25 2.4 10 0
- sphere .25 2.4 15 0
- sphere .25 2.4 20 0
- sphere .25 2.4 25 0
- sphere .25 2.4 30 0
-