Skip to content

Add polygon render mode for unstructured mesh visualization#6

Merged
koldunovn merged 1 commit intoCliDyn:mainfrom
JanStreffing:feature-polygon-render-mode
Feb 6, 2026
Merged

Add polygon render mode for unstructured mesh visualization#6
koldunovn merged 1 commit intoCliDyn:mainfrom
JanStreffing:feature-polygon-render-mode

Conversation

@JanStreffing
Copy link
Collaborator

Features:

  • New render mode that displays actual mesh triangles without interpolation
  • Load element connectivity (face_nodes) from mesh files
  • Toggle button in UI to switch between Interpolate and Polygon modes
  • New --polygon-only (-p) flag to skip slow regridding step

Usage:
ushow -m mesh.nc data.nc # Toggle with button
ushow -p -m mesh.nc data.nc # Polygon-only (faster startup)

Features:
- New render mode that displays actual mesh triangles without interpolation
- Load element connectivity (face_nodes) from mesh files
- Toggle button in UI to switch between Interpolate and Polygon modes
- New --polygon-only (-p) flag to skip slow regridding step
- Fixed button bar widths for consistent UI layout

Usage:
  ushow -m mesh.nc data.nc          # Toggle with button
  ushow -p -m mesh.nc data.nc       # Polygon-only (faster startup)
@koldunovn koldunovn merged commit 4609647 into CliDyn:main Feb 6, 2026
1 check 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.

2 participants