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.2 by greg, Thu Jan 1 19:31:45 2004 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 < -DMC            If set, switches from default low-discrepency sequence
5 <                sampling to true (pseudorandom) Monte Carlo.  Use if
6 <                the "brushed" appearance of specular highlights and
7 <                penumbras bothers you.
8 <
9 < -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  
13 -DSPEED=(MIPS)  Millions of instructions per second for this
14                processor (approximate).  This is used to decide
15                certain unimportant timing issues such as how many
16                rays to trace before checking input in rvu and
17                whether or not to optimize the color table in ximage
18                on 8-bit displays.
19
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
25 <                things this flag affects.)  Also affects certain system
26 <                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 39 | Line 25 | for specific machines and users:
25                  Values greater than 20 use over 4 Kbytes per
26                  light source, which can add up to a lot of
27                  memory in scenes with many sources.
28 +
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%).

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines