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

Comparing ray/src/rt/rvmain.c (file contents):
Revision 2.17 by greg, Thu Aug 18 00:52:48 2016 UTC vs.
Revision 2.20 by greg, Wed Jan 17 01:31:08 2024 UTC

# Line 83 | Line 83 | main(int argc, char *argv[])
83          specthresh = .3;
84          specjitter = 1.;
85          maxdepth = 6;
86 <        minweight = 1e-2;
86 >        minweight = 1e-3;
87          ambacc = 0.3;
88          ambres = 32;
89          ambdiv = 256;
# Line 191 | Line 191 | main(int argc, char *argv[])
191                          goto badopt;
192                  }
193          }
194 +                                        /* set/check spectral sampling */
195 +        rval = setspectrsamp(CNDX, WLPART);
196 +        if (rval < 0)
197 +                error(USER, "unsupported spectral sampling");
198 +
199          err = setview(&ourview);        /* set viewing parameters */
200          if (err != NULL)
201                  error(USER, err);
# Line 257 | Line 262 | badopt:
262  
263   void
264   wputs(                          /* warning output function */
265 <        char    *s
265 >        const char      *s
266   )
267   {
268          int  lasterrno = errno;
# Line 268 | Line 273 | wputs(                         /* warning output function */
273  
274   void
275   eputs(                          /* put string to stderr */
276 <        char  *s
276 >        const char  *s
277   )
278   {
279          static int  midline = 0;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines