Commit Graph

660 Commits

Author SHA1 Message Date
0b54fa14c9 auto-git:
[add] playwright.config.js
 [add] src/app/App.js
 [add] src/app/editor-store.js
 [add] src/app/use-editor-store.js
 [add] src/assets/audio-assets.js
 [add] src/assets/gltf-model-import.js
 [add] src/assets/image-assets.js
 [add] src/assets/model-instance-labels.js
 [add] src/assets/model-instance-rendering.js
 [add] src/assets/model-instances.js
 [add] src/assets/project-asset-storage.js
 [add] src/assets/project-assets.js
 [add] src/commands/brush-command-helpers.js
 [add] src/commands/command-history.js
 [add] src/commands/command.js
 [add] src/commands/commit-transform-session-command.js
 [add] src/commands/create-box-brush-command.js
 [add] src/commands/delete-box-brush-command.js
 [add] src/commands/delete-entity-command.js
 [add] src/commands/delete-interaction-link-command.js
 [add] src/commands/delete-model-instance-command.js
 [add] src/commands/import-audio-asset-command.js
 [add] src/commands/import-background-image-asset-command.js
 [add] src/commands/import-model-asset-command.js
 [add] src/commands/move-box-brush-command.js
 [add] src/commands/resize-box-brush-command.js
 [add] src/commands/rotate-box-brush-command.js
 [add] src/commands/set-box-brush-face-material-command.js
 [add] src/commands/set-box-brush-face-uv-state-command.js
 [add] src/commands/set-box-brush-name-command.js
 [add] src/commands/set-box-brush-transform-command.js
 [add] src/commands/set-entity-name-command.js
 [add] src/commands/set-model-instance-name-command.js
 [add] src/commands/set-player-start-command.js
 [add] src/commands/set-scene-name-command.js
 [add] src/commands/set-world-settings-command.js
 [add] src/commands/upsert-entity-command.js
 [add] src/commands/upsert-interaction-link-command.js
 [add] src/commands/upsert-model-instance-command.js
 [add] src/core/ids.js
 [add] src/core/selection.js
 [add] src/core/tool-mode.js
 [add] src/core/transform-session.js
 [add] src/core/vector.js
 [add] src/core/whitebox-selection-feedback.js
 [add] src/core/whitebox-selection-mode.js
 [add] src/document/brushes.js
 [add] src/document/migrate-scene-document.js
 [add] src/document/scene-document-validation.js
 [add] src/document/scene-document.js
 [add] src/document/world-settings.js
 [add] src/entities/entity-instances.js
 [add] src/entities/entity-labels.js
 [add] src/geometry/box-brush-components.js
 [add] src/geometry/box-brush-mesh.js
 [add] src/geometry/box-brush.js
 [add] src/geometry/box-face-uvs.js
 [add] src/geometry/grid-snapping.js
 [add] src/geometry/model-instance-collider-debug-mesh.js
 [add] src/geometry/model-instance-collider-generation.js
 [add] src/interactions/interaction-links.js
 [add] src/main.js
 [add] src/materials/starter-material-library.js
 [add] src/materials/starter-material-textures.js
 [add] src/rendering/advanced-rendering.js
 [add] src/runner-web/RunnerCanvas.js
 [add] src/runtime-three/first-person-navigation-controller.js
 [add] src/runtime-three/navigation-controller.js
 [add] src/runtime-three/orbit-visitor-navigation-controller.js
 [add] src/runtime-three/player-collision.js
 [add] src/runtime-three/rapier-collision-world.js
 [add] src/runtime-three/runtime-audio-system.js
 [add] src/runtime-three/runtime-host.js
 [add] src/runtime-three/runtime-interaction-system.js
 [add] src/runtime-three/runtime-scene-build.js
 [add] src/runtime-three/runtime-scene-validation.js
 [add] src/serialization/local-draft-storage.js
 [add] src/serialization/scene-document-json.js
 [add] src/shared-ui/HierarchicalMenu.js
 [add] src/shared-ui/Panel.js
 [add] src/shared-ui/world-background-style.js
 [add] src/viewport-three/ViewportCanvas.js
 [add] src/viewport-three/ViewportPanel.js
 [add] src/viewport-three/viewport-entity-markers.js
 [add] src/viewport-three/viewport-focus.js
 [add] src/viewport-three/viewport-host.js
 [add] src/viewport-three/viewport-layout.js
 [add] src/viewport-three/viewport-transient-state.js
 [add] src/viewport-three/viewport-view-modes.js
 [add] tests/domain/box-brush-face-editing.command.test.js
 [add] tests/domain/build-runtime-scene.test.js
 [add] tests/domain/create-box-brush.command.test.js
 [add] tests/domain/create-empty-scene-document.test.js
 [add] tests/domain/editor-store.test.js
 [add] tests/domain/entity.command.test.js
 [add] tests/domain/interaction-links.validation.test.js
 [add] tests/domain/model-import.test.js
 [add] tests/domain/model-instance.command.test.js
 [add] tests/domain/player-start.command.test.js
 [add] tests/domain/rapier-collision-world.test.js
 [add] tests/domain/runtime-audio-system.test.js
 [add] tests/domain/runtime-interaction-system.test.js
 [add] tests/domain/runtime-scene-validation.test.js
 [add] tests/domain/scene-document-validation.test.js
 [add] tests/domain/transform-session.command.test.js
 [add] tests/domain/world-settings.command.test.js
 [add] tests/domain/world-settings.test.js
 [add] tests/e2e/app-smoke.e2e.js
 [add] tests/e2e/box-brush-authoring.e2e.js
 [add] tests/e2e/entities-foundation.e2e.js
 [add] tests/e2e/face-material-authoring.e2e.js
 [add] tests/e2e/first-room-workflow.e2e.js
 [add] tests/e2e/import-draco-model-asset.e2e.js
 [add] tests/e2e/import-external-model-asset.e2e.js
 [add] tests/e2e/import-model-asset.e2e.js
 [add] tests/e2e/local-lights-and-background.e2e.js
 [add] tests/e2e/orthographic-views.e2e.js
 [add] tests/e2e/runner-v1.e2e.js
 [add] tests/e2e/runtime-click-interaction.e2e.js
 [add] tests/e2e/runtime-trigger-teleport.e2e.js
 [add] tests/e2e/viewport-quad-layout.e2e.js
 [add] tests/e2e/viewport-test-helpers.js
 [add] tests/e2e/whitebox-component-selection.e2e.js
 [add] tests/e2e/world-environment.e2e.js
 [add] tests/geometry/box-brush-geometry.test.js
 [add] tests/geometry/box-face-uvs.test.js
 [add] tests/geometry/model-instance-collider-generation.test.js
 [add] tests/helpers/model-collider-fixtures.js
 [add] tests/serialization/local-draft-storage.test.js
 [add] tests/serialization/project-asset-storage.test.js
 [add] tests/serialization/scene-document-json.test.js
 [add] tests/setup/vitest.setup.js
 [add] tests/unit/audio-assets.test.js
 [add] tests/unit/entity-instances.test.js
 [add] tests/unit/package-scripts.test.js
 [add] tests/unit/transform-foundation.integration.test.js
 [add] tests/unit/viewport-canvas.test.js
 [add] tests/unit/viewport-entity-markers.test.js
 [add] tests/unit/viewport-focus.test.js
 [add] tests/unit/viewport-layout.test.js
 [add] tests/unit/viewport-view-modes.test.js
 [add] vite.config.js
 [add] vitest.config.js
