Files
Rajdeep Singh e48c71296d Basic_viewer: clip-plane capping
Fills the flat cross-section where the clipping plane cuts a solid, so a
clipped closed solid reads as a slice instead of a hollow shell. For a
volumetric input (a Linear_cell_complex) each volume's cross-section is
filled in that volume's color.

The clipped solid is drawn into the stencil with an even-odd rule and a
quad on the plane is filled where the stencil is odd. Per-volume color
uses a dedicated cap buffer (POS_CAP_FACES) holding each volume's full
closed boundary (shared walls kept, unlike the de-duplicated display
buffer), so each volume is closed on its own; a surface mesh has no
groups and caps grey from the display buffer. The stencil buffer is
requested in init_ogl_context.

Draft: a K key toggles the cap, the cap buffer is built eagerly, and
only the two solid clip modes are capped.
2026-07-11 19:58:52 +05:30
..
2026-04-21 14:21:54 +01:00
2026-04-21 14:14:25 +01:00
2024-01-04 13:50:15 +01:00
2023-03-29 11:39:37 -03:00
2022-11-15 13:39:40 +01:00
2026-04-03 15:41:11 +02:00
2025-03-28 20:52:22 +01:00
2024-10-15 20:10:27 +02:00
2022-11-15 13:39:40 +01:00
2026-06-12 13:28:39 +02:00
2021-02-09 12:28:58 +01:00
2022-11-15 13:39:40 +01:00
2022-11-15 13:39:40 +01:00
2023-05-23 19:00:52 +02:00
2020-09-30 16:28:25 +02:00