Polygon Mesh

A Polygon mesh is a three dimensional object in computer graphics. They consist of vertices, triangle definitions, and sometimes texture coordinates.

In Game Maker 6 and above, you can create 3D mesh's with primitives.

Primitives
All though primitives are only a collection vertex definitions, the sequence of the vertices can define triangles as well.

Example: d3d_primitive_begin(pr_trianglelist); d3d_vertex(0,-1,0); d3d_vertex(-1,1,0); d3d_vertex(1,1,0); d3d_primitive_end;