Commit Graph

369 Commits

Author SHA1 Message Date
d1547cf04a Add README.md for webeditor3d 2026-03-31 19:44:24 +02:00
3f81463551 Add transient resource URL creation and revocation in GLTF model import 2026-03-31 18:51:43 +02:00
8b90a3d851 Remove unnecessary try-catch blocks in GLTF loading functions 2026-03-31 18:50:12 +02:00
a775df160e Rename function to createDataUrlForStoredFile and update variable names 2026-03-31 18:49:54 +02:00
7c092ae1dd Refactor GLTF model import to handle large files and improve URI rewriting 2026-03-31 18:49:50 +02:00
2952798e4f Add type, size, and arrayBuffer properties to the File object 2026-03-31 18:49:22 +02:00
360d4c03cb Create new ArrayBuffer and copy bytes into it in createTestFile 2026-03-31 18:49:22 +02:00
5dff044900 Update createTestFile to use bytes.buffer directly 2026-03-31 18:49:22 +02:00
78553b7c8d Refactor file creation in tests/domain/model-import.test.ts 2026-03-31 18:48:24 +02:00
951c9e82b4 auto-git:
[change] src/assets/gltf-model-import.ts
2026-03-31 18:48:19 +02:00
cdc4999ab1 auto-git:
[change] tests/serialization/project-asset-storage.test.ts
2026-03-31 18:48:19 +02:00
5e917bd443 Enhance error handling in gltf-model-import.ts 2026-03-31 18:46:50 +02:00
88281e737a Add import-external-model-asset.e2e.ts for end-to-end tests 2026-03-31 18:46:50 +02:00
683de04bb0 Add model-import.test.ts for unit tests 2026-03-31 18:46:50 +02:00
4948913a7c Add triangle.bin and tiny-triangle.glb assets 2026-03-31 18:46:50 +02:00
9ceff5999f Add external triangle scene GLTF and update file import handling 2026-03-31 18:45:28 +02:00
76b23cf007 Refactor and optimize GLTF model import logic 2026-03-31 18:45:19 +02:00
de1ad9d556 Add GLTF model import functionality 2026-03-31 18:45:19 +02:00
ffeec5bd10 Remove gltf model import functionality 2026-03-31 18:43:54 +02:00
6d913d6110 Add project asset storage implementation 2026-03-31 18:43:54 +02:00
264ed13536 Remove project asset storage implementation 2026-03-31 18:42:35 +02:00
a10de343b3 Rename variable for clarity in cleanup logic 2026-03-31 17:56:43 +02:00
765cb73e4e Handle model import error by cleaning up resources 2026-03-31 17:56:33 +02:00
9cd00f862f Add error handling for asset import in gltf-model-import.ts 2026-03-31 17:56:28 +02:00
669a9677c2 Fix incorrect variable reference in App.tsx 2026-03-31 17:55:27 +02:00
19c23454f3 Refactor file input handling in App.tsx to improve readability and maintainability 2026-03-31 17:53:36 +02:00
6909b92072 Update e2e test to use getByTestId for asset visibility check 2026-03-31 17:53:36 +02:00
a6cf9b8325 Reorder imports in scene-document-json.test.ts 2026-03-31 17:53:08 +02:00
44efb9e64d Reorder imports in build-runtime-scene.test.ts 2026-03-31 17:53:08 +02:00
c6db87a484 Add end-to-end test for importing model asset 2026-03-31 17:53:08 +02:00
cb3c945172 Add tests for project asset storage 2026-03-31 17:53:08 +02:00
82377eab30 Add tests for model instance commands 2026-03-31 17:53:08 +02:00
f86e2c4fb2 Add model instance and asset handling in build-runtime-scene test 2026-03-31 17:51:45 +02:00
b204c8cfce Update scene document JSON tests for model assets and instances 2026-03-31 17:51:38 +02:00
403a8e6c4e Add tiny-triangle.gltf fixture asset 2026-03-31 17:51:38 +02:00
185d2b0141 Use project assets in viewport host 2026-03-31 17:50:22 +02:00
d7880724d2 Add model instances to runtime scene fixture 2026-03-31 17:50:22 +02:00
627bfa9c0d Update model instance command label function 2026-03-31 17:50:22 +02:00
bb3e29cbbf Update model asset summary handling in App.tsx 2026-03-31 17:49:13 +02:00
3b8539066e Reorder imports in gltf-model-import.ts 2026-03-31 17:49:13 +02:00
0b406acd38 Add texture and material disposal functions in model-instance-rendering.ts 2026-03-31 17:49:00 +02:00
2c59d2040d Update prompts.txt by removing metadata extraction instruction 2026-03-31 17:49:00 +02:00
0600f9e1c3 Update prompts-lite.txt with changes to asset storage and audio handling 2026-03-31 17:48:02 +02:00
9d48ad7fd3 Update prompts for project package import/export and runner packaging 2026-03-31 17:47:49 +02:00
3803ac738c Add selectedModelAssetRecord in App.tsx 2026-03-31 17:47:49 +02:00
fdced18405 Update prompts and App.tsx for GLB/GLTF import functionality 2026-03-31 17:46:54 +02:00
5e69653810 Update asset display logic in App.tsx 2026-03-31 17:46:43 +02:00
9676abb6a3 Rename modelAssetList to projectAssetList and filter models 2026-03-31 17:46:43 +02:00
96c99ce089 Import getProjectAssetKindLabel in App.tsx 2026-03-31 17:46:43 +02:00
5918e80135 Update testing documentation for project package portability 2026-03-31 17:46:12 +02:00