--- ray/src/cv/mgflib/README 1995/12/01 16:26:57 1.2 +++ ray/src/cv/mgflib/README 1996/02/08 11:14:07 1.3 @@ -1,4 +1,4 @@ - MGF Parser Library Version 1.0 + MGF Parser Library Version 1.1 SCCSid "$SunId$ LBL" Welcome to the initial release of the MGF language and parser library. @@ -17,14 +17,22 @@ the following exceptions: mgf2rad.c - MGF to Radiance converter, missing some libraries mgfilt.c - MGF to MGF filter, compiled in Makefile rad2mgf.c - Radiance to MGF converter, missing some libraries + 3ds2mgf.c - 3D-Studio to MGF converter, complete with below + optray.[ch] - Triangle smoothing code used by 3ds2mgf + vect.[ch] - Vector and matrix code used by 3ds2mgf The Makefile creates three useful items: mgfilt - a filter for MGF libmgf.a - the MGF parser library mgf2inv - a translator from MGF to Inventor (or VRML) format + 3ds2mgf - a translator from 3D-Studio to MGF Before you compile, you should probably check to make sure that the compiler and flags you like are included. If you're like me and lack an ANSII-compatible C compiler on your machine, use the -DNOPROTO flag to take out function prototypes and get back K&R compatibility. + +The exception to this is 3ds2mgf, which requires an ANSI-C compiler with +prototypes. Because of this requirement, the program must be built +explicitly with "make 3ds2mgf".