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.5 by greg, Tue May 26 13:21:07 2015 UTC vs.
Revision 2.6 by greg, Tue May 26 15:58:34 2015 UTC

# Line 29 | Line 29
29                             contrib, or dedicated caustic photon map.
30     */
31     #define shadowRayInPmap(r) ((r) -> crtype & SHADOW && \
32 <                                (ambounce < 0 || causticPhotonMapping))
32 >                                (ambounce < 0 || ((r) -> crtype & AMBIENT ? \
33 >                                        photonMapping : causticPhotonMapping)))
34    
35     /* Check if scattered ray spawns a caustic photon */
36     #define PMAP_CAUSTICRAY(r) ((r) -> rtype & SPECULAR)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines