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.4 by gregl, Fri Nov 21 16:10:18 1997 UTC vs.
Revision 3.7 by gregl, Thu Dec 11 09:34:51 1997 UTC

# Line 22 | Line 22 | extern struct driver {
22   #define DEV_WAIT        010     /* pause computation and wait for input */
23   #define DEV_RESUME      020     /* resume after pause */
24   #define DEV_REDRAW      040     /* redraw from server */
25 + #define DEV_PUTVIEW     0100    /* print out current view */
26 + #define DEV_LASTVIEW    0200    /* restore previous view */
27  
28  
29   /************************************************************************
# Line 37 | Line 39 | The view type, horizontal and vertical view angles and
39   parameters in odev.v should also be assigned.
40  
41  
42 < void
42 > int
43   dev_view(nv)            : set display view parameters
44   VIEW    *nv;            : the new view
45  
46   Updates the display for the given view change.
47   Look for nv==&odev.v when making view current after dev_input()
48 < returns DEV_NEWVIEW flag.
48 > returns DEV_NEWVIEW flag.  Return 1 on success, or 0 if the
49 > new view would conflict with device requirements.  In the latter
50 > case, reset parameters in nv to make it more agreeable, calling
51 > error(COMMAND, "appropriate user warning").
52  
53  
54   void
55 < dev_value(c, p)         : register new point of light
55 > dev_value(c, p, v)      : register new point of light
56   COLR    c;              : pixel color (RGBE)
57   FVECT   p;              : world intersection point
58 + FVECT   v;              : ray direction vector
59  
60   Add the given color point to the display output queue.
61  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines