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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines