Garry's Mod Wiki

Revision Difference

mesh_primitives#562035

<cat>Don'tListMePlease,ThankYou</cat>⤶ <title>Mesh Reference - Primitive Types</title> ⤶ <warning>This page is work in progress</warning>⤶ # Mesh Library References These pages seek to provide helpful insight into the usage of the <page>mesh</page> library and its functions. The pages in this series are: * **Primitive Types** # Terms and Definitions ## What is a Primitive? Definitionally, a Primitive is the simple shapes that any model (or "mesh") is built from. Practically, a Primitive is a grouping of one or more vertices that the rendering system interprets together in order to draw a simple shape onto the currently active <page text="Render Target">render_rendertargets</page>. As an example, the most common Primitive types are triangles (3 vertices), and quads (4 vertices). ## Face Culling and Vertex Winding If the rendering system simply drew all Primitives (or "faces") for a model, # Primitive Types ⤶ There are ⤶ ⤶ TODO