Commit Graph

5694 Commits

Author SHA1 Message Date
d04894532c Increment frame version when emitting frame without full scene data 2026-05-18 13:26:09 +02:00
5cd09bc959 Update gitignore to exclude *.we3d and .last-run.json 2026-05-18 13:08:09 +02:00
9721a0b238 Remove unused project file untitled-project-47.we3d 2026-05-18 13:08:09 +02:00
8e5931a1fb Add unit tests for resolving viewport world state 2026-05-18 12:59:46 +02:00
101ba4508c Refactor viewport state resolution to use a dedicated function, centralizing the calculation of resolved world and time states. 2026-05-18 12:59:37 +02:00
45cdb35158 feat(tests): Add tests for reattaching and reprojecting spline corridor junctions 2026-05-13 20:07:21 +02:00
bf2e1a1368 Test junction reattachment when path points move 2026-05-13 20:05:06 +02:00
b7cf45a0b5 Enhance path point deletion to correctly manage and reattach spline corridor junctions 2026-05-13 20:04:29 +02:00
b948579be9 Improve junction maintenance when deleting a path point by tracking and reattaching spline corridor junctions. 2026-05-13 20:04:01 +02:00
4e50e3c5de Improve path point position command to handle spline corridor junction state 2026-05-13 20:03:24 +02:00
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