| 126 |
|
double dim[3]; /* width, height, thickness (meters) */ |
| 127 |
|
SDValue rLambFront; /* diffuse front reflectance */ |
| 128 |
|
SDValue rLambBack; /* diffuse rear reflectance */ |
| 129 |
< |
SDValue tLamb; /* diffuse transmission */ |
| 129 |
> |
SDValue tLambFront; /* diffuse front transmittance */ |
| 130 |
> |
SDValue tLambBack; /* diffuse back transmittance */ |
| 131 |
|
SDSpectralDF *rf, *rb; /* non-diffuse BRDF components */ |
| 132 |
|
SDSpectralDF *tf, *tb; /* non-diffuse BTDF components */ |
| 133 |
|
} SDData; |
| 146 |
|
#define SDretainAll 2 /* also keep cumulative cache data */ |
| 147 |
|
|
| 148 |
|
extern int SDretainSet; /* =SDretainNone by default */ |
| 149 |
+ |
extern unsigned long SDmaxCache; /* =0 (unlimited) by default */ |
| 150 |
|
|
| 151 |
|
/***************************************************************** |
| 152 |
|
* The following routines are less commonly used by applications. |