LBRY Block Explorer

LBRY Claims • freezing-vertex-buffers-optimizing-3d

ad75282f001689c668a5ab23fb205e4ca1680df5

Published By
Created On
17 Apr 2021 14:55:50 UTC
Transaction ID
Cost
Safe for Work
Free
Yes
Freezing Vertex Buffers - Optimizing 3D Games in GameMaker
Frozen vertex buffers can be drawn faster than regular vertex buffers! As with combining small vertex buffers into a single large one this can be great for reducing the CPU overhead of your game. As with all of the other optimization tricks I've talked about, some restrictions apply.

I'll be running a lot of these tests on a Raspberry Pi. If you don't have one of those, don't worry; GameMaker games run pretty much the same on them as it does on a desktop PC. The only thing I'm going to be using it for is comparing performance on different devices, and using it to track down performance bottlenecks on weaker devices. In this case, you may notice that being smart about matrix use isn't quite as good about boosting performance as it is on my desktop computer, mainly because the Pi has a considerably weaker GPU and the matrix optimizations done here affect primarily the GML code that runs on the CPU.

All the same, if game development on a Raspberry Pi is something that interests you, I've made a video on that:
https://youtu.be/OH6LskFeD8Q

Here's the repository where I'll be putting the demo code:
https://github.com/DragoniteSpam-GameMaker-Tutorials/3DOptimizationDemos
The changes made in this video are on the optimization-matrices branch.
https://github.com/DragoniteSpam-GameMaker-Tutorials/3DOptimizationDemos/tree/optimization-freeze

3D optimization playlist:
https://www.youtube.com/playlist?list=PL_hT--4HOvrf_CJSA7fVU1tkjGVv5Sq2t

DirectX11 vertex object usage:
https://docs.microsoft.com/en-us/windows/win32/api/d3d11/ne-d3d11-d3d11_usage
(I forgot to include his name in the screenshot, but the user on the GameMaker Discord who sent it to me is SweetLuna, he's not around much anymore but if you ever see him remember to tell him thank-you.)

The thumbnail icon is a combination of:
optimization by IconPai from the Noun Project
Time by libertetstudio from the Noun Project

#GameMaker3D
#GameMaker3DOptimization
#GameMakerVertexBuffer
- - - - -
I've now made that Patreon:
https://www.patreon.com/wizardragon
That promised social media link spam.
https://twitter.com/DragoniteSpam
Transition / idle music is by my old friend Kamex:
https://www.youtube.com/user/GreatGabite/about

Rate, comment, subscribe, watch more, enjoy!
...
https://www.youtube.com/watch?v=80av1I8Lyl0
Author
Content Type
Unspecified
video/mp4
Language
English
Open in LBRY

More from the publisher

Controlling
VIDEO
TEXTU
Controlling
VIDEO
SUPER
Controlling
VIDEO
POKé
VIDEO
SUPER
Controlling
VIDEO
RECRE
Controlling
VIDEO
NOW T
Controlling
VIDEO
POKé
Controlling
VIDEO
HARVE
Controlling
VIDEO
HARVE