Commit Graph

5176 Commits

Author SHA1 Message Date
f8b7dc4152 Add support for managing path road meshes in ViewportHost 2026-05-12 23:56:50 +02:00
2c6d7ce4e5 Refine path segment mesh addition logic 2026-05-12 23:56:36 +02:00
fd7cc8ae98 Define preview colors for path roads 2026-05-12 23:56:36 +02:00
89e33fa547 Add road meshes array to PathRenderObjects 2026-05-12 23:56:36 +02:00
a7ae7fd1ed Update imports for geometry and terrain utilities 2026-05-12 23:56:36 +02:00
59d06b0df9 Feature: Add road preview controls and points configuration 2026-05-12 23:54:53 +02:00
d2fb7442c4 Implement path road change functionality 2026-05-12 23:54:24 +02:00
667d4492ee Add normalization utilities for scene path road properties 2026-05-12 23:54:13 +02:00
fa9789affd auto-git:
[change] src/runtime-three/runtime-scene-build.ts
2026-05-12 23:54:13 +02:00
b4f0a89ce0 auto-git:
[change] src/document/scene-document-validation.ts
2026-05-12 23:54:13 +02:00
d5107bc037 Enhance scene path validation for road parameters 2026-05-12 23:53:26 +02:00
b272ddd6e1 Add validation constraints for scene path roads 2026-05-12 23:53:11 +02:00
a4cf2ebcbb Update scene document versions and add path/road migration support 2026-05-12 23:53:11 +02:00
f8f4007657 Implement reading and validation for scene path road settings 2026-05-12 23:52:48 +02:00
5da7f65875 Add road settings structure and utilities for scene paths 2026-05-12 23:52:48 +02:00
a998373e6b Add support for road paths in scene path generation and comparison 2026-05-12 23:52:09 +02:00
933c1246ec auto-git:
[change] src/document/paths.ts
2026-05-12 23:51:57 +02:00
68807329f0 Use resolved positions for path points to account for terrain geometry 2026-05-12 23:41:47 +02:00
c42d055519 Add migration support for glueToTerrain and terrainOffset properties 2026-05-12 23:40:14 +02:00
447c21c7f9 Add test case for building terrain-glued runtime paths 2026-05-12 23:39:32 +02:00
988ad8b0fa Update default values for terrain gluing in tests 2026-05-12 23:39:32 +02:00
873b51e398 Add serialization tests for path migration and box brush round-tripping 2026-05-12 23:38:46 +02:00
87f57c925f Update serialization tests to include spline path version 2026-05-12 23:38:46 +02:00
0fb8301d13 Add validation tests for path properties (glueToTerrain and terrainOffset) 2026-05-12 23:38:07 +02:00
ef2d31438e Test: Add scenario for scene paths glued to terrain 2026-05-12 23:37:45 +02:00
63fa55220c Feat: Add terrain gluing and offset support to path scheduling 2026-05-12 23:37:29 +02:00
d9ee9073dc Add terrain support to runtime path generation 2026-05-12 23:37:07 +02:00
6a595469e6 Include terrain data when resolving viewport document bounds 2026-05-12 23:37:07 +02:00
8d1fbb57f7 Pass terrain data when creating path focus targets 2026-05-12 23:37:07 +02:00
a379af3cc8 Improve path focus calculation using terrain-resolved segments 2026-05-12 23:36:13 +02:00
0e4174a98f Pass terrain context to path sampling in ViewportHost 2026-05-12 23:36:13 +02:00
2e7391ffbc Pass terrain data to path resolution functions 2026-05-12 23:35:51 +02:00
2128ee27d3 Feature: Add controls for path-to-terrain interaction (Glue to Terrain and Terrain Offset) 2026-05-12 23:35:35 +02:00
552f19a7f5 Feat: Add path terrain glue and offset controls 2026-05-12 23:35:19 +02:00
575675d7fc Validate path glue-to-terrain and terrain offset 2026-05-12 23:34:58 +02:00
f7b03d8a24 Import terrain offset normalization utility 2026-05-12 23:34:58 +02:00
cbe25147e5 Update migration logic for spline path version 2026-05-12 23:34:58 +02:00
2df0d435c4 Bump scene document version and add path terrain glue version 2026-05-12 23:34:58 +02:00
27060f75f2 Update scene path constants and types 2026-05-12 23:34:58 +02:00
b36c3822ac Support terrain-aware path sampling for position and tangent calculations 2026-05-12 23:33:46 +02:00
368b0b44fa Feature: Add support for terrain-aware path resolution (glueToTerrain and terrainOffset) 2026-05-12 23:33:33 +02:00
30cbed8533 Implement terrain-aware path resolution and geometry adjustments 2026-05-12 23:33:20 +02:00
902bc457f3 Support glue-to-terrain and terrain offset in scene path creation and comparison 2026-05-12 23:33:05 +02:00
eac6d52524 Add normalization function for terrain offset path parameter 2026-05-12 23:33:05 +02:00
a3c4ec910f Add terrain gluing options and configuration to scene paths 2026-05-12 23:32:46 +02:00
118226d8d6 Add functions to sample terrain height at local and world positions 2026-05-12 23:32:33 +02:00
5768bb1e47 Update test parameters for buildRuntimeSceneFromDocument 2026-05-12 22:51:39 +02:00
b7c7ccd8a5 Add integration tests for path curve mode and sampled resolution features 2026-05-12 22:50:08 +02:00
0554e530cb Add test case for migrating pre-spline paths to linear curve defaults 2026-05-12 22:49:39 +02:00
e38daf29fa Add NPC target anchor scene document version constant to tests 2026-05-12 22:49:39 +02:00