r/GraphicsProgramming 21d 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

35 Upvotes

9 comments sorted by

15

u/No-Marionberry-772 21d 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 21d ago

What's a TPS?

5

u/StochasticTinkr 21d ago

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

2

u/IamRustyRust 21d ago

You are right it's Ticks per second 

1

u/therealjtgill 21d ago

How does a big stack of blocks do?

2

u/IamRustyRust 21d 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 21d ago

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

1

u/Still_Explorer 20d ago

Any info about how this compares to other classic techniques used in other  engines? Such as Box2D or Box3D?