--- ray/src/hd/rhdriver.h 1997/12/12 11:13:16 3.9 +++ ray/src/hd/rhdriver.h 1997/12/31 09:06:54 3.11 @@ -15,6 +15,8 @@ extern struct driver { int ifd; /* input file descriptor (for select) */ } odev; /* our open device */ +extern int imm_mode; /* bundles are being delivered immediately */ + /* user commands */ #define DC_SETVIEW 0 /* set the view */ #define DC_GETVIEW 1 /* print the current view */ @@ -34,7 +36,7 @@ extern struct driver { #define CTRL(c) ((c)-'@') /* commands entered in display window */ -#define DV_INIT {'\0','v','l','p','\r',CTRL('R'),'K','R','C','q'} +#define DV_INIT {'\0','v','l','p','\r',CTRL('L'),'K','R','C','q'} /* commands entered on stdin */ #define DC_INIT {"VIEW=","where","last","pause","resume","redraw",\ "kill","restart","clobber","quit"} @@ -71,7 +73,8 @@ COLR c; : pixel color (RGBE) FVECT p; : world intersection point FVECT v; : ray direction vector -Add the given color point to the display output queue. +Add the given color point to the display output queue. If imm_mode is +non-zero, then values are being sent in rapid succession. int