Skip to content
0:00 / 0:00

#marchingcubes#unity#proceduralgeneration

Coding Adventure: Marching Cubes

Sebastian Lague

1.4M subscribers • 17 videos on Hallway

YouTube
  • Recommended by 2 people: 2 in engineering communities.
  • A classic. People kept recommending it from 2021 to 2026.
  • Presented by Sebastian Lague
  • Linked in the descriptionSebLague/Marching-Cubes

Intermediate. Assumes working knowledge.

1.1M views7 years ago2 recommendations

Graphics and audioComputer scienceRenderingAlgorithmsGame programming

Sebastian Lague explains the marching cubes algorithm and demonstrates how to use it to generate procedural 3D terrain in Unity.

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: patreon.com/SebastianLague Project files: github.com/SebLague/Marching-Cubes Learning resources: paulbourke.net/geometry/polygonise/ developer.nvidia.com/gpugems/GPUGems3/gpugems3_ch01.html people.eecs.berkeley.edu/~jrs/meshpapers/LorensenCline.pdf Chapters: Intro Algorithm explanation Map editor Procedural maps Underwater world Music from filmmusic.io: "Hiding Your Reality" and "Floating Cities" by Kevin MacLeod (incompetech.com) Licence: CC BY (creativecommons.org/licenses/by/4.0/)

Why it's here

2 people recommend this

What people say. Highly recommended by graphics programmers as an accessible and engaging introduction to the marching cubes algorithm.

u/Mago_Malvadoin r/GraphicsProgramming • Recommends

On “Marching squares algorithm + OpenSimplex Noise”

About the algorithm: * https://en.wikipedia.org/wiki/Marching\_squares * [video * [video My code (C++): https://github.com/Magoninho/marching-squares/tree/main/src OpenSimplex Noise used from this gist

u/Aethreasin r/GraphicsProgramming • Recommends

On “Does anyone have a learning roadmap one might recommend to specialize in voxels and sdfs to a point where they can work on projects like Voxel Plugin UE5, No man's sky, Mesh generation, Mesh programming? (Noob phrasing)”

[video