| 27 |
|
const double ssamp_thresh = 0.35; |
| 28 |
|
/* number of super-samples */ |
| 29 |
|
#ifndef NSSAMP |
| 30 |
< |
#define NSSAMP 100 |
| 30 |
> |
#define NSSAMP 64 |
| 31 |
|
#endif |
| 32 |
|
/* limit on number of RBF lobes */ |
| 33 |
|
static int lobe_lim = 15000; |
| 38 |
|
static char *wrapBSDF[MAXCARG] = {"wrapBSDF", "-U"}; |
| 39 |
|
static int wbsdfac = 2; |
| 40 |
|
|
| 41 |
< |
/* Add argument to wrapBSDF, allocating space if isstatic */ |
| 41 |
> |
/* Add argument to wrapBSDF, allocating space if !isstatic */ |
| 42 |
|
static void |
| 43 |
|
add_wbsdf(const char *arg, int isstatic) |
| 44 |
|
{ |
| 206 |
|
eval_rbfcol(&sdv, rbf, iovec+3); |
| 207 |
|
bsdf = sdv.cieY; |
| 208 |
|
if (rbf_colorimetry == RBCtristimulus) { |
| 209 |
– |
c_ccvt(&sdv.spec, C_CSXY); |
| 209 |
|
uv[0] = uv[1] = 1. / |
| 210 |
|
(-2.*sdv.spec.cx + 12.*sdv.spec.cy + 3.); |
| 211 |
|
uv[0] *= 4.*sdv.spec.cx; |
| 397 |
|
eval_rbfcol(&sdv, rbf, iovec+3); |
| 398 |
|
bsdf = sdv.cieY; |
| 399 |
|
if (rbf_colorimetry == RBCtristimulus) { |
| 401 |
– |
c_ccvt(&sdv.spec, C_CSXY); |
| 400 |
|
uv[0] = uv[1] = 1. / |
| 401 |
|
(-2.*sdv.spec.cx + 12.*sdv.spec.cy + 3.); |
| 402 |
|
uv[0] *= 4.*sdv.spec.cx; |