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

Comparing ray/src/ot/oconv.c (file contents):
Revision 2.13 by greg, Wed Mar 12 04:59:04 2003 UTC vs.
Revision 2.16 by schorsch, Sun Jun 8 12:03:10 2003 UTC

# Line 8 | Line 8 | static const char RCSid[] = "$Id$";
8   */
9  
10   #include  "standard.h"
11 <
11 > #include  "platform.h"
12   #include  "octree.h"
13
13   #include  "object.h"
15
14   #include  "otypes.h"
17
15   #include  "paths.h"
16  
17   #define  OMARGIN        (10*FTINY)      /* margin around global cube */
# Line 25 | Line 22 | char  *progname;                       /* argv[0] */
22  
23   int  nowarn = 0;                        /* supress warnings? */
24  
25 < int  objlim = 5;                        /* # of objects before split */
25 > int  objlim = 6;                        /* # of objects before split */
26  
27 < int  resolu = 8192;                     /* octree resolution limit */
27 > int  resolu = 16384;                    /* octree resolution limit */
28  
29   CUBE  thescene = {EMPTY, {0.0, 0.0, 0.0}, 0.0};         /* our scene */
30  
# Line 85 | Line 82 | char  *argv[];
82                          break;
83                  }
84   breakopt:
85 < #ifdef MSDOS
89 <        setmode(fileno(stdout), O_BINARY);
90 < #endif
85 >        SET_FILE_BINARY(stdout);
86          if (infile != NULL) {           /* get old octree & objects */
87                  if (thescene.cusize > FTINY)
88                          error(USER, "only one of '-b' or '-i'");

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines