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.8 by gregl, Wed Dec 24 10:52:50 1997 UTC vs.
Revision 3.15 by greg, Fri Jun 20 00:25:49 2003 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines