A set of scripts that contain vertex buffer usage examples, primitives and models (.d3d or .mod and .obj) for 3D use.
These are intended to show you how to stop using d3d_model_*, d3d_draw_* and d3d_primitive_* functions and start using Vertex Buffers.
There are few examples on how to use the scripts (eg: loading a .d3d model or drawing a floor by using vertex buffers) however I will add more "usage examples" over time but you can easily build these yourself.
This also shows you how to replace the d3d_transform_* functions with the new matrix_* functions for rotations and translations.
CONDITIONS OF USE: No support for assets. Support emails regarding this asset will not be answered.
You may use any of these shaders in your game(s), paid or free. eg: GameJolt, Steam, own website are permitted.
You may not redistribute any of the shaders/examples on the Yoyogames Marketplace, paid or free as projects, extensions, shaders, etc are not permitted.
Added more examples and changed from using d3d_transform_* functions to using matrix_* functions.
Version 1.0.3. Published November 21, 2016
Created with GameMaker: Studio v1.4.1763
You can only review assets you've bought.
found bug in vertex_buffer_floor_3D:
found bug in vertex_buffer_floor_3D: the script doesn't actually use z1 argument. it builds floor using only z2 value
Workflow in terms of getting models into GM is a pain. This helpful add-on allows you to get .obj (or .d3d) models into GM with minimal effort. Worked perfectly.
Saved me so much time!
Super big thanks! The code is very easy to follow and it gave me all I needed to get a solid handle on vertex buffers, allowing me to move away from D3D models.
Glad it's helped and thanks for leaving a review.