29 |
|
char cmd[128]; |
30 |
|
int ix, ox, oy; |
31 |
|
FVECT ivec, ovec; |
32 |
< |
double bsdf; |
32 |
> |
float bsdf; |
33 |
|
#if DEBUG |
34 |
|
fprintf(stderr, "Writing isotropic order %d ", samp_order); |
35 |
|
if (pctcull >= 0) fprintf(stderr, "data with %d%% culling\n", pctcull); |
36 |
|
else fputs("raw data\n", stderr); |
37 |
|
#endif |
38 |
|
if (pctcull >= 0) { /* begin output */ |
39 |
< |
sprintf(cmd, "rttree_reduce -h -a -fd -r 3 -t %d -g %d", |
39 |
> |
sprintf(cmd, "rttree_reduce -h -a -ff -r 3 -t %d -g %d", |
40 |
|
pctcull, samp_order); |
41 |
|
fflush(stdout); |
42 |
|
ofp = popen(cmd, "w"); |
91 |
|
char cmd[128]; |
92 |
|
int ix, iy, ox, oy; |
93 |
|
FVECT ivec, ovec; |
94 |
< |
double bsdf; |
94 |
> |
float bsdf; |
95 |
|
#if DEBUG |
96 |
|
fprintf(stderr, "Writing anisotropic order %d ", samp_order); |
97 |
|
if (pctcull >= 0) fprintf(stderr, "data with %d%% culling\n", pctcull); |
98 |
|
else fputs("raw data\n", stderr); |
99 |
|
#endif |
100 |
|
if (pctcull >= 0) { /* begin output */ |
101 |
< |
sprintf(cmd, "rttree_reduce -h -a -fd -r 4 -t %d -g %d", |
101 |
> |
sprintf(cmd, "rttree_reduce -h -a -ff -r 4 -t %d -g %d", |
102 |
|
pctcull, samp_order); |
103 |
|
fflush(stdout); |
104 |
|
ofp = popen(cmd, "w"); |