176 |
|
int sn, bi, n; |
177 |
|
register HOLO *hp; |
178 |
|
GCOORD gc[2]; |
179 |
< |
BYTE rr[2][2]; |
179 |
> |
uby8 rr[2][2]; |
180 |
|
BEAM *bp; |
181 |
|
double d0, d1; |
182 |
|
unsigned dc; |
359 |
|
error(USER, errmsg); |
360 |
|
} |
361 |
|
if (phd.altprims) { |
362 |
< |
sprintf(errmsg, "ignoring primary values in picture \"%s\"", |
362 |
> |
sprintf(errmsg, "ignoring color primaries in picture \"%s\"", |
363 |
|
pcf); |
364 |
|
error(WARNING, errmsg); |
365 |
|
} |
398 |
|
error(USER, errmsg); |
399 |
|
} |
400 |
|
for (i = scanlen(&prs); i--; ) { /* do each pixel */ |
401 |
+ |
if (zscn[i] <= 0.0) |
402 |
+ |
continue; /* illegal depth */ |
403 |
|
pix2loc(vl, &prs, i, j); |
404 |
|
aftd = viewray(ro, rd, &phd.vw, vl[0], vl[1]); |
405 |
|
if (aftd < -FTINY) |