2026-04-05 02:25:29 +02:00
7262824e0f Extend transform gizmo handling for additional brush types 2026-04-05 01:58:06 +02:00
0845ac436c Add methods for creating and updating brush previews in ViewportHost 2026-04-05 01:57:59 +02:00
30f4a24571 Refactor brush transformation pivot position calculation in viewport-host.ts 2026-04-05 01:57:17 +02:00
5dce46904d Add support for brush face, edge, and vertex transformations in ViewportHost 2026-04-05 01:56:52 +02:00
086405f55b Update viewport-host.ts with additional geometry functions 2026-04-05 01:56:36 +02:00
94fe6ca280 Add support for whitebox selection mode and hover labels in ViewportCanvas and ViewportPanel 2026-04-04 20:12:23 +02:00
7ab407608e Add hover selection handling for 'select' tool mode in ViewportHost 2026-04-04 20:11:46 +02:00
f9da8a83fa Refactor viewport selection logic in viewport-host.ts 2026-04-04 20:11:41 +02:00
0b2c2ab1bf Add methods for brush selection and hit detection in viewport-host.ts 2026-04-04 20:11:26 +02:00
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
6aacb11496 Add whitebox snap properties to ViewportPanel 2026-04-04 19:30:02 +02:00
8b048fb09c Add whitebox snap settings to ViewportCanvas 2026-04-04 19:29:45 +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
f69882764e Refactor brush focus target calculation 2026-04-04 19:27:29 +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
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