Skip to content

fix(map): render polygons flat with LineLoop to prevent z-fighting - #362

Merged
damiant merged 10 commits into
mainfrom
fix/render-polygons-flat-lineloop
Aug 23, 2026
Merged

damiant merged 10 commits into
mainfrom
fix/render-polygons-flat-lineloop

Conversation

@damiant

@damiant damiant commented Aug 23, 2026

Copy link
Copy Markdown
Owner

Summary

Fixes z-fighting and flickering of map polygons by switching from extruded, height-banded geometry to flat rendering with Three.js LineLoop.

Changes

Map rendering (src/app/map/map.ts)

  • Polygons are now rendered flat on the XZ plane using LineLoop outlines instead of extruded geometry with edge overlays
  • Removed the previous approach of assigning each layer its own height band (which relied on ExtrudeGeometry, EdgesGeometry, and LineSegments)
  • Since the map is viewed from above with everything on the same plane, geometry sharing heights would z-fight and flicker — flat rendering eliminates this
  • Cleaned up now-unused Three.js imports

Version bump

  • Bumped app version from 2.135 to 2.136 (build 191 → 192) for both Android (build.gradle) and iOS (project.pbxproj) in preparation for release

damiant added 10 commits August 22, 2026 18:02
…and tracking

- Introduced a new Watch Catalog structure to manage Camps, Art, Events, Restrooms, and Ice points.
- Updated the watchOS UI to allow users to navigate to nearest amenities and view upcoming events.
- Replaced the previous camp tracking functionality with a more comprehensive catalog-based approach.
- Enhanced the WatchConnectivity plugin to send the entire catalog to the Apple Watch.
- Updated various UI components to reflect the new catalog structure and improve user experience.
…and tracking

- Introduced a new Watch Catalog structure to manage Camps, Art, Events, Restrooms, and Ice points.
- Updated the watchOS UI to allow users to navigate to nearest amenities and view upcoming events.
- Replaced the previous camp tracking functionality with a more comprehensive catalog-based approach.
- Enhanced the WatchConnectivity plugin to send the entire catalog to the Apple Watch.
- Updated various UI components to reflect the new navigation structure and improve user experience.
@damiant
damiant merged commit 3ab1021 into main Aug 23, 2026
3 checks 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.

1 participant