--- ray/src/rt/source.c 1989/07/22 11:07:51 1.16 +++ ray/src/rt/source.c 1989/11/29 14:35:27 1.18 @@ -379,7 +379,10 @@ char *p; /* data for f */ if (localhit(&sr, &thescene) && sr.ro != source[cntord[sn].sno].so) { /* check for transmission */ - rayshade(&sr, sr.ro->omod); + if (sr.clipset != NULL && inset(sr.clipset, sr.ro->omod)) + raytrans(&sr); + else + rayshade(&sr, sr.ro->omod); if (bright(sr.rcol) <= FTINY) continue; /* missed! */ (*f)(srccnt[cntord[sn].sno].val, p, @@ -394,7 +397,7 @@ char *p; /* data for f */ } /* weighted hit rate */ hwt = hit2 / test2; -#ifdef DEBUG +#ifdef notdef sprintf(errmsg, "%d tested, %d untested, %f hit rate\n", sn, ncnts-sn, hwt); eputs(errmsg);