Skip to content

Conversation

@gnai-creator
Copy link

Adds ImportColoredHeightmap - a procedural terrain generation tool from colored PNG images.

Features:

  • Import terrain from RGB biome maps with 28 supported biome types
  • Optional grayscale heightmap for altitude control
  • Optional vegetation and structure maps
  • Multiple transition systems (TilesBrush XML, Dragon AAAABBBB, Classic)
  • Automatic coastline generation with wave statics
  • Altitude smoothing with configurable radius

New files:

  • ImportColoredHeightmap.cs - Main class with UI and orchestration
  • ImportColoredHeightmap.Biomes.cs - Biome color classification
  • ImportColoredHeightmap.Coastline.cs - Coastline generation
  • ImportColoredHeightmap.TileData.cs - Tile ID definitions
  • ImportColoredHeightmap.Vegetation.cs - Vegetation/structure placement
  • ImportColoredHeightmap.TilesBrush.cs - XML brush support
  • ImportColoredHeightmap.Transitions.cs - Classic transitions
  • ImportColoredHeightmap.DragonTransitions*.cs - Dragon transition system

Also extends CoastlineTool with ApplyCoastlineAt() static method for programmatic coastline generation.

🤖 Generated with Claude Code

gnai-creator and others added 3 commits December 4, 2025 15:57
Adds ImportColoredHeightmap - a procedural terrain generation tool from colored PNG images.

Features:
- Import terrain from RGB biome maps with 28 supported biome types
- Optional grayscale heightmap for altitude control
- Optional vegetation and structure maps
- Multiple transition systems (TilesBrush XML, Dragon AAAABBBB, Classic)
- Automatic coastline generation with wave statics
- Altitude smoothing with configurable radius

New files:
- ImportColoredHeightmap.cs - Main class with UI and orchestration
- ImportColoredHeightmap.Biomes.cs - Biome color classification
- ImportColoredHeightmap.Coastline.cs - Coastline generation
- ImportColoredHeightmap.TileData.cs - Tile ID definitions
- ImportColoredHeightmap.Vegetation.cs - Vegetation/structure placement
- ImportColoredHeightmap.TilesBrush.cs - XML brush support
- ImportColoredHeightmap.Transitions.cs - Classic transitions
- ImportColoredHeightmap.DragonTransitions*.cs - Dragon transition system

Also extends CoastlineTool with ApplyCoastlineAt() static method for programmatic coastline generation.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
Fixed a bug between some tiles on the left and bottom.
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