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

Comparing ray/src/rt/mkpmap.c (file contents):
Revision 2.11 by rschregle, Wed Apr 14 11:26:25 2021 UTC vs.
Revision 2.15 by greg, Fri Jun 20 03:43:17 2025 UTC

# Line 32 | Line 32 | static const char RCSid[] = "$Id$";
32   #include "ambient.h"
33   #include "resolu.h"
34   #include "source.h"
35 + #include "func.h"
36   #include <ctype.h>
37   #include <string.h>
38   #include <sys/stat.h>
# Line 44 | Line 45 | static const char RCSid[] = "$Id$";
45   extern char VersionID [];
46  
47  
47 char*    progname;                  /* argv[0] */
48   int      dimlist [MAXDIM];          /* sampling dimensions */
49   int      ndims = 0;                 /* number of sampling dimenshunns */
50   char*    octname = NULL;            /* octree name */
# Line 73 | Line 73 | double   shadthresh = .05, ambacc = 0.2, shadcert = .5
73           ssampdist = 0, dstrsrc = 0.0, specthresh = 0.15, specjitter = 1.0,
74           avgrefl = 0.5;
75   int      ambvwt = 0, ambssamp = 0, ambres = 32, ambounce = 0,
76 <         directrelay = 1, directvis = 1, samplendx, do_irrad = 0,
76 >         directrelay = 1, directvis = 1, do_irrad = 0,
77           ambdiv = 128, vspretest = 512, maxdepth = 6, contrib = 0;
78 < char     *shm_boundary = NULL, *ambfile = NULL, *RCCONTEXT = NULL;
78 > unsigned long   samplendx = 0;
79 > char     *ambfile = NULL, *RCCONTEXT = NULL;
80   void     (*trace)() = NULL, (*addobjnotify [])() = {ambnotify, NULL};
81  
82    
# Line 191 | Line 192 | int main (int argc, char* argv [])
192     progname = fixargv0(argv [0]);
193     /* Initialize object types */
194     initotypes();
195 <  
195 >   /* initialize calcomp routines */
196 >   initfunc();
197 >
198     /* Parse options */
199     for (i = 1; i < argc; i++) {
200        /* Eggs-pand arguments */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines