636 |
|
if (thisray.ro == NULL) |
637 |
|
(*dev->comout)("ray hit nothing"); |
638 |
|
else { |
639 |
< |
sprintf(buf, "ray hit %s %s \"%s\"", |
640 |
< |
objptr(thisray.ro->omod)->oname, |
639 |
> |
sprintf(buf, "ray hit %s%s %s \"%s\"", |
640 |
> |
thisray.rod < 0.0 ? "back of " : "", |
641 |
> |
thisray.ro->omod == OVOID ? VOIDID : |
642 |
> |
objptr(thisray.ro->omod)->oname, |
643 |
|
ofun[thisray.ro->otype].funame, |
644 |
|
thisray.ro->oname); |
645 |
|
(*dev->comout)(buf); |
693 |
|
(*dev->comout)(fname); |
694 |
|
(*dev->comout)("\"...\n"); |
695 |
|
/* write header */ |
696 |
+ |
newheader("RADIANCE", fp); |
697 |
|
fputs(progname, fp); |
698 |
|
fprintview(&ourview, fp); |
699 |
|
if (octname != NULL) |