ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/doc/notes/compile_switches
(Generate patch)

Comparing ray/doc/notes/compile_switches (file contents):
Revision 1.4 by greg, Mon Jun 13 20:07:56 2005 UTC vs.
Revision 1.6 by greg, Mon Sep 19 15:27:19 2005 UTC

# Line 1 | Line 1
1   Here is a list of compile switches, used to customize Radiance code
2   for specific machines and users:
3  
4 < -DALIGN=(type)  Alignment type, machine-dependent.  Most RISC
4 > -DALIGNT=(type) Alignment type, machine-dependent.  Most RISC
5                  architectures align on 8-word boundaries (double).
6                  The default alignment type is int.
7  
8 -DSPEED=(MIPS)  Millions of instructions per second for this
9                processor (approximate).  This is used to decide
10                certain unimportant timing issues such as how many
11                rays to trace before checking input in rvu and
12                whether or not to optimize the color table in ximage
13                on 8-bit displays.
14
8   -DWFLUSH=(rays) Override for number of rays before flush in rvu.
9  
10 < -DBSD           Operating system has a strong Berkeley flavor, meaning
11 <                that bcopy() and bzero() are present but maybe memcpy()
12 <                and memset() are not.  (See common/standard.h for other
20 <                things this flag affects.)  Also affects certain system
21 <                calls, such as signal handling and resource tracking.
10 > -DBSD           Operating system has a strong Berkeley flavor, which
11 >                affects certain system calls, such as signal handling and
12 >                resource tracking.
13  
14   -DSMLMEM        The system has little RAM available, so size hash
15                  tables and the like accordingly.  Only allows for
# Line 38 | Line 29 | for specific machines and users:
29   -DAVGREFL=R     Set the average surface reflectance for the purpose
30                  of indirect irradiance calculations to R, where
31                  R is a real number in the range (0,1.0).  The
32 <                default value is 0.50 (50%).  This value indirectly
42 <                controls the maximum number of ambient bounces,
43 <                which can never be more than the log of the -ad
44 <                setting times the log of AVGREFL.
32 >                default value is 0.50 (50%).

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines