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

Comparing ray/src/rt/pmapopt.c (file contents):
Revision 2.2 by rschregle, Fri May 8 13:20:23 2015 UTC vs.
Revision 2.3 by greg, Thu May 21 15:26:35 2015 UTC

# Line 13 | Line 13
13  
14  
15  
16 < #include <stdlib.h>
16 > #include "ray.h"
17   #include "pmapparm.h"
18 #include "rtio.h"
19 #include "rterror.h"
18  
19  
20  
# Line 35 | Line 33 | int getPmapRenderOpt (int ac, char *av [])
33        case 'a':
34           switch (av [0][2]) {
35              case 'p': /* photon map */
36 +               /* Asking for photon map, ergo ambounce != 0 */
37 +               ambounce += (ambounce == 0);
38                 if (!check(3, "s")) {
39                    /* File -> assume bwidth = 1 or precomputed pmap */
40                    if (++t >= NUM_PMAP_TYPES)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines