summaryrefslogtreecommitdiff
path: root/GEMINI.md
diff options
context:
space:
mode:
authorskal <pascal.massimino@gmail.com>2026-02-05 16:40:27 +0100
committerskal <pascal.massimino@gmail.com>2026-02-05 16:40:27 +0100
commitf6f3c13fcd287774a458730722854baab8a17366 (patch)
tree44420eecdd2e2dd84d68be12cb12641064eb1c5a /GEMINI.md
parent93a65b43094641b4c188b4fc260b8ed44c883728 (diff)
feat(physics): Implement SDF-based physics engine and BVH
Completed Task #49. - Implemented CPU-side SDF library (sphere, box, torus, plane). - Implemented Dynamic BVH construction (rebuilt every frame). - Implemented PhysicsSystem with semi-implicit Euler integration and collision resolution. - Added visual debugging for BVH nodes. - Created test_3d_physics interactive test and test_physics unit tests. - Updated project docs and triaged new tasks.
Diffstat (limited to 'GEMINI.md')
-rw-r--r--GEMINI.md13
1 files changed, 6 insertions, 7 deletions
diff --git a/GEMINI.md b/GEMINI.md
index ce58ae1..b828621 100644
--- a/GEMINI.md
+++ b/GEMINI.md
@@ -66,17 +66,16 @@ Do not modify files outside the current scope.
</artifact_trail>
<recent_actions>
- - Implemented recursive `#include` resolution in `ShaderComposer` with duplicate prevention.
- - Modularized the 3D rendering WGSL codebase into reusable math and render snippets.
- - Resolved a critical macOS shader compilation bug by using `str_view()` for composed shader modules.
- - Verified the refactor with `test_3d_render` and `ctest` (100% pass rate).
- - Fixed `demo64k` runtime crash (g_surface assertion) and validation errors (texture usage, view dimension) on macOS.
+ - Implemented CPU-side SDF library and BVH construction for physics acceleration.
+ - Implemented PhysicsSystem with semi-implicit Euler integration and SDF-based collision resolution.
+ - Integrated physics and BVH visualization into test_3d_render.
+ - Verified physics stability with new test_physics unit test suite.
</recent_actions>
<task_state>
1. [DONE] Task #50: WGSL Modularization (Infrastructure and initial refactor).
- 2. [NEXT] Task #49: Physics &amp; Collision (CPU SDF Lib, BVH Builder, Euler Solver). <-- CURRENT FOCUS
- 3. [TODO] Task #18: 3D System Enhancements (Blender Export, Binary Format).
+ 2. [DONE] Task #49: Physics &amp; Collision (CPU SDF Lib, BVH Builder, Euler Solver).
+ 3. [NEXT] Task #18: 3D System Enhancements (Blender Export, Binary Format). <-- CURRENT FOCUS
4. [TODO] Task #36: Blender Exporter (Binary scene export).
5. [TODO] Task #39: Visual Debugging System (BVH and Physics visualization).
</task_state>