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

Comparing ray/src/cv/bsdf2ttree.c (file contents):
Revision 2.61 by greg, Fri Feb 23 03:47:57 2024 UTC vs.
Revision 2.64 by greg, Sat Jun 7 05:09:45 2025 UTC

# Line 12 | Line 12 | static const char RCSid[] = "$Id$";
12   #include <math.h>
13   #include <ctype.h>
14   #include "random.h"
15 #include "platform.h"
16 #include "paths.h"
15   #include "rtio.h"
16   #include "calcomp.h"
17   #include "bsdfrep.h"
20                                /* global argv[0] */
21 char                    *progname;
18                                  /* reciprocity averaging option */
19   static const char       *recip = "";
20                                  /* percentage to cull (<0 to turn off) */
# Line 28 | Line 24 | static int             samp_order = 6;
24                                  /* super-sampling threshold */
25   static double           ssamp_thresh = 0.35;
26                                  /* number of super-samples */
27 < static int              nssamp = 256;
27 > static int              nssamp = 64;
28                                  /* limit on number of RBF lobes */
29   static int              lobe_lim = 15000;
30                                  /* progress bar length */
# Line 746 | Line 742 | main(int argc, char *argv[])
742          int                     nsirs = 0;
743          char                    buf[1024];
744          int                     i;
745 <
746 <        progname = argv[0];
745 >                                                /* set global progname */
746 >        fixargv0(argv[0]);
747          esupport |= E_VARIABLE|E_FUNCTION|E_RCONST;
748          esupport &= ~(E_INCHAN|E_OUTCHAN);
749          scompile("PI:3.14159265358979323846", NULL, 0);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines