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

Comparing ray/src/hd/rhd_qtree.h (file contents):
Revision 3.5 by gregl, Tue Nov 25 16:52:04 1997 UTC vs.
Revision 3.12 by gwlarson, Thu Dec 17 09:46:35 1998 UTC

# Line 1 | Line 1
1 < /* Copyright (c) 1997 Silicon Graphics, Inc. */
1 > /* Copyright (c) 1998 Silicon Graphics, Inc. */
2  
3   /* SCCSid "$SunId$ SGI" */
4  
# Line 6 | Line 6
6   * Quadtree data structures for holodeck display drivers.
7   */
8  
9 + #undef NOPROTO
10 + #define NOPROTO 1
11 + #include "color.h"
12   #include "tonemap.h"
13   #include "rhdriver.h"
14 <                                /* child ordering */
14 >
15   #define DL              0               /* down left */
16   #define DR              1               /* down right */
17   #define UL              2               /* up left */
# Line 33 | Line 36 | typedef struct rtree {
36  
37   extern struct rleaves {
38          float           (*wp)[3];       /* world intersection point array */
39 +        int4            *wd;            /* world direction array */
40          TMbright        *brt;           /* encoded brightness array */
41          BYTE            (*chr)[3];      /* encoded chrominance array */
42          BYTE            (*rgb)[3];      /* tone-mapped color array */
# Line 47 | Line 51 | extern struct rleaves {
51   extern RTREE    qtrunk;         /* trunk of quadtree */
52   extern double   qtDepthEps;     /* epsilon to compare depths (z fraction) */
53   extern int      qtMinNodesiz;   /* minimum node dimension (pixels) */
54 +
55 + extern int      rayqleft;       /* number of rays to queue before flush */
56 +
57 + extern int4     encodedir();
58 + extern double   fdir2diff(), dir2diff();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines