ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/hd/rhdriver.h
(Generate patch)

Comparing ray/src/hd/rhdriver.h (file contents):
Revision 3.9 by gregl, Fri Dec 12 11:13:16 1997 UTC vs.
Revision 3.12 by gregl, Tue Jan 6 05:26:20 1998 UTC

# Line 15 | Line 15 | extern struct driver {
15          int     ifd;            /* input file descriptor (for select) */
16   } odev;                 /* our open device */
17  
18 + extern int      imm_mode;       /* bundles are being delivered immediately */
19 +
20                                  /* user commands */
21   #define DC_SETVIEW      0               /* set the view */
22   #define DC_GETVIEW      1               /* print the current view */
# Line 34 | Line 36 | extern struct driver {
36  
37   #define CTRL(c)         ((c)-'@')
38                                  /* commands entered in display window */
39 < #define DV_INIT         {'\0','v','l','p','\r',CTRL('R'),'K','R','C','q'}
39 > #define DV_INIT         {'\0','v','l','p','\r',CTRL('L'),'K','R','C','q'}
40                                  /* commands entered on stdin */
41   #define DC_INIT         {"VIEW=","where","last","pause","resume","redraw",\
42                                  "kill","restart","clobber","quit"}
# Line 66 | Line 68 | error(COMMAND, "appropriate user warning").
68  
69  
70   void
71 + dev_clear()             : clear device memory
72 +
73 + Clear the device memory in preparation for fresh data.  Clearing
74 + the screen is optional.
75 +
76 +
77 + void
78   dev_value(c, p, v)      : register new point of light
79   COLR    c;              : pixel color (RGBE)
80   FVECT   p;              : world intersection point
81   FVECT   v;              : ray direction vector
82  
83 < Add the given color point to the display output queue.
83 > Add the given color point to the display output queue.  If imm_mode is
84 > non-zero, then values are being sent in rapid succession.
85  
86  
87   int

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines