Commit Graph

5684 Commits

Author SHA1 Message Date
f8ba2a4b27 Maintain spline junction state when setting path point positions 2026-05-13 20:02:55 +02:00
8fe74eaa90 Refactor path point addition to correctly manage and reattach spline corridor junctions 2026-05-13 20:02:26 +02:00
7018752938 Update path upsert command to correctly manage and reattach spline corridor junctions 2026-05-13 20:01:54 +02:00
fa95a05d0f Implement utilities for cloning and reattaching spline corridor junctions to paths 2026-05-13 20:01:54 +02:00
88c1060019 Add utility function for resolving nearest point on scene path 2026-05-13 20:01:54 +02:00
f0a10c6201 Implement advanced logic for reattaching and reprojecting spline corridor junctions 2026-05-13 20:00:44 +02:00
b58fa8f59b Improve type safety for curb kind in spline junction tests 2026-05-13 19:30:59 +02:00
55c088ec56 Update junction mesh tests to use dedicated junction objects for corner and curve shapes 2026-05-13 19:28:49 +02:00
6ecd1e1f33 Add comprehensive tests for junction mesh generation and edge geometry 2026-05-13 19:27:05 +02:00
0dcdddc59b Add validation tests for junction shape mode 2026-05-13 19:27:05 +02:00
78655ac6a4 Enhance junction shape serialization and migration tests 2026-05-13 19:25:55 +02:00
f99c82bf29 Add junction shape scene document version constant 2026-05-13 19:25:55 +02:00
d126deb140 Add shape mode selection for spline corridor junctions 2026-05-13 19:24:48 +02:00
dc47cfda14 Add normalizeSplineCorridorJunctionShapeMode import 2026-05-13 19:24:48 +02:00
ee63d74776 Refactor profile row generation by pre-calculating row offsets and simplifying junction edge mesh data building 2026-05-13 19:23:09 +02:00
4722b73a4b Refactor junction seam generation to use accurate boundary point outer offset calculations 2026-05-13 19:16:55 +02:00
c0ac0b0fee Refactor: Implement shaped footprint generation for spline corridor junctions 2026-05-13 19:16:04 +02:00
57775e152b Validate spline corridor junction shape mode 2026-05-13 19:15:07 +02:00
9e6bbf8d74 auto-git:
[change] src/document/scene-document-validation.ts
2026-05-13 19:15:07 +02:00
d3081e16fb Update migration checks for spline corridor junction shape mode version 2026-05-13 19:14:31 +02:00
f68571d547 Migrate and normalize spline corridor junction shape mode 2026-05-13 19:14:31 +02:00
5c4396db88 Add support for shape mode versioning in spline corridor junctions 2026-05-13 19:14:31 +02:00
201aa0e30c Update scene document versions for core and junction shape data 2026-05-13 19:13:22 +02:00
9fe67f6ebe Add shape mode support (straight, curve, corner) to spline corridor junctions 2026-05-13 19:11:57 +02:00
ed09f81289 Update expected values in spline road mesh tests 2026-05-13 18:57:04 +02:00
4504df0fed Update expected values for spline corridor junction mesh tests 2026-05-13 18:55:38 +02:00
ccb4ec2544 Enhance spline road mesh tests, adding coverage for junction seams and terrain conformity 2026-05-13 18:54:45 +02:00
e3d538f63b Update spline corridor junction mesh tests, adding seam resolution validation and refining mesh assertions 2026-05-13 18:54:18 +02:00
ae2d5b163b Remove dot product utility function for XZ vectors 2026-05-13 18:52:35 +02:00
c72054283c Calculate and apply road edge seams during scene setup 2026-05-13 18:50:52 +02:00
6be636389b Import road edge seam resolution utility 2026-05-13 18:50:52 +02:00
2bf7c8fcf6 Integrate junction edge seams into ViewportHost rendering logic 2026-05-13 18:49:59 +02:00
ccdd06da0e Add junction edge seams support to road edge mesh geometry 2026-05-13 18:49:59 +02:00
074385ce78 Refactor road mesh generation to integrate junction edge seams 2026-05-13 18:49:07 +02:00
e1db92f3b9 Implement function to resolve road edge seams at spline corridor junctions 2026-05-13 18:48:17 +02:00
931e129983 Remove road edge seam generation when building junction mesh data 2026-05-13 18:47:53 +02:00
cc438cd802 Refactor junction edge mesh generation to use outer offsets and improve seam/miter calculations 2026-05-13 18:47:32 +02:00
6e8e27365e Refactor junction geometry calculations and add road edge seam management 2026-05-13 18:46:28 +02:00
87794bae64 Add types for spline corridor road edge seams 2026-05-13 18:45:57 +02:00
e964bfe93a Update expected values for spline road mesh generation test 2026-05-13 18:38:46 +02:00
61d3a6ca74 Refactor: Update geometry tests for junction mesh generation validation 2026-05-13 18:38:31 +02:00
e3b055a4f5 Expand clip intervals for road edges using edge width 2026-05-13 18:37:15 +02:00
0f7dcd5d53 Refactor junction mesh geometry calculations and remove transition UV distance helper 2026-05-13 18:36:58 +02:00
7bf333433c Enhance junction mesh generation with precise geometry calculations for miter and seam distances 2026-05-13 18:36:36 +02:00
d1523600b8 Adjust junction mesh generation to account for transition UV distance at road mouth segments 2026-05-13 18:32:31 +02:00
808bdf5896 Remove unused type import for junction footprint 2026-05-13 18:30:57 +02:00
16bff3a42a Refactor spline road mesh generation by simplifying boundary handling and capping logic 2026-05-13 18:29:36 +02:00
a8c62adfe6 Refactor junction mesh generation to use profile strips and improve seam handling 2026-05-13 18:28:05 +02:00
43084723a0 Enhance junction footprint creation to support detailed connection parameters (path ID, distance, side, and outward axis). 2026-05-13 18:27:34 +02:00
c508fe4d55 Remove resolveSplineCorridorJunctionEdgeSettings utility function 2026-05-13 17:23:25 +02:00