| 1 | 
greg | 
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 | 
| 10 | 
  | 
  | 
                architectures align on 8-word boundaries (double). | 
| 11 | 
  | 
  | 
                The default alignment type is int. | 
| 12 | 
  | 
  | 
 | 
| 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 rview and | 
| 17 | 
  | 
  | 
                whether or not to optimize the color table in ximage | 
| 18 | 
  | 
  | 
                on 8-bit displays. | 
| 19 | 
  | 
  | 
 | 
| 20 | 
  | 
  | 
-DWFLUSH=(rays) Override for number of rays before flush in rview. | 
| 21 | 
  | 
  | 
 | 
| 22 | 
  | 
  | 
-DBSD           Operating system has a strong Berkeley flavor, meaning | 
| 23 | 
  | 
  | 
                that bcopy() and bzero() are present but maybe memcpy() | 
| 24 | 
  | 
  | 
                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. | 
| 27 | 
  | 
  | 
 | 
| 28 | 
  | 
  | 
-DBIGMEM        The system has lots of RAM available, so size hash | 
| 29 | 
  | 
  | 
                tables and the like accordingly.  Also provides for | 
| 30 | 
  | 
  | 
                larger overall scene descriptions (33,553,920 primitives | 
| 31 | 
  | 
  | 
                rather than 32,256). | 
| 32 | 
  | 
  | 
 | 
| 33 | 
  | 
  | 
-DSMLFLT        This setting tells Radiance to use short floats | 
| 34 | 
  | 
  | 
                (4-bytes) throughout, which saves lots of memory | 
| 35 | 
  | 
  | 
                but can cause calculation inaccuracies in many | 
| 36 | 
  | 
  | 
                cases.  Its use has been discontinued for this reason. |