Commit Graph

752 Commits

Author SHA1 Message Date
0a4e8dd8ee auto-git:
[add] public/basis/
 [change] src/assets/gltf-model-import.ts
 [change] src/assets/ktx2-texture-support.ts
 [change] src/runtime-three/runtime-host.ts
 [change] src/viewport-three/viewport-host.ts
2026-05-19 13:28:18 +02:00
2df1eb7eed auto-git:
[change] src/viewport-three/viewport-host.ts
 [change] tests/domain/build-runtime-scene.test.ts
 [change] tests/domain/custom-material.command.test.ts
 [change] tests/domain/delete-project-asset.test.ts
 [change] tests/domain/scene-document-validation.test.ts
 [change] tests/serialization/project-document-json.test.ts
 [change] tests/serialization/project-package.test.ts
 [change] tests/serialization/scene-document-json.test.ts
 [change] tests/unit/whitebox-material-inspector.integration.test.tsx
2026-05-18 16:21:15 +02:00
41d09ebc18 Dynamically configure physical materials using custom material properties 2026-05-18 16:07:38 +02:00
c4b8a25f97 Enhance material configuration to support custom physical material properties 2026-05-18 16:07:06 +02:00
880bbf0d3d Update material creation to support custom material properties 2026-05-18 16:03:07 +02:00
ae42e4243a Add material texture cache cleanup method 2026-05-18 16:03:07 +02:00
b2530191c1 Refactor material cache cleanup and rebuild scene elements (terrains, roads, brushes) 2026-05-18 16:02:46 +02:00
8adcaefe4b Refactor texture set creation and disposal to use generic Material types 2026-05-18 16:02:19 +02:00
e35452d6d6 Update CachedMaterialTexture to use MaterialTextureSet 2026-05-18 16:02:18 +02:00
dcfb4ae05f Update material imports to use general rendering utilities 2026-05-18 16:01:39 +02:00
b601634dce Refactor terrain raycasting: Extract object collection logic into a dedicated helper function and update ViewportHost to use terrain-specific IDs. 2026-05-18 15:40:29 +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
2bf7c8fcf6 Integrate junction edge seams into ViewportHost rendering logic 2026-05-13 18:49:59 +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
b7653af075 Add edge mesh generation for spline corridor junctions 2026-05-13 16:53:23 +02:00
c03ee5760d Implement utility to extract terrain grid resize side from object hierarchy 2026-05-13 14:45:34 +02:00
1568d7254e Sync terrain grid resize overlay when brush is inactive or tool is not 'select' 2026-05-13 14:45:34 +02:00
ff5dc86645 Sync terrain grid resize overlay when updating document 2026-05-13 14:44:14 +02:00
bf93704f5c Sync terrain grid resize overlay after drag cancellation or completion 2026-05-13 14:44:14 +02:00
1dfee22b31 Refactor terrain grid resize visualization and edge handling 2026-05-13 14:43:33 +02:00
a0cd88a5bb auto-git:
[change] src/viewport-three/viewport-host.ts
2026-05-13 14:42:10 +02:00
2abebea105 Refactor resource disposal for terrain grid resize arrow visuals 2026-05-13 14:41:26 +02:00
3c16d779c0 Adjust render order for terrain grid resize edge line 2026-05-13 14:41:26 +02:00
8c04469839 Implement terrain grid resize arrow visualization 2026-05-13 14:40:49 +02:00
ad63d899a0 Refactor terrain grid resize gizmo: Update edge components and implement dynamic arrow generation 2026-05-13 14:40:26 +02:00
6b2cb1d6a8 Refactor terrain grid resize arrow visualization by replacing meshes with placeholder arrays 2026-05-13 14:40:04 +02:00
01ab9ab16c Add constants for terrain grid resize arrow geometry and sides 2026-05-13 14:40:04 +02:00
3026b9fe6d Add interface for terrain grid resize arrow visualization components 2026-05-13 14:39:24 +02:00
f4b0b0b8e5 Update terrain grid resize visualization constants 2026-05-13 14:38:32 +02:00
e463f7f477 Refactor and improve geometry for terrain resize indicators, including edge outlines, arrow shafts, and arrow heads. 2026-05-13 14:36:31 +02:00
14f8f0feac Dispose resources for terrain grid resizing components 2026-05-13 14:35:51 +02:00
e3bdc61e77 auto-git:
[change] src/viewport-three/viewport-host.ts
2026-05-13 14:35:34 +02:00
a8752a626a Update constants for terrain grid resize visualization 2026-05-13 14:35:17 +02:00
2393fb2d53 Add CatmullRomCurve3 and TubeGeometry imports 2026-05-13 14:35:16 +02:00
c54e29b3ee Add constants for terrain grid resizing visualization 2026-05-13 14:29:15 +02:00
610f325196 Refactor edge distance calculation for terrain grid resizing 2026-05-13 14:27:03 +02:00
2ce6723c6d Make onTerrainGridResizeCommit optional in ViewportPanel 2026-05-13 14:27:03 +02:00
81a470e72e Add terrain grid resize commit handler to ViewportCanvas and App 2026-05-13 14:27:03 +02:00
26d8ea434c auto-git:
[change] src/viewport-three/viewport-host.ts
2026-05-13 14:26:02 +02:00
32df27beb0 Implement and add terrain grid resize gizmo visualization 2026-05-13 14:25:13 +02:00
ad252c7d71 Add state and handlers for terrain grid resizing in ViewportHost 2026-05-13 14:25:13 +02:00
64d058566c Add terrain grid resize visualization components 2026-05-13 14:24:50 +02:00
685a3e46d9 Add handler for terrain grid resize commits in ViewportPanel 2026-05-13 14:24:34 +02:00
81693069e6 Implement terrain grid resize commit handling in ViewportCanvas 2026-05-13 14:24:34 +02:00
00a5ec76ff Implement and refine terrain grid resize drag handling across pointer events 2026-05-13 14:23:23 +02:00
c3466517d9 Prioritize active terrain grid resize preview when retrieving terrain by ID 2026-05-13 14:23:23 +02:00
93cd4da396 Initialize and sync terrain grid resize state in ViewportHost 2026-05-13 14:22:08 +02:00
402754433d auto-git:
[change] src/viewport-three/viewport-host.ts
2026-05-13 14:21:01 +02:00
88c1e9f7a0 Add setter for terrain grid resize commit handler 2026-05-13 14:21:01 +02:00
b21614864f Dispose terrain grid resize components on cleanup 2026-05-13 14:21:01 +02:00