Commit Graph

226 Commits

Author SHA1 Message Date
fdc582a494 Update material handling to dispose of originals in model rendering and viewport host 2026-04-04 19:07:07 +02:00
6eef0142e2 Update preview group creation to handle wireframe display mode 2026-04-04 19:06:56 +02:00
4c4fde5aae Add wireframe render mode for model instances and viewport display 2026-04-04 19:06:32 +02:00
1f8a112f0e Modify ViewportCanvas to handle non-normal display modes 2026-04-04 19:06:06 +02:00
f30da7bc8a Update ViewportPanel to support 'wireframe' display mode 2026-04-04 19:06:06 +02:00
1e347c004e Add 'wireframe' display mode to viewport layout 2026-04-04 19:06:06 +02:00
a2805c16fe Update eye height to use default constant 2026-04-04 15:56:13 +02:00
acf9a457c6 Update player start render objects with additional parameters 2026-04-04 15:55:18 +02:00
869432d989 Update createPlayerStartRenderObjects to handle different colliders and improve visuals 2026-04-04 15:55:14 +02:00
484eaf8db9 Add CapsuleGeometry and update default player start collider settings 2026-04-04 15:55:14 +02:00
ba8f8235bf Add collision mode support and debug visualization in App.tsx and related files 2026-04-04 07:57:32 +02:00
3d1dd3fe63 auto-git:
[add] src/geometry/model-instance-collider-generation.ts
 [add] src/runtime-three/rapier-collision-world.ts
 [change] AGENTS.md
 [change] CHAT_CONTEXT.md
 [change] architecture.md
 [change] package.json
 [change] prompts-lite.txt
 [change] prompts.txt
 [change] roadmap.md
 [change] src/assets/model-instances.ts
 [change] src/document/migrate-scene-document.ts
 [change] src/document/scene-document-validation.ts
 [change] src/document/scene-document.ts
 [change] src/runtime-three/first-person-navigation-controller.ts
 [change] src/runtime-three/navigation-controller.ts
 [change] src/runtime-three/runtime-host.ts
 [change] src/runtime-three/runtime-scene-build.ts
 [change] src/runtime-three/runtime-scene-validation.ts
 [change] src/viewport-three/viewport-host.ts
 [change] testing.md
2026-04-04 07:55:41 +02:00
17709683bd Remove unused props and handlers in ViewportPanel 2026-04-03 02:37:21 +02:00
4ee909b911 Change onPointerMoveCapture to onPointerOverCapture in ViewportPanel 2026-04-03 02:37:21 +02:00
512d8e0269 Update event handlers for viewport panel hover logic 2026-04-03 02:36:21 +02:00
e0b1c31323 Add hover functionality to ViewportPanel and enhance transform session handling in ViewportHost 2026-04-03 02:35:30 +02:00
8c844d08c9 Update viewport-host.ts and viewport-canvas.test.tsx 2026-04-03 02:17:40 +02:00
9abbe7caf5 Add transform session handling to ViewportCanvas and ViewportPanel 2026-04-03 02:15:10 +02:00
73a868ee33 Implement transform session handling and gizmo creation in ViewportHost 2026-04-03 02:14:18 +02:00
3b38b1aee7 Add transform preview and gizmo synchronization in ViewportHost 2026-04-03 02:14:18 +02:00
0af9837674 Add transform session and gizmo support in viewport-host.ts 2026-04-03 02:11:42 +02:00
92e4c2eeaf Add transform session management to EditorStore and ViewportTransientState 2026-04-03 02:11:08 +02:00
adb83e8a8f Reorder and update default perspective camera position 2026-04-03 01:38:48 +02:00
f92f9e7222 Add camera state to ViewportPanel props and handlers 2026-04-03 01:37:23 +02:00
7903090f90 Add camera state handling to ViewportCanvas 2026-04-03 01:37:13 +02:00
0c2bca0331 Add camera state management to ViewportHost 2026-04-03 01:37:07 +02:00
a6f8e43c9f Add camera state interfaces and default creation functions in viewport-layout.ts 2026-04-03 01:36:15 +02:00
e88cd7e795 Refactor ViewportCanvas component by removing unused functions and optimizing overlay rendering logic 2026-04-03 01:25:55 +02:00
37e70a6b0b Add support for viewport quad split in editor store and ViewportPanel component 2026-04-03 01:25:40 +02:00
9d233de06a Add ViewportQuadSplit interface and update DEFAULT_VIEWPORT_LAYOUT_STATE 2026-04-03 01:25:25 +02:00
fbde0094bf Handle model-instance creation preview in rebuildModelInstances method 2026-04-03 01:10:48 +02:00
e5a6da5a1e Update viewport-host.ts to include loadedAsset in model instance rendering 2026-04-03 01:10:48 +02:00
7e610eaad4 Add creation commit handler to ViewportCanvas 2026-04-03 00:37:48 +02:00
eb3d08140f Modify creationCommitHandler to handle boolean return and update logic in viewport-host.ts 2026-04-03 00:32:17 +02:00
d02159a253 Update onCommitCreation to return boolean in ViewportPanel.tsx 2026-04-03 00:32:17 +02:00
b54b3eb445 Update onCommitCreation to return boolean in ViewportCanvas.tsx 2026-04-03 00:32:17 +02:00
464e7c5d86 Update ViewportCanvas to include sourcePanelId in tool preview change handler 2026-04-03 00:28:41 +02:00
afea3647bb Add comment to preserve shared creation preview state 2026-04-03 00:26:52 +02:00
1a64fb81f3 Refactor viewport-host.ts to improve conditional logic 2026-04-03 00:22:36 +02:00
3d7c0d75e4 Refactor viewport tool preview handling for creation and placement modes 2026-04-03 00:22:30 +02:00
1344c404d3 Refactor viewport tool preview handling in viewport-host.ts 2026-04-03 00:21:28 +02:00
62c558bb27 Refactor ViewportCanvas and ViewportPanel components 2026-04-03 00:21:13 +02:00
bea39f4526 Refactor viewport canvas and transient state for creation preview handling 2026-04-03 00:21:03 +02:00
c1b6d984cb Rename and refactor viewport preview types and functions 2026-04-03 00:20:46 +02:00
43d4e26fac Replace PLACEMENT_PREVIEW_COLOR_HEX with BOX_CREATE_PREVIEW_FILL in viewport-host.ts 2026-04-02 23:58:55 +02:00
57098940e4 Update imports and method signatures in ViewportPanel.tsx and viewport-host.ts 2026-04-02 23:58:55 +02:00
30de189cfa Optimize placement preview handling in ViewportHost 2026-04-02 23:58:34 +02:00
3dd75e3496 Handle null tool preview center in ViewportCanvas 2026-04-02 23:58:34 +02:00
21e0ceccf9 Add onCommitPlacement prop to ViewportPanel.tsx 2026-04-02 23:57:57 +02:00
572d448d1f Fix undefined parameter in createModelInstanceRenderGroup 2026-04-02 23:56:52 +02:00