Рет қаралды 493
1st pass of optimization for rigid body activation states...
rigid body "energy" and age are used for sleep state selection.
Ball modulation color goes white on first sleep stage and black on 2nd sleep stage.
There are still some deactivation bugs due to excess energy in some of the rigid bodies.
Bullet Physics System
Scene Graph System using instancing drawable
Python Code that produced the video:
github.com/tweakoz/orkid/blob...
Current performance:
MacBookPro M3 Max
8000 spheres
1104 triangles/Ball
120 FPS rendering rate
960K spheres/second
8.8M triangles per frame
1.05G triangles/sec
100GFLOPs vertex transform rate
60 HZ physics simulation rate
61MiB/sec instancing matrix bandwidth
16MiB/sec.instancing color bandwidth
8MiB/sec instancing ID bandwidth