1 |
< |
.\" RCSid "$Id" |
1 |
> |
.\" RCSid "$Id$" |
2 |
|
.TH RAD2MGF 1 5/15/95 RADIANCE |
3 |
|
.SH NAME |
4 |
|
rad2mgf - convert RADIANCE scene description to Materials and Geometry Format |
44 |
|
These primitives are reproduced as comments in the output and |
45 |
|
must be replaced manually if necessary. |
46 |
|
.PP |
47 |
< |
The RADIANCE "instance" type is treated specially. |
47 |
> |
The RADIANCE "instance" and "mesh" types aretreated specially. |
48 |
|
.I Rad2mgf |
49 |
< |
converts each instance to an MGF include statement, using the corresponding |
50 |
< |
transformation and a file name derived from the octree name. |
51 |
< |
(The original octree suffix is replaced by ".mgf".)\0 |
49 |
> |
converts each instance or mesh to an MGF include statement, |
50 |
> |
using the corresponding |
51 |
> |
transformation and a file name derived from the octree or mesh name. |
52 |
> |
(The original octree/mesh suffix is replaced by ".mgf".)\0 |
53 |
|
For this to work, the user must separately create the referenced |
54 |
|
MGF files from the original RADIANCE descriptions. |
55 |
|
The description file names can usually be determined using the |
58 |
|
.SH EXAMPLE |
59 |
|
To convert three RADIANCE files (in feet) to one MGF file: |
60 |
|
.IP "" .2i |
61 |
< |
rad2mgf -df file1.rad file2.rad file3.rad > scene.mgf |
61 |
> |
rad2mgf \-df file1.rad file2.rad file3.rad > scene.mgf |
62 |
|
.PP |
63 |
|
To translate a RADIANCE materials file to MGF: |
64 |
|
.IP "" .2i |