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

Terrain Chunking / Terrain Neighbors #194

Draft
wants to merge 108 commits into
base: master
Choose a base branch
from
Draft

Conversation

JamesTKhan
Copy link
Owner

@JamesTKhan JamesTKhan commented Jun 30, 2023

This will be a longer running PR. Creating draft PR so we can track progress easier.

Changes:
New Terrain Chunk generation dialogue
Better terrain noise generation using FastNoiseLite
Terrain Brushes will now work over multiple terrains
Altering a terrain will also update its neighbor if the alteration crosses over a border
Fix Terrain Seams option, a routine that can fix seams between neighbors if they become broken
Terrain Mesh Generation code decoupled from Terrain class, new PlaneMesh class.

Left To do:

  • Terrain height tools affect neighbors
  • Splatmapping across neighbors
  • Heightmap to terrain chunks
  • Terrain Layers Asset (resusable splat map textures asset, assignable to multiple terrains)
  • Backwards compatibility for Terrain Layer Asset
  • Re-enable option of only creating single terrain tile (currently disabled)
  • A TerrainSystem Component for applying changes to all child terrains?
  • Allow viewing of, and manual assignment of neighbors in UI
  • Add a "Multiple Terrain" Checkbox that unlocks iteration x and y fields (or something similar)
  • How to re-apply noise? Having to delete all the terrains and regenerate them just to try different noise settings is no good.
  • LoD System

@JamesTKhan JamesTKhan added this to the 0.6.0 Release milestone Jun 30, 2023
JamesTKhan and others added 30 commits October 4, 2023 18:10
* Add multiple terrain checkbox and disable gridX and gridZ fields

* Show/Hide grid fields

* Can generate non-multiple terrain with new terrain dialog

* Extract check assets logic into methods

* Fix terrain name at single terrain generation

* Add splatmap resolution dropdown into procedural tab

* Add splatmap resolution dropdown into heightmap tab

* Remove old terrain dialog

* Add multiple terrain tooltip
# Conflicts:
#	editor/CHANGES
#	editor/src/main/com/mbrlabs/mundus/editor/core/helperlines/HelperLines.kt
Mouse position fix on terrain_chunks branch
# Conflicts:
#	editor/CHANGES
#	editor/src/main/com/mbrlabs/mundus/editor/ui/modules/dialogs/AddTerrainDialog.kt
#	editor/src/main/com/mbrlabs/mundus/editor/ui/modules/outline/OutlineRightClickMenu.kt
…terrain-layer-edit-widget

Hide Edit button on terrain layer asset edit widget
…ith_disabled_lod

Doesn't generate LoD if it's checkbox is not enabled
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.

3 participants