Skip to content

Imaginalis engine-opt: parametric camera-visibility cull + world topology + cull perf opt-ins - #89

Open
apresmoi wants to merge 3 commits into
mainfrom
imaginalis/engine-opt
Open

Imaginalis engine-opt: parametric camera-visibility cull + world topology + cull perf opt-ins#89
apresmoi wants to merge 3 commits into
mainfrom
imaginalis/engine-opt

Conversation

@apresmoi

Copy link
Copy Markdown
Collaborator

Engine optimizations developed for the Imaginalis colosseum walkable-world mission. Sent from the imaginalis/engine-opt branch as-is (not synced to latest main).

Commits

  • feat(core): parametric camera-visibility cullcomputeCameraVisibility / createCameraVisibilityContext in packages/core/src/cull/cameraVisibility.ts (+ test), mirroring the existing light-visibility cull. Finite-segment ray-cast against a BVH, cached per camera cell — the runtime mounts only the visible face set for the current camera cell. Exported from packages/core/src/index.ts.
  • perf(core): contain:layout-style on leaves + preserveCoincidentTwins cull opt-in (Imaginalis F3/F4).
  • feat(world): authored world topology package.

Why

Enables an enclosed radial+annular mesh (the faithful Colosseum interior) to render within PolyCSS's face ceiling by culling occluded / back-facing / out-of-frustum faces per camera cell, the same way parametric shadows are precomputed by light direction.

Notes

  • Includes tests for the new cull.
  • Deliberately not rebased on latest main.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants