| 64 |
|
int *slights; /* list of lights to test for scattering */ |
| 65 |
|
RNUMBER rno; /* unique ray number */ |
| 66 |
|
OBJECT robj; /* intersected object number */ |
| 67 |
< |
int rsrc; /* source we're aiming for */ |
| 67 |
> |
int rsrc; /* source we're aiming for (or ones to skip) */ |
| 68 |
|
float rweight; /* cumulative weight (for termination) */ |
| 69 |
|
float gecc; /* scattering eccentricity coefficient */ |
| 70 |
|
SCOLOR rcoef; /* contribution coefficient w.r.t. parent */ |
| 104 |
|
|
| 105 |
|
extern int dimlist[]; /* dimension list for distribution */ |
| 106 |
|
extern int ndims; /* number of dimensions so far */ |
| 107 |
< |
extern int samplendx; /* index for this sample */ |
| 107 |
> |
extern unsigned long |
| 108 |
> |
samplendx; /* index for this sample */ |
| 109 |
|
|
| 110 |
|
extern int do_irrad; /* compute irradiance? */ |
| 111 |
|
|
| 206 |
|
/* defined in preload.c */ |
| 207 |
|
extern int load_os(OBJREC *op); |
| 208 |
|
extern void preload_objs(void); |
| 209 |
+ |
extern char *shm_boundary; |
| 210 |
+ |
extern void cow_memshare(void); |
| 211 |
+ |
extern void cow_doneshare(void); |
| 212 |
|
/* defined in raycalls.c */ |
| 213 |
|
extern void ray_init(char *otnm); |
| 214 |
|
extern void ray_trace(RAY *r); |
| 216 |
|
extern void ray_save(RAYPARAMS *rp); |
| 217 |
|
extern void ray_restore(RAYPARAMS *rp); |
| 218 |
|
extern void ray_defaults(RAYPARAMS *rp); |
| 219 |
+ |
extern void reset_random(void); |
| 220 |
|
/* defined in raypcalls.c */ |
| 221 |
|
extern void ray_pinit(char *otnm, int nproc); |
| 222 |
|
extern int ray_psend(RAY *r); |