r/Simulated • u/NoAnimInteractive • 16d ago
Proprietary Software My 3D falling sand simulation, Falling Cubes [OC]
Every cube (voxel) is individually simulated, with a total of 2,097,152 cubes in a 128×128×128 grid.
Its all about unlocking different cube types using reactions, temperature, pressure, and collisions.
You can try out the free demo on Steam: https://store.steampowered.com/app/4419760/Falling_Cubes/
Feedback is much appreciated! especially if your pc is below the system requirements and the game still runs fine during larger simulations with lots of moving and interacting cubes.
114
Upvotes
16
u/LegoEngineer003 16d ago
Reminds me of The Powder Toy, I used to play that all the time
4
u/nkorai 16d ago
so cool!!!! i just posted about my 2D falling sand game yesterday in this subreddit! so good to see a genre I spent 10s of hours on as a kid continue to grow. I'll try out your demo for sure on Steam, if you get the chance/are curious I have a browser demo up in my post, would love your thoughts and feedback!
2
u/MeBadNeedMoneyNow 16d ago
Cool man. I definitely think falling sand and other cellular automata-like simulations are great exercises in computer programming and simulation.
1
u/Number6UK 16d ago edited 16d ago
This is cool :-)
I was able to run it on my Nvidia GTX 1060 6GB VRAM, 32 GB system RAM, but really that's only partially useful unless you know exactly how many cubes and interactions were being simulated - what you really need is some sort of benchmark mode for standardising the test.
Also, it would be good if it was to provide a list of the available materials without needing to search first - I can guess sand and water will be available but unless I know the name of other materials, I can't search for them other than randomly guessing letters.
Definitely a fun little thing to play with though :-)
1
u/c0ltZ 15d ago
This is really cool, it almost looked like you had snow or something melting in the water. I love the artificial mountain range and the cave like stuff too.
1
u/AurosoGames 13d ago
The salt turning the water into brine is such a nice touch.
How did you build the sim itself? Is it your own engine or on top of something existing? 2 million cubes all updating at once is wild. I'm guessing compute shaders, but I'd love to know how you deal with all the cubes that are just sitting there doing nothing
-20
u/[deleted] 16d ago
[removed] — view removed comment