Commit Graph

5198 Commits

Author SHA1 Message Date
0ab21b5199 Update terrain layer material options to use dynamic arrays and implement padding utilities 2026-05-13 00:45:36 +02:00
354a0f499b Update terrain mesh generation to use shader layer count and refactor layer weight attribute setting 2026-05-13 00:45:21 +02:00
831f867ba0 Add utilities to set and manage terrain layer weight attributes on geometry 2026-05-13 00:45:06 +02:00
27f76b4e69 Generalize terrain weight handling using stored paint weight count 2026-05-13 00:44:54 +02:00
bbdef545fb Refactor terrain brush logic to dynamically support variable layer counts 2026-05-13 00:44:34 +02:00
eff24127da Improve layer clamping logic in terrain brush 2026-05-13 00:44:12 +02:00
4d19b48e0f Add utilities for managing terrain layers (add, remove, and check existence by material ID) 2026-05-13 00:44:01 +02:00
48f441a99d Refactor terrain weight calculation to support variable layer counts 2026-05-13 00:43:45 +02:00
ae3c35cd00 Refactor terrain paint weight calculation to dynamically use actual layer count and stored weight count. 2026-05-13 00:43:29 +02:00
e32023595f Update terrain layer validation to enforce minimum and maximum layer counts 2026-05-13 00:43:07 +02:00
fa2183f04e Test: Assert initial and enabled state of apply path road button 2026-05-13 00:18:03 +02:00
cd481501f9 Add unit tests for applying spline roads to terrain, including undo/redo functionality 2026-05-13 00:16:44 +02:00
81fb4d152c Feat: Implement applying spline road to terrain 2026-05-13 00:15:46 +02:00
83f8d2a860 auto-git:
[change] src/commands/apply-terrain-brush-patch-command.ts
2026-05-13 00:15:21 +02:00
21955f147a auto-git:
[add] src/geometry/spline-road-terrain.ts
2026-05-13 00:15:21 +02:00
98a6d6d030 Add serialization tests for path migration and box brush round-tripping 2026-05-13 00:08:14 +02:00
11aa56e7b1 Feat(test): Add integration tests for path road properties and interactions 2026-05-13 00:07:46 +02:00
d198c7d35f Update validation tests for road properties in scene document 2026-05-13 00:06:33 +02:00
3365b45a23 Import path terrain glue scene document version constant 2026-05-13 00:06:05 +02:00
22fc08f5bd Add road configuration to build runtime scene tests 2026-05-13 00:06:05 +02:00
46c3d9b05c auto-git:
[change] src/viewport-three/viewport-host.ts
2026-05-13 00:06:05 +02:00
dea49e0c9d Add validation and normalization functions for scene path road settings 2026-05-13 00:04:58 +02:00
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