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

Comparing ray/src/rt/ambient.c (file contents):
Revision 2.95 by rschregle, Tue May 19 13:52:37 2015 UTC vs.
Revision 2.98 by greg, Sun Aug 23 00:17:12 2015 UTC

# Line 196 | Line 196 | setambient(void)                               /* initialize calculation */
196                  sprintf(errmsg, "cannot open ambient file \"%s\"", ambfile);
197                  error(SYSTEM, errmsg);
198          }
199 #ifdef getc_unlocked
200        flockfile(ambfp);                       /* application-level lock */
201 #endif
199   #ifdef  F_SETLKW
200          aflock(F_UNLCK);                        /* release file */
201   #endif
# Line 671 | Line 668 | multambient(           /* compute ambient component & multiply
668                  return;
669  
670          /* PMAP: Otherwise factor in ambient from caustic photon map
671 <         * (ambCausticPmap() returns zero if caustic photons disabled) and
671 >         * (ambPmapCaustic() returns zero if caustic photons disabled) and
672           * continue with RADIANCE ambient calculation */
673          copycolor(caustic, aval);
674          ambPmapCaustic(caustic, r, rdepth);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines