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. |