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; |