| 42 |
|
extern RNUMBER lastray; /* last ray number sent */ |
| 43 |
|
extern RNUMBER lastdone; /* last ray processed */ |
| 44 |
|
|
| 45 |
+ |
extern int report_intvl; /* reporting interval (seconds) */ |
| 46 |
+ |
|
| 47 |
|
typedef double DCOLOR[3]; /* double-precision color */ |
| 48 |
|
|
| 49 |
|
/* |
| 61 |
|
const char *modname; /* modifier name */ |
| 62 |
|
const char *params; /* parameter list */ |
| 63 |
|
EPNODE *binv; /* bin value expression */ |
| 64 |
+ |
int bin0; /* starting bin offset */ |
| 65 |
|
int nbins; /* number of contribution bins */ |
| 66 |
|
DCOLOR cbin[1]; /* contribution bins (extends struct) */ |
| 67 |
|
} MODCONT; /* modifier contribution */ |
| 89 |
|
#endif |
| 90 |
|
#endif |
| 91 |
|
|
| 92 |
< |
#ifndef MAXMODLIST |
| 90 |
< |
#define MAXMODLIST 10000 /* maximum modifiers we'll track */ |
| 91 |
< |
#endif |
| 92 |
< |
|
| 93 |
< |
extern const char *modname[MAXMODLIST]; /* ordered modifier name list */ |
| 92 |
> |
extern char **modname; /* ordered modifier name list */ |
| 93 |
|
extern int nmods; /* number of modifiers */ |
| 94 |
+ |
extern int modasiz; /* allocated modifier array size */ |
| 95 |
|
|
| 96 |
|
extern char RCCONTEXT[]; /* special evaluation context */ |
| 97 |
|
|
| 98 |
– |
extern char *formstr(int f); /* return format identifier */ |
| 99 |
– |
|
| 98 |
|
extern void process_rcontrib(void); /* trace ray contributions */ |
| 99 |
|
|
| 100 |
|
extern STREAMOUT * getostream(const char *ospec, const char *mname, |
| 117 |
|
extern void end_children(int immed); |
| 118 |
|
|
| 119 |
|
extern void put_zero_record(int ndx); |
| 120 |
+ |
|
| 121 |
+ |
extern int morays(void); /* reached end of input? */ |
| 122 |
|
|
| 123 |
|
extern void parental_loop(void); /* controlling process */ |
| 124 |
|
|