Skip to content

Keep close geometry visible in large models - #59

Merged
mahach666 merged 1 commit into
mainfrom
codex/fix-close-geometry
Nov 18, 2026
Merged

mahach666 merged 1 commit into
mainfrom
codex/fix-close-geometry

Conversation

@mahach666

Copy link
Copy Markdown
Contributor

Closes #13.

  • Derive the near plane from the depth of the visible model and overlays. Use logarithmic depth for wide ranges and keep the linear depth path for compact models.
  • Keep rendered and picked geometry on the same depth path. Recover the RGBA8 fallback hit from view-space depth.
  • Zoom orthographic views around the cursor without moving the camera along its view axis.

Verified 148 JS tests, 164 Chromium and Firefox tests, and 157 .NET tests per framework on .NET 8 and 10, including the real RVT test. A 29 km IFC bridge model remained pickable 25 cm from the camera in both browsers and pick modes. On Radeon, zoomed-orbit p95 on Schependomlaan was about 16.8 ms before and after.

@mahach666
mahach666 merged commit a5a6e11 into main Nov 18, 2026
5 checks passed
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.

Near plane clips close geometry in kilometre-scale models and in orthographic zoom

1 participant