ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/cv/mgflib/readme.txt
(Generate patch)

Comparing ray/src/cv/mgflib/readme.txt (file contents):
Revision 1.1 by greg, Sat Jun 25 09:57:52 1994 UTC vs.
Revision 1.2 by greg, Sat Jun 25 10:51:36 1994 UTC

# Line 136 | Line 136 | xf_xfmvect, xf_rotvect or xf_scale.  These functions t
136   point, 3-D vector (without translation), rotate a 3-D vector (without
137   scaling) and scale a floating-point value, respectively.
138  
139 + Object Support
140 + ==============
141 + The MGF language includes a single entity for naming objects, MG_E_OBJECT.
142 + It is mostly provided as a convenience for the user, so that individual
143 + geometric parts may be easily identified.  Although supporting this entity
144 + directly is possible, it's hierarchical nature requires maintaining a stack
145 + of object names.  The object handler in object.c provides this functionality.
146 + Simply set the MG_E_OBJECT entry of the mg_ehand array to obj_handler,
147 + and the current object name list will be kept in the global array obj_name.
148 + The number of names is stored in the global obj_nnames variable.  To clear
149 + this array (freeing any memory used in the process), call obj_clear.
150 +
151   Examples
152   ========
153   Two example translator programs are included with this package.
# Line 161 | Line 173 | and he'll be happy to provide you with the missing pie
173   Copyright
174   =========
175   At this point, the legal issues related to this parser have not been
176 < considered.  The intent is to offer it free of charge to all those who
176 > worked out.  The intent is to offer it free of charge to all those who
177   wish to use it (with no guarantees, of course).  However, we may decide
178   that copyright protections are necessary to prevent unauthorized versions
179   of the parser that do not properly support the MGF standard from getting

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines