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

Comparing ray/src/rt/rpict.c (file contents):
Revision 1.1 by greg, Thu Feb 2 10:41:36 1989 UTC vs.
Revision 1.5 by greg, Tue Jun 13 10:57:40 1989 UTC

# Line 24 | Line 24 | static char SCCSid[] = "$SunId$ LBL";
24   VIEW  ourview = STDVIEW(512);           /* view parameters */
25  
26   int  psample = 4;                       /* pixel sample size */
27
27   double  maxdiff = .05;                  /* max. difference for interpolation */
29
28   double  dstrpix = 0.67;                 /* square pixel distribution */
29 +
30   double  dstrsrc = 0.0;                  /* square source distribution */
31 + double  shadthresh = .05;               /* shadow threshold */
32 + double  shadcert = .5;                  /* shadow certainty */
33  
34   int  maxdepth = 6;                      /* maximum recursion depth */
35   double  minweight = 5e-3;               /* minimum ray weight */
# Line 263 | Line 264 | char  *oldfile;
264          getheader(fp, NULL);
265                                  /* get picture size */
266          if (fscanf(fp, "-Y %d +X %d\n", &y, &x) != 2) {
267 +                sprintf(errmsg, "bad recover file \"%s\"", oldfile);
268 +                error(WARNING, errmsg);
269                  fclose(fp);
270                  return(0);
271          }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines