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

Comparing ray/src/rt/m_brdf.c (file contents):
Revision 2.29 by greg, Wed Mar 20 23:07:51 2013 UTC vs.
Revision 2.31 by greg, Sat Jan 25 18:27:39 2014 UTC

# Line 206 | Line 206 | m_brdf(                        /* color a ray that hit a BRDTfunc material
206          BRDFDAT  nd;
207          RAY  sr;
208          double  mirtest=0, mirdist=0;
209 <        double  transtest, transdist;
209 >        double  transtest=0, transdist=0;
210          int  hasrefl, hastrans;
211          int  hastexture;
212          COLOR  ctmp;
# Line 363 | Line 363 | m_brdf2(                       /* color a ray that hit a BRDF material */
363                  objerror(m, USER, "bad # arguments");
364                                                  /* check for back side */
365          if (r->rod < 0.0) {
366 <                if (!backvis && m->otype != MAT_TFUNC
367 <                                && m->otype != MAT_TDATA) {
366 >                if (!backvis) {
367                          raytrans(r);
368                          return(1);
369                  }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines