Commit Graph

5688 Commits

Author SHA1 Message Date
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
e65b7f0159 Add validation tests for junction edge properties 2026-05-13 17:22:08 +02:00
9246e545c4 Improve serialization tests for spline corridor junctions and edge settings 2026-05-13 17:21:57 +02:00
e49e779ca8 Add version constant for spline corridor junction edges 2026-05-13 17:21:57 +02:00
4537b7891d Update material ID for runtime scene building tests 2026-05-13 17:21:57 +02:00
cd2dd687c0 Update tests for runtime scene generation to include edge/curb structure validation 2026-05-13 17:21:25 +02:00
33cade1a20 Test: Derive box colliders for junction edges while skipping road mouths 2026-05-13 17:21:11 +02:00
65d16365e2 Test junction candidate edge profile inheritance 2026-05-13 17:21:01 +02:00
93cec1006a Update tests to use explicit junction edge settings instead of resolved settings 2026-05-13 17:20:51 +02:00
292674fced Improve validation for junction.edge to handle non-object/array types 2026-05-13 17:20:35 +02:00
9ee22ff7c9 Update edgeSide type in collider options to include 'junction' 2026-05-13 17:20:35 +02:00
d5d0040dff Add form controls for configuring spline corridor junction edge properties 2026-05-13 17:18:51 +02:00
3890649fbd Import helper for road edge settings 2026-05-13 17:18:51 +02:00
e73ea94b3d Include junction data when deriving spline corridor colliders 2026-05-13 17:18:51 +02:00
f32206f560 Feature: Add junction edge colliders for spline corridors 2026-05-13 17:18:02 +02:00
7415cdc8b1 Refactor edge geometry calculation in RuntimeHost 2026-05-13 17:16:51 +02:00
b0af01a28f Refactor edge processing in ViewportHost to use direct junction properties and simplify mesh creation logic 2026-05-13 17:16:35 +02:00
6a47395d6f Enhance validation and runtime support for spline corridor junctions 2026-05-13 17:16:16 +02:00
068b124815 Enhance migration logic for spline corridor junction edges 2026-05-13 17:16:03 +02:00
becbc93c70 Update migration logic to handle junction edge scene document version 2026-05-13 17:16:03 +02:00
7d35aeddd6 Update migration script to include junction edge document version 2026-05-13 17:16:03 +02:00
c74014ea81 Update scene document versions and introduce junction edge version 2026-05-13 17:16:03 +02:00
dde048f41c Integrate road edge settings into spline corridor junctions 2026-05-13 17:14:43 +02:00
1d09b76263 Integrate road edge settings into spline corridor junctions 2026-05-13 17:14:27 +02:00
dd9214dc52 Update tests for spline corridor junction mesh generation 2026-05-13 17:06:14 +02:00
9399b245bc Handle road mouth segments and add profile caps to junction edges 2026-05-13 17:05:55 +02:00
8a99a68068 Feature: Track connection boundaries in junction footprints 2026-05-13 17:05:29 +02:00
48d487e0e9 Update spline corridor junction mesh test assertions for robustness 2026-05-13 16:54:18 +02:00
e4cf49d4b4 Test: Add test case for mitered junction edge mesh generation 2026-05-13 16:54:00 +02:00
ae6a28e3f2 Add support for spline corridor junction edge meshes 2026-05-13 16:53:36 +02:00
b7653af075 Add edge mesh generation for spline corridor junctions 2026-05-13 16:53:23 +02:00
d3a2ba8890 Feat: Implement spline corridor junction edge mesh generation 2026-05-13 16:53:03 +02:00
6569e564c0 Update spline road mesh generation test case with correct station count and detailed position assertions 2026-05-13 16:49:34 +02:00
dff2838436 Fix vertex height calculation using edge height scale and refactor run processing 2026-05-13 16:49:34 +02:00
d7e518a877 Feature: Implement junction tapering and edge height scaling for road geometry 2026-05-13 16:49:08 +02:00
9d58c1153b Add unit tests for spline corridor junction mesh generation 2026-05-13 16:38:51 +02:00
05f8935700 Use resolved footprint geometry when building junction mesh 2026-05-13 16:36:51 +02:00
674d9f7d81 Remove left axis calculation in junction footprint 2026-05-13 16:36:51 +02:00
997bd308e3 Refactor junction terrain patch calculation to use accurate footprint and falloff distance 2026-05-13 16:36:18 +02:00
09d1cd36d6 Refactor junction influence calculation to use path shoulder width for falloff distance 2026-05-13 16:36:00 +02:00
c97739b3d8 Import junction footprint utilities into road terrain calculation 2026-05-13 16:35:43 +02:00
eab9161481 Allow building junction footprint even if invisible, when explicitly requested 2026-05-13 16:35:43 +02:00
4d676fcce0 auto-git:
[change] src/geometry/spline-corridor-junction-mesh.ts
2026-05-13 16:35:21 +02:00
1f8f52d785 auto-git:
[add] src/geometry/spline-corridor-junction-footprint.ts
2026-05-13 16:35:21 +02:00
55a512f85b Add tests for authored terrain collision alignment and resizing in RapierCollisionWorld 2026-05-13 16:22:25 +02:00
4e189906e7 Refactor: Use dedicated function for heightfield subdivisions 2026-05-13 16:22:10 +02:00
ba88d81287 Update expected upper bound for west landing feet position Y coordinate in tests 2026-05-13 16:17:13 +02:00