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.24 by greg, Wed Sep 24 14:55:54 2003 UTC vs.
Revision 2.27 by greg, Fri Jan 21 00:52:59 2005 UTC

# Line 62 | Line 62 | double minweight = 1e-2;               /* minimum ray weight */
62   char  *ambfile = NULL;                  /* ambient file name */
63   COLOR  ambval = BLKCOLOR;               /* ambient value */
64   int  ambvwt = 0;                        /* initial weight for ambient value */
65 < double  ambacc = 0.2;                   /* ambient accuracy */
65 > double  ambacc = 0.3;                   /* ambient accuracy */
66   int  ambres = 32;                       /* ambient resolution */
67 < int  ambdiv = 128;                      /* ambient divisions */
68 < int  ambssamp = 32;                     /* ambient super-samples */
67 > int  ambdiv = 256;                      /* ambient divisions */
68 > int  ambssamp = 64;                     /* ambient super-samples */
69   int  ambounce = 0;                      /* ambient bounces */
70 < char  *amblist[128];                    /* ambient include/exclude list */
70 > char  *amblist[AMBLLEN];                /* ambient include/exclude list */
71   int  ambincl = -1;                      /* include == 1, exclude == 0 */
72  
73   int  greyscale = 0;                     /* map colors to brightness? */
# Line 215 | Line 215 | again:
215          else *++args = '\0';
216          
217          switch (inpbuf[0]) {
218 <        case 'f':                               /* new frame (or free mem.) */
218 >        case 'f':                               /* new frame (|focus|free) */
219                  if (badcom("frame")) {
220 <                        if (badcom("free"))
221 <                                goto commerr;
222 <                        free_objmem();
220 >                        if (badcom("focus")) {
221 >                                if (badcom("free"))
222 >                                        goto commerr;
223 >                                free_objmem();
224 >                                break;
225 >                        }
226 >                        getfocus(args);
227                          break;
228                  }
229                  getframe(args);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines