Project

General

Profile

Previous Up Next

M3listOfPolygons
Takes a topology or a mesh as a parameter.
Returns the list of polygons of the topology referenced by the mesh.
Each polygon is a set (material, list of vertices). Each vertex is a triplet (index and two primary texture coordinates).
The texture coordinates are integer values. The edges of a texture are 0 and 255

[[HMat3d [[I I I] r1]] r1] M3listOfPolygons (
S3d _session_
H3d _object_
)
Parameters

_session_
3D Session
_object_
Topology or mesh
Return value

List of polygons
Remark

In the case of a multi-topo mesh, only the active topology is concerned.
See Also

M3setPolygons