Commit Graph

5233 Commits

Author SHA1 Message Date
ea442624cb Initialize road surface rendering state in RuntimeHost 2026-05-13 01:12:17 +02:00
d78a662a6b Define render object structure for road surfaces 2026-05-13 01:12:17 +02:00
9a8987519c Add spline road mesh geometry and path support to runtime host 2026-05-13 01:12:17 +02:00
824a641f80 Enhance runtime path building to include road material definitions 2026-05-13 01:11:51 +02:00
b6255f40c3 Apply advanced shadow rendering flags to road surfaces 2026-05-13 01:11:51 +02:00
d6942f30cd Implement resource cleanup for road surfaces 2026-05-13 01:10:39 +02:00
d8b537faa2 Implement road surface rendering logic 2026-05-13 01:10:31 +02:00
0a38c7dccf Feature: Implement road surface rendering and management in ViewportHost 2026-05-13 01:10:09 +02:00
7c404aab85 feat: Import spline road mesh geometry builder into viewport host 2026-05-13 01:09:59 +02:00
ef7f960613 fix: Pass terrain data to road station calculation 2026-05-13 01:09:59 +02:00
fb343082dd feat: Implement spline road mesh generation logic 2026-05-13 01:09:59 +02:00
20ec8dad7d Feature: Implement command to apply spline road to terrain 2026-05-13 00:54:58 +02:00
e23c1a30a3 Remove spline road application command 2026-05-13 00:53:32 +02:00
27edce9551 Test: Add round-trip serialization test for dynamic terrain material layers 2026-05-13 00:52:14 +02:00
de45c5ae3a Test: Verify automatic terrain layer creation when applying a spline road 2026-05-13 00:51:56 +02:00
bbd05f7b32 Add tests for terrain layer management, including undo/redo functionality 2026-05-13 00:51:44 +02:00
5a136a946b Update terrain material layer tests with expanded sample counts and paint weights 2026-05-13 00:51:36 +02:00
1f1af492f6 Add tests for terrain layer manipulation (add/remove layers) 2026-05-13 00:51:15 +02:00
01cd738035 Expand terrain mesh generation tests and update layer weight summation logic 2026-05-13 00:51:06 +02:00
f9deeb1f1a auto-git:
[change] src/app/App.tsx
2026-05-13 00:51:06 +02:00
2c346f75f1 Refactor terrain layer rendering and enhance layer management UI by adding controls to add and remove material layers. 2026-05-13 00:49:51 +02:00
8d52accd2d Implement terrain layer management (add/delete) and refine layer index clamping 2026-05-13 00:49:34 +02:00
53370d4212 Use selected terrain's layer count for paint layer index calculation 2026-05-13 00:49:19 +02:00
23f4afc3ea Export MAX_TERRAIN_LAYER_COUNT constant 2026-05-13 00:49:19 +02:00
daa547511c Add terrain layer management commands 2026-05-13 00:49:19 +02:00
1c307097f7 auto-git:
[add] src/commands/delete-terrain-layer-command.ts
2026-05-13 00:48:44 +02:00
7517efaab3 auto-git:
[change] src/commands/add-terrain-layer-command.ts
2026-05-13 00:48:44 +02:00
2528d14d7a auto-git:
[add] src/commands/add-terrain-layer-command.ts
2026-05-13 00:48:44 +02:00
3e4914a8aa auto-git:
[change] src/document/migrate-scene-document.ts
2026-05-13 00:48:44 +02:00
b8a8801c35 Update scene document migration to include new versions 2026-05-13 00:47:22 +02:00
ac775e7e01 Update scene document versions and refine terrain layer validation 2026-05-13 00:47:22 +02:00
aa1bc272ab Refactor terrain layer validation to use min/max range and update paint weight calculation 2026-05-13 00:46:55 +02:00
e42f2ff1a5 Update terrain layer count constants and imports 2026-05-13 00:46:55 +02:00
b876a2cbd3 Increase terrain layer support to 8 layers 2026-05-13 00:46:25 +02:00
ecbfc6e78f Increase terrain layer blending capacity to 8 layers 2026-05-13 00:46:06 +02:00
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