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

Comparing ray/src/rt/pmapmat.h (file contents):
Revision 2.6 by greg, Tue May 26 15:58:34 2015 UTC vs.
Revision 2.8 by greg, Tue Aug 18 18:45:55 2015 UTC

# Line 1 | Line 1
1 + /* RCSid $Id$ */
2   /*
3     ==================================================================
4     Photon map support routines for scattering by materials.
# Line 28 | Line 29
29                             accounted for by caustic photons in the global,
30                             contrib, or dedicated caustic photon map.
31     */
32 + /*
33 +   #define ambRayInPmap(r)    ((r) -> crtype & AMBIENT && \
34 +                               ((photonMapping && \
35 +                                 (ambounce < 0 || (r) -> rlvl > 1)) || \
36 +                                 causticPhotonMapping || contribPhotonMapping))
37 + */
38 +   #define ambRayInPmap(r)    0
39     #define shadowRayInPmap(r) ((r) -> crtype & SHADOW && \
40                                  (ambounce < 0 || ((r) -> crtype & AMBIENT ? \
41                                          photonMapping : causticPhotonMapping)))

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines