| 8 |
|
*/ |
| 9 |
|
|
| 10 |
|
#define _USE_MATH_DEFINES |
| 11 |
– |
#include <stdio.h> |
| 11 |
|
#include <stdlib.h> |
| 12 |
|
#include <math.h> |
| 13 |
|
#include <ctype.h> |
| 126 |
|
bsdf->rb->maxHemi); |
| 127 |
|
if (bsdf->tf) |
| 128 |
|
printf("Peak front hemispherical transmittance: %.3e\n", |
| 129 |
< |
bsdf->tLamb.cieY + bsdf->tf->maxHemi); |
| 129 |
> |
bsdf->tLambFront.cieY + bsdf->tf->maxHemi); |
| 130 |
|
if (bsdf->tb) |
| 131 |
|
printf("Peak back hemispherical transmittance: %.3e\n", |
| 132 |
< |
bsdf->tLamb.cieY + bsdf->tb->maxHemi); |
| 132 |
> |
bsdf->tLambBack.cieY + bsdf->tb->maxHemi); |
| 133 |
|
printXYZ("Diffuse Front Reflectance: ", &bsdf->rLambFront); |
| 134 |
|
printXYZ("Diffuse Back Reflectance: ", &bsdf->rLambBack); |
| 135 |
< |
printXYZ("Diffuse Transmittance: ", &bsdf->tLamb); |
| 135 |
> |
printXYZ("Diffuse Front Transmittance: ", &bsdf->tLambFront); |
| 136 |
> |
printXYZ("Diffuse Back Transmittance: ", &bsdf->tLambBack); |
| 137 |
|
break; |
| 138 |
|
case 'Q': /* query BSDF value */ |
| 139 |
|
if (!bsdf) |