Commit Graph

5258 Commits

Author SHA1 Message Date
3045797fbe Refactor road surface rendering to use an array of meshes and update path/spline type definitions 2026-05-13 02:56:52 +02:00
0986f7be45 Add material resolution for road edges (left and right) 2026-05-13 02:56:32 +02:00
a25eefd38a Refactor road definition in RuntimePath to include explicit edge settings 2026-05-13 02:56:11 +02:00
582930d22d Add validation for road edges (left and right) in scene path validation 2026-05-13 02:55:53 +02:00
634deadc1f Add validation for scene path road edge settings 2026-05-13 02:55:43 +02:00
991778131d Add validation and settings for scene path road edges 2026-05-13 02:55:24 +02:00
771ad5ea18 Update scene migration to handle spline road edges document version 2026-05-13 02:55:24 +02:00
c25207c92e Implement migration logic for road edge settings in scene paths 2026-05-13 02:53:56 +02:00
4dc7894595 Add road edge settings and update scene document versions 2026-05-13 02:53:56 +02:00
75654b1a15 Feature: Implement road edge geometry generation and refactor mesh creation utilities 2026-05-13 02:53:30 +02:00
274dc4d61c Feat: Add road edge settings and validation to path structures 2026-05-13 02:52:58 +02:00
00123f5e68 Implement road edge settings and types for scene paths 2026-05-13 02:52:34 +02:00
a07394153e Fix test syntax: Update scale property definition in RuntimeHost tests 2026-05-13 02:07:16 +02:00
ccf7fc1b65 Updated unit tests for runtime host configuration. 2026-05-13 02:06:54 +02:00
c5a15e9d27 Update NPC definitions to include targetable properties for better interaction testing. 2026-05-13 02:06:43 +02:00
feb8888700 auto-git:
[change] tests/unit/runtime-host.test.ts
2026-05-13 02:05:49 +02:00
456f19ee76 Use expect.closeTo for robust floating-point comparisons in spline road mesh tests 2026-05-13 01:16:02 +02:00
63933ca627 Update road surface render object state in ViewportHost 2026-05-13 01:16:02 +02:00
fea716d693 Implement road surface render object state update logic 2026-05-13 01:14:47 +02:00
7501d9de42 test: Add test case for resolving road materials in runtime scene 2026-05-13 01:14:15 +02:00
40af62cb05 test: Update road material structure in runtime scene tests 2026-05-13 01:14:15 +02:00
30bde9da2e feat: Add tests for spline road mesh generation 2026-05-13 01:14:15 +02:00
eb4eba461b Improve road surface rendering and implement resource disposal logic 2026-05-13 01:13:22 +02:00
7d9b023515 Implement road surface generation and material setup 2026-05-13 01:12:59 +02:00
332ae892a6 Add road surface rendering lifecycle methods 2026-05-13 01:12:59 +02:00
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