Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ocean support, and world wide support #65

Merged
merged 9 commits into from
Aug 5, 2023
Merged

Ocean support, and world wide support #65

merged 9 commits into from
Aug 5, 2023

Conversation

jetelain
Copy link
Owner

@jetelain jetelain commented Aug 4, 2023

  • Compute ocean polygon based on OpenStreetMap coastline
  • Use elevation from SRTM15+ for ocean depth and ensure depth below zero for ocean
  • Specific ocean ground material
    • By default, add sand on coastline on +/- 5 m (with a fade effect)
    • Low priority to allow manually mapped rock and sand area to be shown
  • Use SRTM15+ / AW3D30 for regions not covered by SRTM1

@jetelain jetelain self-assigned this Aug 4, 2023
@jetelain jetelain added enhancement New feature or request GRM Arma3 Arma 3 specific generator GRM Core Core logic, common to all game engines labels Aug 4, 2023
@jetelain jetelain linked an issue Aug 4, 2023 that may be closed by this pull request
@jetelain
Copy link
Owner Author

jetelain commented Aug 4, 2023

Current result is not really great due to elevation grid.

Should try to have a smoother transition between the two height maps, ideas to test :

  • use mask as a coef between the two height map
  • Reduce max -0.25 / min +0.25 for each height maps instead of max -1 / min +1
  • draw land with an halo effect (but implies to keep land polygons) (instead of drawing ocean)

@jetelain jetelain changed the title Ocean support Ocean support, and world wide support Aug 4, 2023
@jetelain jetelain linked an issue Aug 4, 2023 that may be closed by this pull request
@jetelain jetelain marked this pull request as ready for review August 5, 2023 07:43
@jetelain
Copy link
Owner Author

jetelain commented Aug 5, 2023

Preview:
ocean2
ocean1

Copy link
Owner Author

@jetelain jetelain left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should also change outside texture is the map is an island

GameRealisticMap.Studio/Labels.resx Outdated Show resolved Hide resolved
@jetelain jetelain merged commit 7710536 into master Aug 5, 2023
@jetelain jetelain mentioned this pull request Aug 5, 2023
@jetelain jetelain deleted the ocean branch August 8, 2023 17:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request GRM Arma3 Arma 3 specific generator GRM Core Core logic, common to all game engines
Projects
None yet
Development

Successfully merging this pull request may close these issues.

error when generating maps of the northern regions Wrong water level on Islands
1 participant