| 1 | greg | 1.1 | MGF Parser Library Version 1.0 | 
| 2 |  |  | SCCSid "$SunId$ LBL" | 
| 3 |  |  |  | 
| 4 |  |  | Welcome to the initial release of the MGF language and parser library. | 
| 5 |  |  | If you have not read it already, you should take a look at the documentation | 
| 6 |  |  | in the troff file "mgfdoc.tr".  This can be printed out using the -ms | 
| 7 |  |  | macro package, or by sending the file "mgfdoc.ps" to a PostScript printer. | 
| 8 |  |  | The figures for this document are contained in "figures.ps", which may | 
| 9 |  |  | also be sent to a PostScript printer, or displayed with ghostview (if you | 
| 10 |  |  | have it). | 
| 11 |  |  |  | 
| 12 |  |  | Most of the source files go directly into the parser library, with | 
| 13 |  |  | the following exceptions: | 
| 14 |  |  |  | 
| 15 |  |  | face2tri.C      - C++ converter from polygons to triangles | 
| 16 | greg | 1.2 | mgf2inv.c       - MGF to Inventor converter, complete | 
| 17 | greg | 1.1 | 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 |  |  |  | 
| 21 | greg | 1.2 | The Makefile creates three useful items: | 
| 22 | greg | 1.1 |  | 
| 23 |  |  | mgfilt          - a filter for MGF | 
| 24 |  |  | libmgf.a        - the MGF parser library | 
| 25 | greg | 1.2 | mgf2inv         - a translator from MGF to Inventor (or VRML) format | 
| 26 | greg | 1.1 |  | 
| 27 |  |  | Before you compile, you should probably check to make sure that the | 
| 28 |  |  | compiler and flags you like are included.  If you're like me and lack | 
| 29 |  |  | an ANSII-compatible C compiler on your machine, use the -DNOPROTO flag | 
| 30 |  |  | to take out function prototypes and get back K&R compatibility. |