Commit 4163c7c
committed
Refactor monolithic VSG GUI implementation
Refactor monolithic VSG GUI implementation into focused modules:
- vsg_config.h: centralized compile-time constants
- vsg_materials.h/cpp: PBR material factory functions
- vsg_lighting.h/cpp: multi-light studio setup
- vsg_water_surface.h/cpp: animated/static water surface rendering
- vsg_gui_component.h/cpp: ImGui overlay components
Add runtime Viewer Settings panel (bottom-left) with controls:
- Water surface visibility toggle
- Grid resolution selector (32/64/96/128)
- Update rate cap (10-60 Hz)
- Optional status line display
Settings are visualization-only (no physics changes) and take
effect immediately without recompilation. Defaults match previous behavior for backward compatibility.1 parent a100c46 commit 4163c7c
12 files changed
Lines changed: 1148 additions & 618 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
418 | 418 | | |
419 | 419 | | |
420 | 420 | | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
421 | 432 | | |
422 | 433 | | |
423 | 434 | | |
| |||
0 commit comments