251 |
|
printf("Color: %d\n", (flags & F_IN_COLOR) != 0); |
252 |
|
printf("Has Geometry: %d\n", (myBSDF.mgf != NULL)); |
253 |
|
puts("Component\tLambertian XYZ %\tMax. Dir\tMin. Angle"); |
254 |
< |
detailComponent("Internal Refl", &myBSDF.rLambFront, myBSDF.rf); |
255 |
< |
detailComponent("External Refl", &myBSDF.rLambBack, myBSDF.rb); |
254 |
> |
detailComponent("Interior Refl", &myBSDF.rLambFront, myBSDF.rf); |
255 |
> |
detailComponent("Exterior Refl", &myBSDF.rLambBack, myBSDF.rb); |
256 |
|
detailComponent("Int->Ext Trans", &myBSDF.tLambFront, myBSDF.tf); |
257 |
|
detailComponent("Ext->Int Trans", &myBSDF.tLambBack, myBSDF.tb); |
258 |
|
puts("Component\tReciprocity Error (min avg max %)"); |
259 |
< |
checkReciprocity("Front Refl", 1, 1, &myBSDF, flags); |
260 |
< |
checkReciprocity("Back Refl", -1, -1, &myBSDF, flags); |
259 |
> |
checkReciprocity("Interior Refl", 1, 1, &myBSDF, flags); |
260 |
> |
checkReciprocity("Exterior Refl", -1, -1, &myBSDF, flags); |
261 |
|
checkReciprocity("Transmission", -1, 1, &myBSDF, flags); |
262 |
|
SDfreeBSDF(&myBSDF); |
263 |
|
return 1; |