Commit Graph

5431 Commits

Author SHA1 Message Date
2aae3dff27 feat(tests): Add comprehensive test coverage for terrain resizing logic 2026-05-13 14:13:04 +02:00
f96cd18ecc Implement directional control for terrain resizing (X and Z axes) 2026-05-13 14:12:07 +02:00
3e2808f18a Support terrain grid resize directions for terrain manipulation functions 2026-05-13 14:11:21 +02:00
215569cf96 Refactor terrain resampling to calculate source coordinates based on target position 2026-05-13 14:10:25 +02:00
419e125ca0 Add types, constants, and normalization functions for terrain grid resize directions 2026-05-13 14:09:52 +02:00
d702cdfdf9 Refactor App component and update terrain-related tests 2026-05-13 13:59:25 +02:00
6f64954ee0 auto-git:
[change] src/app/App.tsx
 [change] tests/domain/terrains.test.ts
 [change] tests/unit/terrain-foundation.integration.test.tsx
2026-05-13 13:59:02 +02:00
17f64bd424 Refactor: Improve code readability and formatting across terrain utility functions 2026-05-13 13:58:16 +02:00
511286307d Fix expected sampleCountZ value in terrain foundation integration test 2026-05-13 13:57:08 +02:00
cafc90e5db auto-git:
[change] tests/domain/terrains.test.ts
2026-05-13 13:55:33 +02:00
b72aefe2fa Update terrain grid commitment logic and refine UI descriptions for grid settings 2026-05-13 13:54:59 +02:00
35b8b1d2db Refactor terrain resampling to use local position sampling based on cell size 2026-05-13 13:54:39 +02:00
75e37d7201 Update left edge properties in spline road mesh test 2026-05-13 13:40:11 +02:00
f0e755c597 Test: Verify spline corridor junctions and clip intervals are correctly included in runtime scene builds 2026-05-13 13:38:43 +02:00
14d6ad8e54 Add test case for applying spline corridor junction terrain footprints 2026-05-13 13:38:14 +02:00
7169b4562e Import spline corridor junction creation utility for testing 2026-05-13 13:38:14 +02:00
ae6c7a364a Remove validation checks for junction connection errors 2026-05-13 13:38:14 +02:00
6b552b35ad auto-git:
[change] tests/domain/scene-document-validation.test.ts
2026-05-13 13:36:58 +02:00
97ce4f2579 auto-git:
[change] tests/domain/scene-document-validation.test.ts
2026-05-13 13:36:58 +02:00
4f6d42fffb auto-git:
[change] tests/serialization/scene-document-json.test.ts
2026-05-13 13:36:58 +02:00
08a78a6d72 test(serialization): Add migration and round-trip tests for spline corridor junctions 2026-05-13 13:35:50 +02:00
90c00febad feat(junction): Add command tests and serialization support for spline corridor junctions 2026-05-13 13:35:49 +02:00
bd6e1d4e80 Test: Skip repeater instances inside junction clip intervals 2026-05-13 13:35:04 +02:00
e1b5fe0a7f Add tests for clipping and splitting road mesh around junction intervals 2026-05-13 13:34:29 +02:00
1b4c6f2928 Add comprehensive tests for spline corridor junction detection and resolution 2026-05-13 13:34:29 +02:00
6c796b336b Add spline corridor junctions to local draft storage test fixture 2026-05-13 13:33:09 +02:00
5682d113e0 Update runtime scene fixture with spline corridor junction data 2026-05-13 13:33:09 +02:00
2b8367120a Type safety: Use ReadonlyArray for points in junction mesh path 2026-05-13 13:33:09 +02:00
9086d29eda Pass clip intervals to road mesh generation 2026-05-13 13:31:48 +02:00
a12ffbec29 auto-git:
[change] src/spline-corridor/spline-repeaters.ts
2026-05-13 13:31:33 +02:00
41ccb3f8a8 Implement geometry generation for spline corridor junctions 2026-05-13 13:31:03 +02:00
6c641dec57 Remove unnecessary type casting for junction terrain mode 2026-05-13 13:29:45 +02:00
f52235b6b9 Clean up unused imports related to spline corridor junctions 2026-05-13 13:29:45 +02:00
c20e4d966c Remove redundant calculation of spline corridor junction list 2026-05-13 13:29:45 +02:00
8ba60119ec Add styles for compact cards, stacked lists, and component elements 2026-05-13 13:28:13 +02:00
b477774bbb Feature: Add road junction management UI and functionality 2026-05-13 13:27:46 +02:00
21693e9963 Implement junction management functions for spline corridor junctions 2026-05-13 13:27:11 +02:00
15f353791b Add logic to detect and filter spline corridor junctions related to selected paths 2026-05-13 13:26:57 +02:00
aa78f83cac Feature: Add support for Spline Corridor Junctions 2026-05-13 13:26:42 +02:00
44c26ad4c9 Improve spline corridor synchronization by passing paths and calculating clip intervals 2026-05-13 13:26:18 +02:00
e08c1f7081 Refactor road surface update logic to use dedicated rebuild method 2026-05-13 13:26:00 +02:00
725df5a7c6 Feature: Implement rendering for road junctions in the viewport host 2026-05-13 13:25:46 +02:00
cbeec663ab auto-git:
[change] src/viewport-three/viewport-host.ts
2026-05-13 13:25:17 +02:00
61a79c7034 auto-git:
[change] src/viewport-three/viewport-host.ts
2026-05-13 13:25:17 +02:00
44d885cf07 Implement path junction marker management and rebuilding logic. 2026-05-13 13:24:58 +02:00
a0bf69286e Clear path junction markers on disposal. 2026-05-13 13:24:58 +02:00
2d118ec3cb Initialize storage for path junction marker meshes. 2026-05-13 13:24:58 +02:00
9e9f48a28a Define colors for path junction markers. 2026-05-13 13:24:58 +02:00
4e3ea79187 Remove unused spline junction creation import. 2026-05-13 13:24:58 +02:00
b84dea02cd Integrate spline corridor junction handling in viewport host 2026-05-13 13:23:36 +02:00