Files
ResInsight/ApplicationLibCode/ModelVisualization
Kristian Bendiksen fe81dd8f3e #14083 Well Disks: Stagger disks vertically to reduce z-fighting
Well disks are flat, zero-thickness discs drawn at a fixed elevation above each
well head. When the disks of different wells overlap horizontally they end up
coplanar at the same depth and z-fight.

Offset each disk along Z by a small per-well amount derived from the stable
resultWellIndex(), scaled by arrowLength so the spacing tracks the disk scale and
view zoom. Coincident disks fan out into a readable vertical stack instead of
fighting.
2026-06-01 08:19:44 +02:00
..
2023-04-17 15:57:39 +02:00