Commit Graph

155 Commits

Author SHA1 Message Date
d38ea6c755 Set nonPickable flag for range mesh in ViewportHost 2026-04-01 04:41:48 +02:00
8306042015 Fix formatting in viewport-host.ts 2026-04-01 04:40:50 +02:00
1dd41329d0 Reset last click pointer and selection key on tool mode change in ViewportHost 2026-04-01 04:38:08 +02:00
a61855494c Implement click-through cycling logic for object selection in viewport-host.ts 2026-04-01 04:37:03 +02:00
9060bce4ba Add click-through cycling tracking variables in viewport-host.ts 2026-04-01 04:37:03 +02:00
3e66408af0 Set scene environment and intensity based on background mode 2026-03-31 23:14:46 +02:00
aabdcd8e09 Update ViewportCanvas to support image background assets 2026-03-31 20:08:33 +02:00
094b9c34dc Update updateAssets method to include loadedImageAssets in viewport-host.ts 2026-03-31 20:08:05 +02:00
3df6c82cb6 Add clearLocalLights method to ViewportHost 2026-03-31 20:06:37 +02:00
1ba4e2b113 Remove unused variable in viewport-host.ts 2026-03-31 20:06:37 +02:00
27d7636a45 Rename render object creation methods in ViewportHost 2026-03-31 20:06:18 +02:00
45899ecc6a auto-git:
[change] src/viewport-three/viewport-host.ts
2026-03-31 20:06:12 +02:00
b423115186 auto-git:
[change] src/viewport-three/viewport-host.ts
2026-03-31 20:06:12 +02:00
d5702fe98c Refactor viewport update logic to use applyWorld method 2026-03-31 20:05:39 +02:00
ee4587db5e Update viewport-host.ts with new light and asset types 2026-03-31 20:05:30 +02:00
09466f34d0 Add support for pointLight and spotLight in viewport focus calculations 2026-03-31 20:05:00 +02:00
185d2b0141 Use project assets in viewport host 2026-03-31 17:50:22 +02:00
d0460613b0 Update AGENTS.md and ViewportCanvas.tsx for project package details 2026-03-31 17:45:18 +02:00
fd5342c34a Update viewport-host.ts to use getModelInstances 2026-03-31 17:45:18 +02:00
6bf47c45dc Update ViewportCanvas to include projectAssets and loadedModelAssets 2026-03-31 17:40:31 +02:00
4ba6d187e8 Update viewport host to include model instances and asset management 2026-03-31 17:40:11 +02:00
f7e8c80a10 Update viewport focus to include model instance scaling and selection handling 2026-03-31 17:36:57 +02:00
b1ad68ee06 Add functions to handle model instance bounding box and focus target creation 2026-03-31 17:32:38 +02:00
54c09b02af Add methods for rendering different entity types in viewport-host.ts 2026-03-31 05:53:34 +02:00
38c64264cc Rename rebuildPlayerStartMarkers to rebuildEntityMarkers and update related methods 2026-03-31 05:52:51 +02:00
d0cca56c19 Update viewport-host.ts to include new geometries and entity render objects 2026-03-31 05:52:37 +02:00
3ea9814058 Add runtime entity collection and focus target handling 2026-03-31 05:52:30 +02:00
07d03820cc Update OrbitVisitorNavigationController and ViewportCanvas.tsx 2026-03-31 05:18:59 +02:00
507b6fe80c Apply world background style to RunnerCanvas and ViewportCanvas 2026-03-31 05:11:19 +02:00
d103f80751 Refactor runtime scene build and viewport host 2026-03-31 05:10:53 +02:00
d9c40efd02 Remove unused dependency in ViewportCanvas.tsx 2026-03-31 04:37:53 +02:00
25603392db Invert vertical orbit camera rotation direction 2026-03-31 04:37:53 +02:00
b78030db83 Import DEFAULT_BOX_BRUSH_CENTER in ViewportCanvas.tsx 2026-03-31 04:33:34 +02:00
5653d88f8c Add button for creating default box in ViewportCanvas fallback 2026-03-31 04:31:21 +02:00
c938b3ccdd Add focusRequestId and focusSelection to ViewportCanvas props and update useEffect 2026-03-31 04:24:23 +02:00
b4f5d44b9d Add camera drag and zoom functionality in viewport-host.ts 2026-03-31 04:24:14 +02:00
60beb1bec5 Add focus and camera control features in viewport-host.ts 2026-03-31 04:24:05 +02:00
bdeb44269b Enhance viewport host with camera vectors and spherical coordinates 2026-03-31 04:23:57 +02:00
dc81d5551a Update viewport host with constants and import focus resolver 2026-03-31 04:23:57 +02:00
ea2927fb8c Add viewport focus logic 2026-03-31 04:23:57 +02:00
ef9231aeda auto-git:
[change] src/viewport-three/viewport-host.ts
2026-03-31 03:46:38 +02:00
f52cd5d884 Enhance App component with validation and UI updates for better user experience 2026-03-31 03:45:52 +02:00
57a4d45692 auto-git:
[change] src/app/editor-store.ts
 [change] src/viewport-three/viewport-host.ts
2026-03-31 03:44:17 +02:00
1db5f63b51 Simplify tool mode handling and improve material disposal in viewport-host 2026-03-31 03:10:53 +02:00
e658c8dc10 Add play mode functionality and player start markers in viewport 2026-03-31 03:07:29 +02:00
6c41d31e68 Remove unused constant BRUSH_BASE_COLOR 2026-03-31 02:39:34 +02:00
f7ee18114e Update ViewportCanvas to handle EditorSelection changes 2026-03-31 02:36:37 +02:00
b9e59e6434 Add viewport-host.ts for Three.js based viewport rendering 2026-03-31 02:36:37 +02:00
2a56d926b0 Remove viewport-host.ts file 2026-03-31 02:34:52 +02:00
b676dc2e1f Update component props and styles for App and ViewportCanvas 2026-03-31 02:06:17 +02:00