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.16 by schorsch, Mon Jul 14 22:24:00 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 + #ifndef _RAD_RHD_QTREE_H_
6 + #define _RAD_RHD_QTREE_H_
7  
8 + #include "color.h"
9   #include "tonemap.h"
10   #include "rhdriver.h"
11 <                                /* child ordering */
11 >
12 > #ifdef __cplusplus
13 > extern "C" {
14 > #endif
15 >
16   #define DL              0               /* down left */
17   #define DR              1               /* down right */
18   #define UL              2               /* up left */
# Line 33 | Line 37 | typedef struct rtree {
37  
38   extern struct rleaves {
39          float           (*wp)[3];       /* world intersection point array */
40 +        int32           *wd;            /* world direction array */
41          TMbright        *brt;           /* encoded brightness array */
42          BYTE            (*chr)[3];      /* encoded chrominance array */
43          BYTE            (*rgb)[3];      /* tone-mapped color array */
# Line 47 | Line 52 | extern struct rleaves {
52   extern RTREE    qtrunk;         /* trunk of quadtree */
53   extern double   qtDepthEps;     /* epsilon to compare depths (z fraction) */
54   extern int      qtMinNodesiz;   /* minimum node dimension (pixels) */
55 +
56 + extern int      rayqleft;       /* number of rays to queue before flush */
57 +
58 + extern int32    encodedir();
59 + extern double   fdir2diff(), dir2diff();
60 +
61 + #ifdef __cplusplus
62 + }
63 + #endif
64 + #endif /* _RAD_RHD_QTREE_H_ */
65 +

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines