Feat/climate and trees#1130
Merged
Merged
Conversation
Port the schematic tree system from the Teddy563 fork, adapted to the arnis pipeline and bundled into the binary. - Embed a region tree pack (include_dir) selected by realm from the bbox center; trees on by default, --legacy-trees / GUI "Legacy Trees" opts out. - Pack state lives on WorldEditor (per-generation, multi-run safe), not a global; water-awareness reuses the existing Arc<Ground> (no extra mask). - Size tiers (small/medium/big/tall/giant) via --tree-sizes and GUI toggles. - map vine/moss as canopy leaves so models like red alder keep their crown. - Gate palm species outside the subtropics so e.g. New York gets no palms. - Credit the model artist (paleozoey) in the in-app license dialog. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Add a climate axis on top of the schematic tree pack so deserts, ice caps, tropics and arid canyons render correctly while temperate areas are unchanged. - Bundle a global Koppen-Geiger 0.1 deg grid (CC BY 4.0), sampled once per generation at the bbox center and stored on Ground; rodata, no heap growth. - Climate-aware surface palettes (sand/sandstone deserts, snow/packed-ice caps, gravel cold deserts, podzol boreal, mossy tundra) and biomes. - Arid climates get tan sandstone/terracotta canyon walls on steep slopes. - DryContinental (e.g. the Grand Canyon) keeps the baseline ground blocks and only adapts its biome to savanna. - Temperate/humid output is byte-identical (verified via block hash); per-cell cost is a couple of Copy-enum checks, fine for 300 sq km areas. - Trim comments to single lines across the tree and climate modules. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Land cover is required for the climate-driven surfaces/biomes, so it is now unconditionally on for CLI runs; drops the --land-cover/--city-boundaries flag. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
⏱️ Benchmark run finished in 1m 24s 📈 Compared against baseline: 18s time, 1005 MB memory 🟢 Generation time is unchanged. 📅 Last benchmark: 2026-06-28 16:24:49 UTC You can retrigger the benchmark by commenting |
…cleanup - Move the tree files under src/trees/ and the land_cover_* files under src/land_cover/ (land_cover.rs -> land_cover/mod.rs keeps the hot path). - Add climate-aware ocean biomes (warm/lukewarm/cold/frozen, deep variants), frozen rivers, and tropical sparse jungle. - Remove the tree-size GUI tickboxes and the --tree-sizes flag; all sizes are on by default. Land cover is always on. One shared accent rule styles every checkbox/slider so new toggles need no per-id CSS. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Add the legacy_trees label to every locale file so the toggle is no longer English-only. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.
No description provided.