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

Comparing ray/src/rt/rview.c (file contents):
Revision 2.25 by greg, Sun Mar 28 16:31:14 2004 UTC vs.
Revision 2.28 by greg, Mon Jun 13 20:07:56 2005 UTC

# Line 33 | Line 33 | void  (*trace)() = NULL;               /* trace call */
33  
34   int  do_irrad = 0;                      /* compute irradiance? */
35  
36 + int  rand_samp = 0;                     /* pure Monte Carlo sampling? */
37 +
38   int  psample = 8;                       /* pixel sample size */
39   double  maxdiff = .15;                  /* max. sample difference */
40  
# Line 67 | Line 69 | int  ambres = 32;                      /* ambient resolution */
69   int  ambdiv = 256;                      /* ambient divisions */
70   int  ambssamp = 64;                     /* ambient super-samples */
71   int  ambounce = 0;                      /* ambient bounces */
72 < char  *amblist[128];                    /* ambient include/exclude list */
72 > char  *amblist[AMBLLEN];                /* ambient include/exclude list */
73   int  ambincl = -1;                      /* include == 1, exclude == 0 */
74  
75   int  greyscale = 0;                     /* map colors to brightness? */
# Line 215 | Line 217 | again:
217          else *++args = '\0';
218          
219          switch (inpbuf[0]) {
220 <        case 'f':                               /* new frame (or free mem.) */
220 >        case 'f':                               /* new frame (|focus|free) */
221                  if (badcom("frame")) {
222 <                        if (badcom("free"))
223 <                                goto commerr;
224 <                        free_objmem();
222 >                        if (badcom("focus")) {
223 >                                if (badcom("free"))
224 >                                        goto commerr;
225 >                                free_objmem();
226 >                                break;
227 >                        }
228 >                        getfocus(args);
229                          break;
230                  }
231                  getframe(args);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines