CompuServe Messages

Face map answer ?

    27-Jun-95 15:08:36
Sb: #177459-Face map answer ?
Fm: Jonas Ruikis [ADESK] 73172,1351
To: Michael Ludwig 100445,3603
Hi Michael, Your face mapping question is similar to the following.. << Face mapping deals with "quads", but 3DS deals with triangles, so I'm not sure which triangular piece of the quad (upper-left, lower-right, etc.) texture should be mapped to each triangular polygon. I've tried to kludge it by looking at order of the vertex indexes and the <FaceABVisable3ds> flags, but it isn't right. >> Pg. 9-67 of the Ref Man states, "The mapping of the object depends on the construction and shape of the facets in the geometry. If the object is a cube, for example, or a cylinder with flat sides, the mapped area appears once in each rectangular facet, as defined by the visible edges. If the facets of the object consist of triangular faces, such as those in a GSphere, a triangular portion of *either* the upper-left or lower-right corners of the map appear. " So are you using geometry that has flat quads, like a cube, or an irregular shape like the GSphere? If it's like a GSphere, then my understanding, of the above description, is that you cannot be sure what will be mapped to the face by the renderer. jonas[adesk]