| 
  • If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • You already know Dokkio is an AI-powered assistant to organize & manage your digital files & messages. Very soon, Dokkio will support Outlook as well as One Drive. Check it out today!

View
 

TMeshMode

Page history last edited by PBworks 18 years, 7 months ago

Used by TGLMesh meshmode property. Specifies if the mesh vertices primitives are a triangle, quad or polygon or strips. Strips require less vertices be specified if primitives are side by side. For example drawing three quads side by side would require 3x 4 vertices. With a quadstrip itd take only 8 vertices.

TMeshMode is the enumerated type:

TMeshMode = (mmTriangleStrip, mmTriangleFan, mmTriangles, mmQuadStrip, mmQuads, mmPolygon);

The following pictures have been taken from the site Introduction to OpenGL - L2D

mmTriangles: Draws a single triangle. Uses 3 vertices.

mmQuads: Draws a single quad. Uses 4 vertices.

mmPolygon: Draw a single polygon with any number of vertices.

mmTriangleStrip: Draws a triangular strip made up of 8 vertices.

mmTriangleFan: Draws a triangular fan made up of 5 vertices.

mmQuadStrip: Draws a quad strip made up of 8 vertices.

Unit: GLMisc

Comments (0)

You don't have permission to comment on this page.