Implementing Frustum Culling - 3D Games in GameMaker
Last time we set up some camera frustum data structures. Now let's use those to figure out what parts of a scene we don't have to render!
3D collisions in native GML are one of the more commonly requested tutorial subjects I get. This is a big subject and will require a long time to cover properly, but they can be done - no external DLLs required!
As always, you can find the GML code on my tutorial Github:
https://github.com/DragoniteSpam-GameMaker-Tutorials/3DCollisions
https://github.com/DragoniteSpam-GameMaker-Tutorials/3DCollisionTestWorld
3D collisions in GameMaker playlist:
https://www.youtube.com/playlist?list=PL_hT--4HOvrf_VYo26LNl3zN5uwfuC3CC
GameMaker 3D playlist:
https://www.youtube.com/playlist?list=PL_hT--4HOvrcML9uqHe4fwBVTm650Vy3V
GameMaker Studio 2 playlist:
https://www.youtube.com/playlist?list=PL_hT--4HOvrdAGC6YHCqn_VR69GlR_rQw
0:00 Introduction
1:06 Last-minute setup
3:41 Points and frustums
7:14 Spheres and frustums
11:04 AABBs and frustums
16:04 Getting all objects inside a frustum
32:24 Frustum culling in action
35:36 Making frustum culling perform better
39:30 Situations in which frustum culling will be more and less useful
43:54 The end
Thumbnail:
frustum by Bohdan Burmich from Noun Project
Video Camera by Adinda Lutfiah Nugraha from Noun Project
#GameMaker3D
#GameMaker3DTutorial
#GameMaker3DCollisions
- - - - -
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!
Other Videos By DragoniteSpam
Other Statistics
The Culling Statistics For DragoniteSpam
At this time, DragoniteSpam has 2,656 views for The Culling spread across 3 videos. The game makes up 1 hour of published video on his channel, making up less than 0.09% of the total overall content for The Culling on DragoniteSpam's YouTube channel.