200 |
|
while (nsources--) |
201 |
|
freeobscache(&source[nsources]); |
202 |
|
#endif |
203 |
– |
#ifdef SSKIPOPT |
204 |
– |
sskip_rsi(NULL); |
205 |
– |
#endif |
203 |
|
free(source); |
204 |
|
source = NULL; |
205 |
|
nsources = 0; |
448 |
|
cntord[sn].brt = sintens(scp->coef); |
449 |
|
if (cntord[sn].brt <= 0.0) |
450 |
|
continue; |
454 |
– |
#ifdef SSKIPOPT |
455 |
– |
if (ssf_select != NULL && sskip_chk(ssf_select, scp->sno)) |
456 |
– |
scalescolor(scp->coef, r->scorr); |
457 |
– |
#endif |
451 |
|
VCOPY(scp->dir, sr.rdir); |
452 |
|
copyscolor(sr.rcoef, scp->coef); |
453 |
|
/* compute potential */ |
636 |
|
} |
637 |
|
/* other factors */ |
638 |
|
d *= si.dom * r->rot / (4.*PI*nsamps); |
646 |
– |
#ifdef SSKIPOPT |
647 |
– |
if (ssf_select != NULL && sskip_chk(ssf_select, sr.rsrc)) |
648 |
– |
d *= r->scorr; |
649 |
– |
#endif |
639 |
|
scalescolor(sr.rcol, d); |
640 |
|
} else { |
641 |
|
/* PMAP: Add ambient inscattering from |