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 */ |
42 |
> |
uby8 (*chr)[3]; /* encoded chrominance array */ |
43 |
> |
uby8 (*rgb)[3]; /* tone-mapped color array */ |
44 |
|
int nl; /* count of leaves in our pile */ |
45 |
|
int bl, tl; /* bottom and top (next) leaf index */ |
46 |
|
int tml; /* next leaf needing tone-mapping */ |
56 |
|
extern int rayqleft; /* number of rays to queue before flush */ |
57 |
|
|
58 |
|
extern TMstruct *tmGlobal; /* global tone-mapping structure */ |
59 |
– |
|
60 |
– |
/* |
61 |
– |
extern int32 encodedir(); |
62 |
– |
extern double fdir2diff(), dir2diff(); |
63 |
– |
*/ |
59 |
|
|
60 |
|
/* rhd_qtree.c */ |
61 |
|
extern int qtAllocLeaves(register int n); |