--- ray/src/hd/rhdriver.h 1997/12/14 09:45:48 3.10 +++ ray/src/hd/rhdriver.h 1998/01/06 05:26:20 3.12 @@ -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 */ @@ -66,12 +68,20 @@ error(COMMAND, "appropriate user warning"). void +dev_clear() : clear device memory + +Clear the device memory in preparation for fresh data. Clearing +the screen is optional. + + +void dev_value(c, p, v) : register new point of light 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