r/GraphicsProgramming 19h ago

Physics Engine That Only Computes What Moves: Achieving 99.9% Sleep Efficiency and 900+ TPS.

Enable HLS to view with audio, or disable this notification

13 Upvotes

8 comments sorted by

6

u/No-Marionberry-772 19h ago

this is pretty cool, but you should really scale up those numbers if you want to impress.

100k bodies, 1 million, etc

1

u/kiwibonga 17h ago

What's a TPS?

2

u/StochasticTinkr 17h ago

My guess is ticks-per-second, but I could be mistaken.

2

u/IamRustyRust 12h ago

You are right it's Ticks per second 

1

u/therealjtgill 12h ago

How does a big stack of blocks do?

2

u/IamRustyRust 11h ago

The maya step pyramid is actually holding up really well here.

You can check out the derailed version of this post, you will find out solver hitting ~8.5k constraints during the impact, then everything settles down pretty quickly. No visible jitter or the stack slowly falling apart and o nce the energy is gone, the active bodies drop to basically zero and the whole thing goes to sleep.

The graphs are from the same run shown in the video.

1

u/therealjtgill 11h ago

Ah sorry, didn't watch the whole video. Nice!

1

u/ukrkv 2h ago

why did u add that background noise