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.11 by gwlarson, Mon Aug 17 17:59:59 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 + #include "color.h"
10   #include "tonemap.h"
11   #include "rhdriver.h"
12 <                                /* child ordering */
12 >
13   #define DL              0               /* down left */
14   #define DR              1               /* down right */
15   #define UL              2               /* up left */
# Line 33 | Line 34 | typedef struct rtree {
34  
35   extern struct rleaves {
36          float           (*wp)[3];       /* world intersection point array */
37 +        int4            *wd;            /* world direction array */
38          TMbright        *brt;           /* encoded brightness array */
39          BYTE            (*chr)[3];      /* encoded chrominance array */
40          BYTE            (*rgb)[3];      /* tone-mapped color array */
# Line 47 | Line 49 | extern struct rleaves {
49   extern RTREE    qtrunk;         /* trunk of quadtree */
50   extern double   qtDepthEps;     /* epsilon to compare depths (z fraction) */
51   extern int      qtMinNodesiz;   /* minimum node dimension (pixels) */
52 +
53 + extern int      rayqleft;       /* number of rays to queue before flush */
54 +
55 + extern int4     encodedir();
56 + extern double   fdir2diff(), dir2diff();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines