Files
ResInsight/Fwk/AppFwk/cafViewer
Magne Sjaastad 82c7172c1a Viewer: Improve near/far clipping plane calculation
Iterate per-model bounding boxes and skip models outside the camera frustum to prevent distant off-screen objects from inflating the far plane. This improves depth buffer precision and reduces z-fighting.

Enforce a maximum far/near ratio of 3000.0 by pushing the near plane forward if necessary. Additionally, refine the near plane adjustment when zooming into a point of interest to prevent geometry clipping.
2026-03-16 09:02:41 +01:00
..
2024-10-28 13:09:18 +01:00
2022-11-25 08:59:10 +01:00
2025-04-11 18:34:32 +02:00