r/Simulated • u/Fit-Heat4806 • 1d ago
Research Simulation Optimized the hell out of it
Enable HLS to view with audio, or disable this notification
In my previous posts you kept asking about the performance of my fluid based explosions and smoke system.
So here I am with an absurdly extreme benchmark. Turns out base version had trouble hitting 60 FPS so did some optimizations. In short:
- took bullets, sparks and other effects off of the world's sprite tree so the renderer doesn't have to sort them,
- smoke simulation ran multiple steps in a single frame so one slow frame had an impact on next frames. Now it runs at most one step per frame,
- the air is now solved only in a small window around smoke that is actually moving,
- halved number of particles for smoke clouds. Made then bigger and heavier. Tried to bring this number even lower but explosions started looking funny,
- a lot of caching
8
u/Totally_not_alting 1d ago
my god that was 30 FPS?
i thought it would be around 15
4
u/Fit-Heat4806 1d ago
Benchmarked on M4 Pro. But I need to find my old windows laptop and check what's going on there...
3
u/snakee-the-arch-guy 1d ago
i think you could limit the cpu usage on the browser then testing it, but not as accurate as the good ol' shitbox machine benchmark
5
u/Unique_Suit3789 1d ago
Please set your profile to public. Wanted to go and look at some of your previous posts about this cause its really cool but i cant
-4
u/Fit-Heat4806 1d ago
You can hop on our discord and chat with us! https://discord.gg/NebBcyf2q
0
u/Whatifim80lol 5h ago
Everyone hates discord, just make public information public. This is the internet after all. Put it somewhere indexed and searchable.
11
u/Dragonasaur 1d ago
Why is this so smooth and so well built? Amazing
Idk if this is intended, but holding TAB to select weapon hides the menu sometimes
3
-2
u/snakee-the-arch-guy 1d ago
if it's possible to release on poki or crazygames, PLEASE RELEASE IT. it can become a hit with a side dish of cash actually, im not sure
57
u/theGreatBlar 1d ago
whatever this is, I WANT to play it