Coding Adventure: Marching Cubes
From Sebastian Lague · · 6 min

The player loads from YouTube only when you click. It uses YouTube's privacy-enhanced mode.
If the video does not play, the owner may have turned off embedding. Watch it on YouTube instead.
Description
In this coding adventure I try to understand marching cubes, and then use it to construct an endless underwater world.
If you'd like to support this channel, please consider becoming a patron here: https://www.patreon.com/SebastianLague
Project files: https://github.com/SebLague/Marching-Cubes
Learning resources: http://paulbourke.net/geometry/polygonise/ https://developer.nvidia.com/gpugems/GPUGems3/gpugems3_ch01.html https://people.eecs.berkeley.edu/~jrs/meshpapers/LorensenCline.pdf
Chapters: 0:00 Intro 0:17 Algorithm explanation 3:27 Map editor 3:47 Procedural maps 4:30 Underwater world
Music from https://filmmusic.io: "Hiding Your Reality" and "Floating Cities" by Kevin MacLeod (https://incompetech.com) Licence: CC BY (http://creativecommons.org/licenses/by/4.0/)