/* * pipes.ray * * Makes a great 3d image, but render without DEPTH and FOG in that case. * * Stuart Warmink, February 1993 * sw@groucho.att.com * * Feel free to use and/or distribute for non-commercial purposes as long * as this header remains with the file. * */ #define SHINY #define DEPTH #define FOG /*#define BUMP*/ /* Doesn't do much for the image */ #include "pipes.def.ray" applysurf fitting_grey grid 23 23 23 /* This is a case where grids really help */ #include "igrid.def.ray" end surface Blue ambient 0.0 0.0 0.45 diffuse 0.0 0.0 0.45 surface Total reflect 1 specular 1 1 1 background 0 0 0.7 #ifdef FOG atmosphere fog 0.0 0.0 0.7 (2*(LEN)) (2*(LEN)) (2*(LEN)) #endif light 1.0 point -400 -100 -700 light 0.6 point -400 1000 600 eyep 15 25 20 lookp 100 100 100 fov 80 up 0 0 -1 /* for that vertigo effect */ #ifdef DEPTH focaldist 35 aperture (35*1.5/(LEN)) #endif screen 800 800 sample 3