--- ray/src/cv/bsdf2ttree.c 2016/10/13 16:59:29 2.39 +++ ray/src/cv/bsdf2ttree.c 2017/02/17 22:31:49 2.40 @@ -1,5 +1,5 @@ #ifndef lint -static const char RCSid[] = "$Id: bsdf2ttree.c,v 2.39 2016/10/13 16:59:29 greg Exp $"; +static const char RCSid[] = "$Id: bsdf2ttree.c,v 2.40 2017/02/17 22:31:49 greg Exp $"; #endif /* * Load measured BSDF interpolant and write out as XML file with tensor tree. @@ -206,7 +206,6 @@ eval_isotropic(char *funame) eval_rbfcol(&sdv, rbf, iovec+3); bsdf = sdv.cieY; if (rbf_colorimetry == RBCtristimulus) { - c_ccvt(&sdv.spec, C_CSXY); uv[0] = uv[1] = 1. / (-2.*sdv.spec.cx + 12.*sdv.spec.cy + 3.); uv[0] *= 4.*sdv.spec.cx; @@ -398,7 +397,6 @@ eval_anisotropic(char *funame) eval_rbfcol(&sdv, rbf, iovec+3); bsdf = sdv.cieY; if (rbf_colorimetry == RBCtristimulus) { - c_ccvt(&sdv.spec, C_CSXY); uv[0] = uv[1] = 1. / (-2.*sdv.spec.cx + 12.*sdv.spec.cy + 3.); uv[0] *= 4.*sdv.spec.cx;