feat: bake jajce terrain navigation

This commit is contained in:
2026-07-08 15:53:39 +02:00
parent cc0d6ef548
commit 324084f233
8 changed files with 157 additions and 34 deletions
+5 -5
View File
@@ -626,14 +626,14 @@ Completed:
8. Base Terrain3D collision/navigation guardrails: runtime tests now keep
Terrain3D collision enabled, keep the old greybox ground out of physics, and
verify required navigation paths track the authored height field.
9. Terrain3D-derived playable-loop navigation: `JajceWorld` now uses an
external baked navigation resource generated from Terrain3D source geometry,
and runtime tests reject partial paths that do not reach their targets.
Next:
1. Continue replacing the temporary greybox navigation source with baked
Terrain3D-derived navigation for the sculpted playable loop.
2. Capture and visually review “Jajce Lookdev 01.”
3. Capture “Simulation Garden 01.”
1. Capture and visually review “Jajce Lookdev 01.”
2. Capture “Simulation Garden 01.”
Do not start with GIS data, a full city, a large asset pack, or more NPC
mechanics. The next proof is a beautiful stage for the systems that already
+4
View File
@@ -674,6 +674,10 @@ Recently completed:
now assert Terrain3D collision remains enabled, the hidden greybox ground no
longer provides physics collision, and tested navigation routes stay close to
the authored Terrain3D height field.
- The temporary greybox navigation source was replaced by a project-owned
Terrain3D-derived navigation mesh resource generated by
`tools/bake_jajce_navigation.gd`; route tests now also reject partial paths
that do not reach their requested targets.
This order strengthens the simulation while regularly producing visible
progress suitable for public development updates.
+10 -8
View File
@@ -193,8 +193,8 @@ study, and patrol target typed activity sites. The migration is documented in
- **Main scene:** `res://main.tscn`
- **Terrain:** Terrain3D 1.0.2 is installed and enabled
- **Jajce runtime:** reusable 512 m Terrain3D seed, greybox landmarks, stable
ResourceNode placement, lookdev camera, tested runtime navigation, and base
Terrain3D collision/navigation guardrails
ResourceNode placement, lookdev camera, and Terrain3D-derived runtime
navigation with collision guardrails
- **Terrain compatibility floor:** Godot 4.4 according to the bundled extension
- **Version control:** Git
- **Primary branch:** `main`
@@ -328,10 +328,11 @@ distance with resource `safety_risk`, `comfort_distance`, and
- warm sky, fog, shadows, and wind-reactive foliage;
- eight ResourceNodes preserving stable food/wood discovery IDs;
- typed village pantry storage and typed guard, study, and rest activity sites;
- a temporary baked navigation loop with 24 tested routes;
- a Terrain3D-derived baked navigation mesh covering the current playable loop;
- base collision/navigation guardrails that keep Terrain3D collision enabled,
keep the hidden greybox ground out of runtime physics, and compare required
navigation paths against the Terrain3D height field;
keep the old greybox ground out of runtime physics, require paths to reach
their targets, and compare required navigation paths against the Terrain3D
height field;
- a look-development scene and camera.
This is a runtime integration proof, not the final terrain composition.
@@ -538,9 +539,10 @@ These are expected prototype constraints, not necessarily isolated bugs:
mutation APIs, but selection, execution, target resolution, and active-world
queries now have focused collaborators.
- Path failure and interruption emit a `navigation_failed` signal and send the NPC to wander; this is functional but not yet polished.
- The old greybox navigation source remains temporary; current tests now guard
against collision/nav regressions, but the next terrain base phase is a
Terrain3D-derived bake for the sculpted playable loop.
- The old greybox navigation source has been replaced by a project-owned
Terrain3D-derived navigation resource. The current bake is still a first
playable-loop pass, so future terrain sculpting should rerun the bake tool and
recheck reachability rather than hand-editing navigation polygons.
- Terrain3D and the bounded Jajce beauty baseline now run in the main game
scene; final visual review and character/profession readability remain.
- Combat, companions, factions, politics, trade, rumours, quests, persistence,