sungiant/sdf
42.8
Weak · 20 September 2026
674
lines of production code
Scala
primary language
1
measurement over time
What this system is
This system is a 3D rendering engine designed to handle complex scene composition and realistic lighting effects. It utilizes a multi-pass pipeline to process depth, normals, shadows, and ambient occlusion separately, enabling support for varied materials and both hard and soft shadows. The architecture employs a CSG tree for scene structure, replacing a previous flat list approach to improve scalability and visual fidelity.
Behavioural changes
Renderer refactored to support multi-pass rendering with materials and shadows
The rendering engine has been significantly restructured to support a multi-pass pipeline, introducing support for materials (albedo, shininess) and improved shadowing from multiple light sources. The codebase now separates concerns into distinct passes (depth, normals, shadows, ambient occlusion, lighting) and uses a CSG tree data structure for scene composition, replacing the previous flat list approach. This allows for more complex scenes with varied materials and realistic lighting effects, including hard and soft shadows.
(repo-wide) · high confidence
Written by watchdog.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
How this codebase got here
Baseline
- First survey — no prior run to compare against. CAI 43.
Lenses
- Code Health 98
- Architecture 69
- Maturity 49
- Readiness 17
- Security 100
Changes since last survey
- 50 commits — 49 feature/other, 1 fixes
By area
- (root) — 44 commits
- docs/csg.png — 3 commits
- (repo) — 1 commit
- docs/raster.png — 1 commit
- docs/sphere_tracing.png — 1 commit
Notable commits
- fix: Fix Iñigo Quilez name
- change: A few improvements.
- change: A few improvements.
- change: A few minor updates.
- change: Add license.
- change: Added basic support for materials. Improved technique for combing shadows from multiple light sources. Improved code structure and comments.
- change: Added demo.
- change: Added preview image.
- change: Added readme.
- change: Additional details.
- change: Additional info.
- change: Clearer scene specification.
- change: Composite render pipeline.
- change: Faster IO.
- change: Merge pull request #2 from JD557/patch-1
- change: Minor change.
- change: Minor change.
- change: Minor changes.
- change: Minor updates.
- change: Minor updates.
- …and 30 more
Written by watchdog.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
Survey your own repository
sungiant/sdf was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.
About this page
- The score is its most recent published measurement, taken on 20 September 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
- Measured at commit 69cc304ba42d382e413cdbecff1e8a7ddb3c4734 — the exact code this score is about.
- Scored under rubric-2026.09.15 — the same rubric and the same method as every other entry in this index.
- Measured by watchdog.canine.dev using codehealth-analyzer preprod-b51f968c9b10.