1 |
< |
.\" RCSid "$Id" |
1 |
> |
.\" RCSid "$Id$" |
2 |
|
.TH MGF2RAD 1 4/12/95 RADIANCE |
3 |
|
.SH NAME |
4 |
|
mgf2rad - convert Materials and Geometry Format file to RADIANCE description |
5 |
|
.SH SYNOPSIS |
6 |
|
.B mgf2rad |
7 |
|
[ |
8 |
+ |
.B \-s |
9 |
+ |
][ |
10 |
|
.B "\-m matfile" |
11 |
|
][ |
12 |
|
.B "\-e mult" |
55 |
|
materials; i.e. translating just the MGF materials does not work. |
56 |
|
.PP |
57 |
|
The |
58 |
+ |
.I \-s |
59 |
+ |
option turns on spectral data conversion, producing "spectrum" |
60 |
+ |
modifiers in the output as supported by RADIANCE 6.0 and later. |
61 |
+ |
If you do not plan to employ spectral rendering, then it is |
62 |
+ |
better to have |
63 |
+ |
.I mgf2rad |
64 |
+ |
convert to RGB colors, which is the default. |
65 |
+ |
.PP |
66 |
+ |
The |
67 |
|
.I \-e |
68 |
|
option may be used to multiply all the emission values by the |
69 |
|
given |
83 |
|
mgf2rad -m materials.rad building1.mgf building2.mgf > building1+2.rad |
84 |
|
.PP |
85 |
|
To create an octree directly from two MGF files and one RADIANCE |
86 |
< |
file: |
86 |
> |
file, including spectra: |
87 |
|
.IP "" .2i |
88 |
< |
oconv '\\!mgf2rad materials.mgf scene.mgf' source.rad > scene.oct |
88 |
> |
oconv '!mgf2rad -s materials.mgf scene.mgf' source.rad > scene.oct |
89 |
|
.SH FILES |
90 |
|
tmesh.cal Used to smooth polygonal geometry |
91 |
|
.br |