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.7 by rschregle, Wed Jul 29 18:54:20 2015 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines