--- ray/src/hd/rhd_qtree.h 2004/01/01 11:21:55 3.17 +++ ray/src/hd/rhd_qtree.h 2011/05/20 02:06:39 3.19 @@ -1,4 +1,4 @@ -/* RCSid $Id: rhd_qtree.h,v 3.17 2004/01/01 11:21:55 schorsch Exp $ */ +/* RCSid $Id: rhd_qtree.h,v 3.19 2011/05/20 02:06:39 greg Exp $ */ /* * Quadtree data structures for holodeck display drivers. */ @@ -39,8 +39,8 @@ extern struct rleaves { float (*wp)[3]; /* world intersection point array */ int32 *wd; /* world direction array */ TMbright *brt; /* encoded brightness array */ - BYTE (*chr)[3]; /* encoded chrominance array */ - BYTE (*rgb)[3]; /* tone-mapped color array */ + uby8 (*chr)[3]; /* encoded chrominance array */ + uby8 (*rgb)[3]; /* tone-mapped color array */ int nl; /* count of leaves in our pile */ int bl, tl; /* bottom and top (next) leaf index */ int tml; /* next leaf needing tone-mapping */ @@ -54,6 +54,8 @@ extern double qtDepthEps; /* epsilon to compare depths extern int qtMinNodesiz; /* minimum node dimension (pixels) */ extern int rayqleft; /* number of rays to queue before flush */ + +extern TMstruct *tmGlobal; /* global tone-mapping structure */ /* extern int32 encodedir();