Commit Graph

1243 Commits

Author SHA1 Message Date
82664df74d Add support for custom box brush geometry in scene documents 2026-04-05 02:35:29 +02:00
cf65b02e8d Add error handling for non-trimesh brush colliders in test 2026-04-05 02:33:43 +02:00
8cc5804278 Update tests to check collider kind and flatten triangles 2026-04-05 02:33:43 +02:00
8f8f6894af Update tests for collider and geometry changes 2026-04-05 02:33:08 +02:00
db72c4783f Add brush geometry validation to runtime scene build 2026-04-05 02:32:15 +02:00
d2de8c4793 Update viewport-host.ts to use BufferGeometry and buildBoxBrushDerivedMeshData 2026-04-05 02:31:20 +02:00
2382ff0d79 Remove unused import BoxGeometry from runtime-host.ts 2026-04-05 02:31:20 +02:00
ac678bd732 Update runtime-host.ts to use BufferGeometry and buildBoxBrushDerivedMeshData 2026-04-05 02:31:20 +02:00
8e55495285 Update collision handling for brush colliders 2026-04-05 02:30:08 +02:00
2e29aa7ae2 Update box brush geometry and collider handling in runtime scene build 2026-04-05 02:30:04 +02:00
efc5d5b0cf Validate box brush geometry vertices for finiteness in scene document validation 2026-04-05 02:28:44 +02:00
67d87fe7dc Add geometry reading to box brushes and update version check in scene document migration 2026-04-05 02:28:44 +02:00
f47cc2606c Add function to read box brush geometry 2026-04-05 02:28:17 +02:00
6a081863c7 Import additional constants and functions for migration 2026-04-05 02:28:17 +02:00
213cf5828a Update scene document version and add new constant 2026-04-05 02:28:17 +02:00
203aa93137 Refactor box face UV projection to remove unused import and simplify halfSize calculation 2026-04-05 02:26:49 +02:00
03465d1d84 auto-git:
[change] src/geometry/box-brush-mesh.ts
 [change] src/geometry/box-face-uvs.ts
2026-04-05 02:25:29 +02:00
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
b23cb0dd32 Update box brush calculations to use face and vertex IDs 2026-04-05 02:23:16 +02:00
ce5e18641b Update box brush corner position calculation 2026-04-05 02:23:08 +02:00
711289cc9e Add box brush mesh geometry implementation 2026-04-05 02:23:08 +02:00
c02acc32af Add geometry support to BoxBrush and related functions 2026-04-05 02:21:50 +02:00
c25aa3f32b Add tests for axis-constraint rules in transform sessions 2026-04-05 02:02:35 +02:00
26844c5900 Update test expectations for transform button states 2026-04-05 02:02:35 +02:00
69b7864f40 Add tests for face and vertex transform previews with undo/redo 2026-04-05 02:01:34 +02:00
759c84e5af Update test to ensure transform controls are coherent across modes 2026-04-05 02:01:15 +02:00
3e6e343943 Update transform session command tests to resolve component targets correctly and enforce operation support 2026-04-05 02:01:10 +02:00
38c9d8a8c5 Update box brush rotation handling 2026-04-05 01:58:12 +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
865f6ae859 Add set box brush transform command and update commit transform session command 2026-04-05 01:56:31 +02:00
924b0c93fe Add support for brush face, edge, and vertex transform targets in transform session 2026-04-05 01:56:13 +02:00
f6ed103be3 Add transformation metadata and functions for box brush components 2026-04-05 01:55:51 +02:00
e31dfbc5cd Add WebGL availability check in e2e test 2026-04-04 20:24:02 +02:00
2a924b5b36 Refactor camera state and view mode handling in e2e tests 2026-04-04 20:22:31 +02:00
ec69f450df Add click at ratio functionality to viewport test helpers 2026-04-04 20:21:54 +02:00
655f3d91a2 Update camera state for topLeft panel in e2e test 2026-04-04 20:21:13 +02:00
3d3020972b Update viewport test helpers to use page mouse click 2026-04-04 20:20:46 +02:00
56bea13732 Update orthographic views E2E test to check selection mode 2026-04-04 20:20:30 +02:00
6f7c88c316 Add E2E test for whitebox component selection 2026-04-04 20:20:30 +02:00
f71039966d Update viewport-test-helpers.ts with new selection properties and clickViewportAtRatio function 2026-04-04 20:18:42 +02:00
04e7c062ed Add test for whole-box transforms in Object mode and component modes 2026-04-04 20:18:36 +02:00
22d97f0197 Update transform session command tests for object mode requirements 2026-04-04 20:18:05 +02:00
7676bddf62 Add tests for whitebox selection mode in editor store 2026-04-04 20:17:55 +02:00
04ffdbb4e6 Add setWhiteboxHoverLabelChangeHandler and setWhiteboxSelectionMode to tests 2026-04-04 20:17:14 +02:00
d8bd6c2c83 Update conditional rendering in App.tsx 2026-04-04 20:16:41 +02:00
3e2bd13906 Remove unused types from App.tsx 2026-04-04 20:16:41 +02:00