Commit Graph

122 Commits

Author SHA1 Message Date
f67095bf05 Update viewport-host.ts to include edge and vertex helpers in brush rendering 2026-04-04 20:10:57 +02:00
3e59367d08 Add helper methods and refresh logic for brush presentation in viewport-host.ts 2026-04-04 20:10:48 +02:00
532c34117e Add hover handling and update face material creation logic 2026-04-04 20:10:26 +02:00
7e866ec6b2 Update resolveTransformTarget to include whiteboxSelectionMode 2026-04-04 20:10:26 +02:00
16a19b5e90 Update ViewportHost with methods for handling whitebox hover label and selection mode changes 2026-04-04 20:09:56 +02:00
8302868e5f Add hovered selection and whitebox selection mode to ViewportHost 2026-04-04 20:09:56 +02:00
8548581699 Add edge and vertex helpers to BrushRenderObjects 2026-04-04 20:09:23 +02:00
774ff4a841 Update viewport-host.ts with additional imports and functions 2026-04-04 20:09:14 +02:00
e04fc45477 Update scale operation to include brush target 2026-04-04 19:33:13 +02:00
930297a415 Remove unused import in viewport-host.ts 2026-04-04 19:29:45 +02:00
6ab4ae0b02 Replace snapValueToGrid with snapWhiteboxPositionValue in ViewportHost 2026-04-04 19:29:33 +02:00
5d3d9c394d Remove redundant position setting and add transform application in ViewportHost 2026-04-04 19:29:33 +02:00
0bfa3613d5 Update applyBrushRenderObjectTransform to include rotation and size parameters 2026-04-04 19:29:10 +02:00
7bb75973d9 Add support for scaling brush targets in viewport-host.ts 2026-04-04 19:28:58 +02:00
376bb60e1b Update brush rotation calculation in viewport-host.ts 2026-04-04 19:28:51 +02:00
ff938c5e93 Update position snapping logic in ViewportHost 2026-04-04 19:28:46 +02:00
1232128c84 Add methods for snapping whitebox position and size values 2026-04-04 19:28:38 +02:00
73923baf5d Implement setWhiteboxSnapSettings method in ViewportHost 2026-04-04 19:28:33 +02:00
0fd274d8ab Add whitebox snap settings to ViewportHost 2026-04-04 19:28:33 +02:00
c2ac4b04f6 Update createWireframeDisplayMaterial to handle different material types 2026-04-04 19:07:59 +02:00
7f5671051c Ensure edges visibility based on display mode 2026-04-04 19:07:59 +02:00
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
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
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
0c2bca0331 Add camera state management to ViewportHost 2026-04-03 01:37:07 +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
eb3d08140f Modify creationCommitHandler to handle boolean return and update logic in viewport-host.ts 2026-04-03 00:32:17 +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
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
572d448d1f Fix undefined parameter in createModelInstanceRenderGroup 2026-04-02 23:56:52 +02:00
c79173f058 Refactor and enhance placement preview logic in ViewportHost 2026-04-02 23:52:40 +02:00
7ba7d8a2e9 Add placementPreviewTargetKey to ViewportHost 2026-04-02 23:52:40 +02:00