57 |
|
FULLXF *rox; /* object transformation */ |
58 |
|
int *slights; /* list of lights to test for scattering */ |
59 |
|
RNUMBER rno; /* unique ray number */ |
60 |
< |
short rflips; /* surface orientation has been reversed */ |
61 |
< |
short rlvl; /* number of reflections for this ray */ |
60 |
> |
OBJECT robj; /* intersected object number */ |
61 |
|
int rsrc; /* source we're aiming for */ |
62 |
|
float rweight; /* cumulative weight (for termination) */ |
63 |
+ |
float gecc; /* scattering eccentricity coefficient */ |
64 |
|
COLOR rcoef; /* contribution coefficient w.r.t. parent */ |
65 |
|
COLOR pcol; /* pattern color */ |
66 |
|
COLOR mcol; /* mirrored color contribution */ |
67 |
|
COLOR rcol; /* returned radiance value */ |
68 |
|
COLOR cext; /* medium extinction coefficient */ |
69 |
|
COLOR albedo; /* medium scattering albedo */ |
70 |
< |
float gecc; /* scattering eccentricity coefficient */ |
71 |
< |
OBJECT robj; /* intersected object number */ |
70 |
> |
short rflips; /* surface orientation has been reversed */ |
71 |
> |
short rlvl; /* number of reflections for this ray */ |
72 |
|
short rtype; /* ray type */ |
73 |
|
short crtype; /* cumulative ray type */ |
74 |
|
} RAY; |
137 |
|
|
138 |
|
extern int ray_pnprocs; /* number of child processes */ |
139 |
|
extern int ray_pnidle; /* number of idle processes */ |
140 |
+ |
extern int ray_pnbatch; /* throughput over responsiveness? */ |
141 |
|
|
142 |
|
#ifndef AMBLLEN |
143 |
|
#define AMBLLEN 512 /* max. ambient list length */ |