2026-05-04 12:20:23 +01:00
|
|
|
# VibeGeometry Instructions
|
|
|
|
|
|
2026-05-29 14:22:43 +01:00
|
|
|
## Purpose
|
2026-05-04 12:20:23 +01:00
|
|
|
|
2026-08-26 17:39:23 +02:00
|
|
|
VibeGeometry is the repository shell for the CultGeometry CSG Rust work surface.
|
2026-05-04 12:20:23 +01:00
|
|
|
|
2026-05-29 14:22:43 +01:00
|
|
|
The previous scene-generation mission has been deleted from the live tree. Do
|
|
|
|
|
not recreate it unless the user explicitly asks to recover a historical artifact
|
|
|
|
|
from git history.
|
2026-05-04 12:20:23 +01:00
|
|
|
|
2026-05-29 14:22:43 +01:00
|
|
|
The live mission:
|
2026-05-04 12:20:23 +01:00
|
|
|
|
2026-05-29 14:22:43 +01:00
|
|
|
```text
|
|
|
|
|
domain/tree intent
|
|
|
|
|
-> LOD-aware CSG hierarchy
|
|
|
|
|
-> camera/frustum selected cut
|
|
|
|
|
-> triangle and collider output
|
|
|
|
|
```
|
2026-05-04 12:20:23 +01:00
|
|
|
|
2026-05-29 14:22:43 +01:00
|
|
|
## Ownership
|
2026-05-04 12:20:23 +01:00
|
|
|
|
2026-08-26 17:39:23 +02:00
|
|
|
- `crates/gamecult_geometry_csg` owns implementation.
|
2026-05-29 14:22:43 +01:00
|
|
|
- The root workspace owns only wiring, submodule state, and very small guidance.
|
|
|
|
|
- If a new domain-tree DSL, selected-cut planner, streaming mesh cache, or
|
2026-08-26 17:39:23 +02:00
|
|
|
frustum query API is needed, start inside CultGeometry CSG.
|
2026-05-29 14:22:43 +01:00
|
|
|
- Do not add root-level helper runtimes, prompt packs, visual translation
|
|
|
|
|
corpora, or schema scaffolds.
|
2026-05-04 12:20:23 +01:00
|
|
|
|
2026-05-29 14:22:43 +01:00
|
|
|
## Commands
|
2026-05-04 12:20:23 +01:00
|
|
|
|
|
|
|
|
```powershell
|
2026-05-29 14:22:43 +01:00
|
|
|
git submodule update --init --recursive
|
|
|
|
|
cargo test
|
|
|
|
|
cargo clippy --all-targets --all-features
|
2026-08-26 17:39:23 +02:00
|
|
|
cargo run -p gamecult-geometry-csg --release --example csg_perf_fixture
|
2026-05-04 12:20:23 +01:00
|
|
|
```
|
|
|
|
|
|
2026-05-29 14:22:43 +01:00
|
|
|
## Discipline
|
2026-05-04 12:20:23 +01:00
|
|
|
|
2026-05-29 14:22:43 +01:00
|
|
|
- Keep the runtime path legible: input tree, selected cut, brush/CSG lowering,
|
|
|
|
|
emitted triangles, and timing evidence.
|
2026-08-26 17:39:23 +02:00
|
|
|
- Prefer tests and performance receipts inside CultGeometry CSG over root-level notes.
|
2026-05-29 14:22:43 +01:00
|
|
|
- Preserve exact parity only for public behavior the crate claims to mirror.
|
|
|
|
|
- RealtimeCSG is a reference seam, not an idol.
|
|
|
|
|
- Do not let historical scene-generation work become a live dependency again.
|