Vertex Formats and Vertex Buffers - 3D Games in GameMaker

Once you’ve got your basic 3D camera projections set up, it’s time to start rendering your own stuff to the screen. Here’s how to get started with vertex buffers! I forgot to mention this in the video itself, but vertex buffers are analogous to the old D3D models in old versions of Game Maker: you can use them in mostly the same way, but like with a number of other things, you need to do a bit of setup before you can use them. On loading models from files - gmmod / d3d: On loading models from files - obj: Transformation matrices are going to be more useful in the future, but if you want to know about them: Here’s the code: 0:00 Introduction 1:33 The Z buffer (also called the depth buffer) 2:29 Creating a vertex format 3:25 Polygons and triangles 6:19 Creating a vertex buffer 11:17 This is where my vertex_add_point function comes from (please stop telling me that it doesn’t exist in GameMaker) 13:52 Drawing the vertex buffer 16:34 Adding our second triangle 17:04 Messing with vertex colors 19:06 Creating squares in a loop 25:53 Ending #GameMaker3D #GameMaker3DTutorial #GameMakerVertexBuffer - - - - - I’ve now made that Patreon: That promised social media link spam. Anyone wanna donate? Rate, comment, subscribe, watch more, enjoy!
Back to Top