/* * ************************* * Rayshade scene definition * ************************* * * * by Scott Teresi, www.teresi.us * Created: June 6, 1996 * * Directions: * run Rayshade on this file, and then type xv outfilename to view. */ /* * the following lines control the scene rendering */ outfile scene.xv screen 256 256 /* resolution */ sample 1 nojitter maxdepth 6 /* number of light ray reflections */ /* * view information */ eyep 0.0 -10.0 0.0 /* x is horiz., y is toward you, z is up and down */ lookp 0.0 0.0 0.0 /* point you are looking at */ up 0.0 0.0 1.0 /* up vector */ /* * surface definitions */ surface glass /* green */ ambient .01 .1 .01 diffuse .03 .4 .03 specular .5 1 .5 specpow 20.0 reflect .4 surface bubble /* blue transparent */ ambient .01 .01 .10 diffuse .1 .1 1 specular 1 1 1 specpow 60 transp .75 reflect .05 surface surface4 /* purple */ ambient .1 .01 .07 diffuse 1 .1 .7 specular 1 1 1 specpow 200 surface wooden /* brown */ ambient .1 .01 .01 diffuse 1 .4 .2 specular .9 .4 .4 specpow 30 surface mirror ambient .0 .0 .0 diffuse .4 .4 .4 specular .7 .7 .7 specpow 1 /* adjust higher for darker water */ reflect .8 transp .3 /* translu .2 .5 .5 .5 10 */ surface dark_mirror ambient .0 .0 .0 diffuse .5 .2 .2 specular .5 .5 .5 specpow 5 reflect .65 transp .3 surface backdrop ambient 0.3 0.7 0.3 diffuse 0.1 0.1 0.1 specular 0.1 0.1 0.1 specpow 10.0 /* * lights in the scene */ light 1 .7 .3 point 20.0 0.0 0.0 light 1.0 1.0 1.0 point -5 -8 -5 /*light .0001 .0001 .0001 point 0 -9 0*/ /* * the objects. */ plane backdrop 0.0 25.0 0.0 0.0 -1.0 0.0 plane backdrop 0.0 15.0 0.0 0.0 -1.0 0.0 /* texture sky .2 .5 .8 6 .4 .4 */ plane backdrop 0.0 -20.0 0.0 0.0 1.0 0.0 sphere dark_mirror 1 -4 6.5 5 /* moon */ texture marble scale 1 1 .85 box mirror -3 -9 -1 20 25 -1.1 /* glass */ texture marble sphere bubble .7 3 8 -.2 sphere bubble .5 -2 0 -.7 sphere bubble .3 0 -5 -1.1 torus bubble 1.75 .2 -4 6.5 5 .5 0 1 torus surface4 5 .4 0 0 0 0 0 1 translate 2 5 -3 texture marble