Commit Graph

102 Commits

Author SHA1 Message Date
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
ae2d5b163b Remove dot product utility function for XZ vectors 2026-05-13 18:52:35 +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
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
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
d3a2ba8890 Feat: Implement spline corridor junction edge mesh generation 2026-05-13 16:53:03 +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
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
2b8367120a Type safety: Use ReadonlyArray for points in junction mesh path 2026-05-13 13:33:09 +02:00
41ccb3f8a8 Implement geometry generation for spline corridor junctions 2026-05-13 13:31:03 +02:00
77850df478 Implement terrain patch generation for spline corridor junctions 2026-05-13 13:21:27 +02:00
c774026e2c auto-git:
[change] src/geometry/spline-road-mesh.ts
2026-05-13 13:19:08 +02:00
5a0f9f1245 Implement support for clipping road mesh geometry using visible station runs 2026-05-13 13:19:08 +02:00
1898298472 Implement visibility clipping and segmenting logic for spline road meshes 2026-05-13 13:18:25 +02:00
f6ffff8396 Update road profile generation for banks and ditches, and adjust profile capping logic to exclude soft shoulders. 2026-05-13 05:19:25 +02:00
dbf0c55e1a Add end cap faces to spline road mesh data, particularly for curb segments 2026-05-13 03:31:20 +02:00
75654b1a15 Feature: Implement road edge geometry generation and refactor mesh creation utilities 2026-05-13 02:53:30 +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
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
21955f147a auto-git:
[add] src/geometry/spline-road-terrain.ts
2026-05-13 00:15:21 +02:00
e9adf9f37e auto-git:
[change] src/commands/apply-terrain-brush-patch-command.ts
 [change] src/core/terrain-brush.ts
 [change] src/document/migrate-scene-document.ts
 [change] src/document/scene-document.ts
 [change] src/geometry/terrain-brush.ts
 [change] src/geometry/terrain-mesh.ts
2026-05-02 11:25:15 +02:00
8b797f6fa4 Add options parameter to terrain mesh building functions 2026-05-02 04:17:19 +02:00