summaryrefslogtreecommitdiff
path: root/GEMINI.md
diff options
context:
space:
mode:
authorskal <pascal.massimino@gmail.com>2026-02-14 19:05:34 +0100
committerskal <pascal.massimino@gmail.com>2026-02-14 19:05:34 +0100
commitb8d4a815453acac752c6fb3c56d047e39a76fd05 (patch)
treee8b49ac34aed2b5cfbdbdc4a4c99903fbd709cef /GEMINI.md
parent57aeae226617dbce364716f2d4e7c4aaa6271c1d (diff)
feat(gpu): add SDF camera infrastructure and effect base class
Add unified camera system for SDF raymarching effects: - CameraParams struct (80 bytes): inv_view matrix + FOV/near/far/aspect - SDFEffect base class: manages camera uniform, provides update_camera() helpers - camera_common.wgsl: getCameraRay(), position/forward/up/right extractors - SDFTestEffect: working example with orbiting camera + animated sphere Refactor effect headers: - Extract class definitions from demo_effects.h to individual .h files - Update includes in .cc files to use specific headers - Cleaner compilation dependencies, faster incremental builds Documentation: - Add SDF_EFFECT_GUIDE.md with complete workflow - Update ARCHITECTURE.md, UNIFORM_BUFFER_GUIDELINES.md - Update EFFECT_WORKFLOW.md, CONTRIBUTING.md Tests: 34/34 passing, SDFTestEffect validated Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Diffstat (limited to 'GEMINI.md')
-rw-r--r--GEMINI.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/GEMINI.md b/GEMINI.md
index 8e0ee33..787ba22 100644
--- a/GEMINI.md
+++ b/GEMINI.md
@@ -119,6 +119,7 @@ IMPORTANT:
- **CNNv2 Training Pipeline:** Fixed critical checkpointing bugs and streamlined the output of the training scripts for faster iteration.
- **Effect Render API Refactor:** Simplified the `Effect::render` API and fixed uniform initialization bugs across 19 effects.
- **CNN Shader Testing Tool:** Implemented `tools/cnn_test` for offline GPU-accelerated validation of trained CNN models.
+ - **Effect Source Hierarchy Cleanup**: Refactored the effects system by splitting `src/gpu/demo_effects.h` into individual header files for each effect, creating 10 new headers, moving class definitions, updating `.cc` files with new includes, fixing missing `#include` statements, creating a common `particle_defs.h`, and cleaning up `demo_effects.h`. Verified by passing all 34 tests. handoff(Gemini):
</recent_actions>
<task_state>