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

Comparing ray/src/hd/rhd_odraw.h (file contents):
Revision 3.1 by gwlarson, Fri Dec 18 11:55:19 1998 UTC vs.
Revision 3.4 by gwlarson, Tue Dec 22 17:05:54 1998 UTC

# Line 17 | Line 17
17   #endif
18  
19   extern struct ODview {
20 +        int     sfirst, snext;  /* first sample and first in next view */
21          short   hhi, vhi;       /* screen image resolution */
22          short   hlow, vlow;     /* block resolution */
23          struct ODblock {
# Line 24 | Line 25 | extern struct ODview {
25                  short   nused;          /* number actually allocated */
26                  int     first;          /* first sample in this block */
27                  int     free;           /* index for block free list */
28 +                float   pthresh;        /* proximity threshold */
29          }       *bmap;          /* low resolution image map */
30          int4    *emap;          /* low resolution edge presence map */
31 +        int4    *pmap;          /* high resolution presence map */
32          GLfloat *dmap;          /* high resolution depth map */
33   } *odView;              /* our view list */
34  
# Line 118 | Line 121 | Draw all new and undrawn sample values since last call
121  
122  
123   void
124 < odRemap()                       : recompute tone mapping
124 > odRemap(newhist)                : recompute tone mapping
125 > int     newhist;                : flag whether to clear history
126  
127   Recompute the tone mapping for all the samples in all the views
128 < and redraw them on the next call(s) to odUpdate().
128 > and redraw them on the next call(s) to odUpdate().  If newhist
129 > is non-zero, then clear the previous sample history.
130  
131   **********************************************************************/

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines