|
From: Keith W. <kw...@cs...> - 2004-06-15 17:05:49
|
On Tue, 15 Jun 2004, Frank C wrote: > You'll have to dig through the trimesh's vertexAttributeTypes until you > find an array of the type kQ3AttributeTypeShadingUV, then duplicate > that information and append that array to match the extra vertices. I see that the trimesh has at attribute with that type, which contains an array...but how do I know how long the array is? And where can I find a description of the contents of this array? Is it a list of UV coordinates for the vertices? If so, I would guess that the array is twice as long as the number of vertices in the object, one U and one V coordinate per vertex. Is that right? ________________________________________________________________________ Keith Wiley kw...@cs... http://www.unm.edu/~keithw http://www.mp3.com/KeithWiley "Yet mark his perfect self-contentment, and hence learn his lesson, that to be self-contented is to be vile and ignorant, and that to aspire is better than to be blindly and impotently happy." -- Edwin A. Abbott, Flatland ________________________________________________________________________ |