Last time we made a falling sand program, but it could only simulate particles inside one screen. In this video we’ll first split the world into chunks, then look at some ways to speed it up.
Full article: https://winter.dev/articles/falling-s...
Code for thread pool: https://github.com/IainWinter/IwEngin...
Code for the Microsoft map, not sure how it ended up on my computer, I think you get it through Visual Studio: https://docs.microsoft.com/en-us/cpp/...
Intro: 0:00
Chunks: 0:34
Optimization: 3:20
Threading: 6:18
Final demo: 9:33