ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/rt/m_bsdf.c
(Generate patch)

Comparing ray/src/rt/m_bsdf.c (file contents):
Revision 2.22 by greg, Sun Sep 2 15:33:15 2012 UTC vs.
Revision 2.23 by greg, Tue Apr 9 16:55:15 2013 UTC

# Line 507 | Line 507 | m_bsdf(OBJREC *m, RAY *r)
507                  multv3(upvec, upvec, mf->fxp->xfm);
508                  nd.thick *= mf->fxp->sca;
509          }
510 +        if (r->rox != NULL) {
511 +                multv3(upvec, upvec, r->rox->f.xfm);
512 +                nd.thick *= r->rox->f.sca;
513 +        }
514          raynormal(nd.pnorm, r);
515                                                  /* compute local BSDF xform */
516          ec = SDcompXform(nd.toloc, nd.pnorm, upvec);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines