Commit Graph

76 Commits

Author SHA1 Message Date
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
c266d8f212 Add foliage mask support to terrain mesh generation 2026-05-02 04:16:58 +02:00
7e773bc4a6 auto-git:
[change] src/geometry/terrain-mesh.ts
2026-05-02 04:16:47 +02:00
58730487c0 Implement foliage mask weight calculation and attribute generation for terrain mesh 2026-05-02 04:16:36 +02:00
8997800fd3 Add foliage mask weights to derived terrain mesh data structures 2026-05-02 04:16:36 +02:00
f66358a21e Add foliage layer support to terrain brush stamps 2026-05-02 04:12:55 +02:00
da753fc560 Feature: Add foliage mask support to terrain brush stamping and patching 2026-05-02 04:12:41 +02:00
5f01182675 auto-git:
[change] src/geometry/terrain-brush.ts
2026-05-01 17:56:40 +02:00
7ae748cfa7 auto-git:
[change] src/geometry/terrain-brush.ts
2026-05-01 17:46:13 +02:00
7c4ec48175 auto-git:
[change] src/geometry/terrain-brush.ts
2026-05-01 17:41:22 +02:00
4f095bd409 Refactor terrain LOD mesh generation to use chunk-based data structure 2026-04-30 02:55:02 +02:00
db4f3241bd Add bounds check when applying terrain brush stamp 2026-04-30 02:55:01 +02:00
a7e62f0256 Refactor terrain brush stamping logic and introduce smooth height source management 2026-04-30 02:54:11 +02:00
43c7eec198 Implement LOD level resolution with hysteresis for stable terrain rendering 2026-04-29 23:48:44 +02:00
d5739e11a3 Adjust terrain LOD calculation thresholds and initial LOD level 2026-04-29 23:14:09 +02:00
f985fe1675 Implement derived mesh data generation and chunking logic for terrain LOD system 2026-04-29 23:00:29 +02:00
94dec56eb4 auto-git:
[add] src/rendering/terrain-layer-material.ts
 [add] tests/domain/terrains.test.ts
 [change] src/app/App.tsx
 [change] src/core/terrain-brush.ts
 [change] src/document/migrate-scene-document.ts
 [change] src/document/scene-document-validation.ts
 [change] src/document/scene-document.ts
 [change] src/document/terrains.ts
 [change] src/geometry/terrain-brush.ts
 [change] src/geometry/terrain-mesh.ts
 [change] src/runtime-three/rapier-collision-world.ts
 [change] src/runtime-three/runtime-host.ts
 [change] src/runtime-three/runtime-scene-build.ts
 [change] src/viewport-three/ViewportCanvas.tsx
 [change] src/viewport-three/ViewportPanel.tsx
 [change] src/viewport-three/viewport-host.ts
 [change] tests/domain/build-runtime-scene.test.ts
 [change] tests/domain/rapier-collision-world.test.ts
 [change] tests/domain/terrain.command.test.ts
 [change] tests/domain/water-material.test.ts
 [change] tests/geometry/terrain-brush.test.ts
 [change] tests/geometry/terrain-mesh.test.ts
 [change] tests/serialization/scene-document-json.test.ts
 [change] tests/unit/terrain-foundation.integration.test.tsx
 [change] tests/unit/viewport-canvas.test.tsx
2026-04-20 02:37:01 +02:00
d42765d9f8 Add terrain brush core and geometry implementations 2026-04-18 20:23:33 +02:00
56ca482cd2 Add terrain mesh generation logic 2026-04-18 19:44:57 +02:00
ab8cfd9fb3 Add Surface Snap Move feature and update related components 2026-04-18 19:34:15 +02:00
eb0fec4761 Add support for cone and torus brushes in geometry module and introduce MakeNpcTalk sequence effect 2026-04-15 09:08:06 +02:00
06c3711ebc Add functions for cone and torus geometry calculations in whitebox-topology.ts, update dialogue handling in runtime-host.ts 2026-04-15 09:07:48 +02:00
a365e8ffe4 Add helper functions for geometry labeling and parsing 2026-04-15 09:07:12 +02:00
36c059b5c7 Add cone and torus geometry support in whitebox-topology.ts 2026-04-15 09:06:57 +02:00
e8469ce7f9 Remove unused import BoxBrush from box-brush-mesh.ts 2026-04-15 07:56:35 +02:00
7b58e0c3b1 Remove unused type definitions from whitebox-topology.ts 2026-04-15 07:56:35 +02:00
d80b32408d Add box brush mesh and update related files 2026-04-15 07:46:57 +02:00