| 1 |
< |
MGF Parser Library Version 1.0 |
| 1 |
> |
MGF Parser Library Version 1.1 |
| 2 |
|
SCCSid "$SunId$ LBL" |
| 3 |
|
|
| 4 |
|
Welcome to the initial release of the MGF language and parser library. |
| 17 |
|
mgf2rad.c - MGF to Radiance converter, missing some libraries |
| 18 |
|
mgfilt.c - MGF to MGF filter, compiled in Makefile |
| 19 |
|
rad2mgf.c - Radiance to MGF converter, missing some libraries |
| 20 |
+ |
3ds2mgf.c - 3D-Studio to MGF converter, complete with below |
| 21 |
+ |
optray.[ch] - Triangle smoothing code used by 3ds2mgf |
| 22 |
+ |
vect.[ch] - Vector and matrix code used by 3ds2mgf |
| 23 |
|
|
| 24 |
|
The Makefile creates three useful items: |
| 25 |
|
|
| 26 |
|
mgfilt - a filter for MGF |
| 27 |
|
libmgf.a - the MGF parser library |
| 28 |
|
mgf2inv - a translator from MGF to Inventor (or VRML) format |
| 29 |
+ |
3ds2mgf - a translator from 3D-Studio to MGF |
| 30 |
|
|
| 31 |
|
Before you compile, you should probably check to make sure that the |
| 32 |
|
compiler and flags you like are included. If you're like me and lack |
| 33 |
|
an ANSII-compatible C compiler on your machine, use the -DNOPROTO flag |
| 34 |
|
to take out function prototypes and get back K&R compatibility. |
| 35 |
+ |
|
| 36 |
+ |
The exception to this is 3ds2mgf, which requires an ANSI-C compiler with |
| 37 |
+ |
prototypes. Because of this requirement, the program must be built |
| 38 |
+ |
explicitly with "make 3ds2mgf". |