Flood overlay water rendering + Trinidad coastal resilience demo#65
Merged
brendancol merged 1 commit intomasterfrom Feb 27, 2026
Merged
Flood overlay water rendering + Trinidad coastal resilience demo#65brendancol merged 1 commit intomasterfrom
brendancol merged 1 commit intomasterfrom
Conversation
…ience demo - Add overlay_as_water flag to render pipeline: flood overlay pixels (value > 0.5) trigger the ocean water shader (procedural waves, Fresnel reflections, specular) instead of colormap blending, creating a visual rising-flood animation when cycling layers with G key. - Engine detects flood_ prefix layers and sets overlay_as_water automatically. - Add info_text parameter to explore(): appended as a MODEL INFO section in the paginated help menu. Help item rendering supports key-less entries that span the full column width. - Trinidad & Tobago Coastal Resilience demo: storm surge analysis across both islands using Copernicus 30m DEM, Overture buildings/roads, and OSM. Flood masks use NaN for non-flooded pixels (fixes black mask over satellite tiles). Removed slope/aspect layers to focus on surge analysis.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
overlay_as_waterflag in the render kernel. When aflood_*layer is active, flooded pixels (overlay > 0.5) render with the full ocean water shader (deep blue base, procedural wave normals, Fresnel reflections, specular highlights) instead of colormap blending. Cycling flood_1m → flood_2m → … flood_10m with G key creates a rising-flood animation.info_textparameter forexplore()appends a MODEL INFO section to the paginated help pages. Supports key-less entries that span the full column width.Test plan
trinidad_tobago_coastal_resilience.pyand verify satellite tiles are visible on dry land (no black mask)