--- ray/src/common/bsdf.h 2012/03/05 00:17:06 2.18 +++ ray/src/common/bsdf.h 2012/09/02 15:33:15 2.19 @@ -1,4 +1,4 @@ -/* RCSid $Id: bsdf.h,v 2.18 2012/03/05 00:17:06 greg Exp $ */ +/* RCSid $Id: bsdf.h,v 2.19 2012/09/02 15:33:15 greg Exp $ */ /* * bsdf.h * @@ -78,6 +78,8 @@ typedef struct SDCDst_s { /* ...encoded distribution extends struct */ } SDCDst; +extern const SDCDst SDemptyCD; /* empty distribution */ + /* Forward declaration of BSDF component */ typedef struct SDComp_s SDComponent; @@ -125,7 +127,8 @@ typedef struct { SDValue rLambFront; /* diffuse front reflectance */ SDValue rLambBack; /* diffuse rear reflectance */ SDValue tLamb; /* diffuse transmission */ - SDSpectralDF *rf, *rb, *tf; /* non-diffuse BSDF components */ + SDSpectralDF *rf, *rb; /* non-diffuse BRDF components */ + SDSpectralDF *tf, *tb; /* non-diffuse BTDF components */ } SDData; /* List of loaded BSDFs */