ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/doc/notes/compile_switches
Revision: 1.4
Committed: Mon Jun 13 20:07:56 2005 UTC (18 years, 10 months ago) by greg
Branch: MAIN
CVS Tags: rad3R7P2, rad3R7P1
Changes since 1.3: +0 -5 lines
Log Message:
Added -R option for pure Monte Carlo rendering, replacing -DMC compile option

File Contents

# User Rev Content
1 greg 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
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 greg 1.2 rays to trace before checking input in rvu and
12 greg 1.1 whether or not to optimize the color table in ximage
13     on 8-bit displays.
14    
15 greg 1.2 -DWFLUSH=(rays) Override for number of rays before flush in rvu.
16 greg 1.1
17     -DBSD Operating system has a strong Berkeley flavor, meaning
18     that bcopy() and bzero() are present but maybe memcpy()
19     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.
22    
23 greg 1.2 -DSMLMEM The system has little RAM available, so size hash
24     tables and the like accordingly. Only allows for
25     small scene descriptions (32,256 primitives).
26 greg 1.1
27     -DSMLFLT This setting tells Radiance to use short floats
28 greg 1.2 (32 bits) throughout, which saves lots of memory
29 greg 1.1 but can cause calculation inaccuracies in many
30     cases. Its use has been discontinued for this reason.
31 greg 1.2
32     -DSHADCACHE=N The array size to use for caching occluders.
33     Setting this to 0 turns off this optimization.
34     Values greater than 20 use over 4 Kbytes per
35     light source, which can add up to a lot of
36     memory in scenes with many sources.
37 greg 1.3
38     -DAVGREFL=R Set the average surface reflectance for the purpose
39     of indirect irradiance calculations to R, where
40     R is a real number in the range (0,1.0). The
41     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.