1 |
|
MGF PACKAGE DESCRIPTION |
2 |
< |
SCCSid "$SunId$ LBL" |
2 |
> |
RCSid "$Id$" |
3 |
|
|
4 |
|
This package includes a description and parser for a new scene |
5 |
|
description standard, called for the lack of a better name, MGF |
110 |
|
materials.) A list of related mg_ehand assignments is given below: |
111 |
|
|
112 |
|
mg_ehand[MG_E_COLOR] = c_hcolor; |
113 |
+ |
mg_ehand[MG_E_CCT] = c_hcolor; |
114 |
|
mg_ehand[MG_E_CMIX] = c_hcolor; |
115 |
|
mg_ehand[MG_E_CSPEC] = c_hcolor; |
116 |
|
mg_ehand[MG_E_CXY] = c_hcolor; |
117 |
|
mg_ehand[MG_E_ED] = c_hmaterial; |
118 |
+ |
mg_ehand[MG_E_IR] = c_hmaterial; |
119 |
|
mg_ehand[MG_E_MATERIAL] = c_hmaterial; |
120 |
|
mg_ehand[MG_E_NORMAL] = c_hvertex; |
121 |
|
mg_ehand[MG_E_POINT] = c_hvertex; |
234 |
|
|
235 |
|
The simplest is a translator from MGF to MGF called mgfilt.c, which |
236 |
|
produces on the standard output only those entities from the standard |
237 |
< |
input that are supported according to the command line arguments. For |
238 |
< |
example, one could remove everything but the raw, flat polygonal |
237 |
> |
input that are supported according to the first command line argument. |
238 |
> |
For example, one could remove everything but the raw, flat polygonal |
239 |
|
geometry with the following command: |
240 |
|
|
241 |
< |
mgfilt v p f xf < any.mgf > faces.mgf |
241 |
> |
mgfilt v,p,f,xf any.mgf > faces.mgf |
242 |
|
|
243 |
|
Note that the xf entity must also be included, for its support is |
244 |
|
required by all geometric entities. |
252 |
|
|
253 |
|
Copyright |
254 |
|
========= |
255 |
< |
At this point, the legal issues related to this parser have not been |
256 |
< |
worked out. The intent is to offer it free of charge to all those who |
257 |
< |
wish to use it (with no guarantees, of course). However, we may decide |
258 |
< |
that copyright protections are necessary to prevent unauthorized versions |
257 |
< |
of the parser, which do not properly support the MGF standard, from |
258 |
< |
getting spread around. Since this is a pre-release, we trust that you |
259 |
< |
will not share it with anyone without getting our permission first. |
255 |
> |
This library was put in public domain and is offered free |
256 |
> |
of charge to all those who wish to use it for any purpose. |
257 |
> |
We take no responsibility for its use, misuse, correctess, |
258 |
> |
or suitability. |
259 |
|
|
260 |
|
Questions |
261 |
|
========= |
262 |
< |
Questions should be directed to Greg Ward <[email protected]>, who will be |
263 |
< |
happy to offer any reasonable assistance in using this standard. (Greg's |
265 |
< |
telephone is 1-510-486-4757, fax 1-510-486-4089.) |
262 |
> |
Questions should be directed to Greg Ward <[email protected]>>, who will be |
263 |
> |
happy to offer any reasonable assistance in using this standard. |