Commit Graph

654 Commits

Author SHA1 Message Date
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
dea49e0c9d Add validation and normalization functions for scene path road settings 2026-05-13 00:04:58 +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
c42d055519 Add migration support for glueToTerrain and terrainOffset properties 2026-05-12 23:40:14 +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
638fd1d433 Improve scene path validation for curve mode and sampled resolution 2026-05-12 22:46:58 +02:00
338b6c2241 Update scene document versions and enhance scene path validation 2026-05-12 22:46:44 +02:00
3da575da72 Improve scene path sampling logic to support curve modes and sampled resolution options 2026-05-12 22:46:28 +02:00
2c7197e6eb Implement advanced path resolution supporting Catmull-Rom curves and sampling 2026-05-12 22:46:12 +02:00
f9903fc071 Implement Catmull-Rom interpolation and enhance ScenePath definition with curve mode and sampled resolution validation 2026-05-12 22:45:51 +02:00
975dea8479 Add curve mode and sampling resolution support to path definitions 2026-05-12 22:45:29 +02:00
a13a921c15 Update foliage density multiplier validation error message 2026-05-12 21:42:27 +02:00
882229f22a Increase max foliage quality density multiplier to 8 2026-05-12 21:42:27 +02:00
fbe81faae2 Improve validation for target anchor offset 2026-05-11 22:02:07 +02:00
8b9d2af28f Validate NPC target anchor structure, mode, and offset 2026-05-11 21:55:48 +02:00
f26f246c8a Add validation utility for NPC target anchor mode 2026-05-11 21:55:48 +02:00
30ef861817 Update scene document migration compatibility for NPC target versions 2026-05-11 21:55:48 +02:00
34dba2d4c8 Implement readNpcTargetAnchor function 2026-05-11 21:55:20 +02:00
9cd41e49b8 Add target anchor reading to NPC entity migration 2026-05-11 21:55:20 +02:00
5445607a07 Add NPC target anchor version constant 2026-05-11 21:55:20 +02:00
b8ac03fda5 Update document migration to include NPC target anchor settings and types 2026-05-11 21:55:02 +02:00
82866c28ce Update scene document versions and add NPC target anchor version 2026-05-11 21:54:30 +02:00
9ba93694cc Update document migration checks to use default version constant 2026-05-11 21:36:39 +02:00
c30aa4fbc8 Update migration logic and set default NPC targetability to true in tests 2026-05-11 21:34:59 +02:00
3b4302c4a4 Simplify legacy NPC targeting check by removing sequence dependency 2026-05-11 21:34:51 +02:00
b6968474e2 Update migration logic for sequence steps and include new document version 2026-05-11 21:33:47 +02:00
28ffe766ae Bump scene document version and add default NPC targeting version 2026-05-11 21:33:47 +02:00
f87d948109 Add validation and runtime support for NPC targetable property 2026-05-11 21:23:28 +02:00