Commit Graph

435 Commits

Author SHA1 Message Date
9f6c906a90 Add support for point and spot lights in runtime scene build 2026-03-31 20:04:56 +02:00
ff34d3942d Add support for image background in world settings 2026-03-31 20:04:39 +02:00
85644944b7 Add command for importing background image asset 2026-03-31 20:04:35 +02:00
c80d2f04a1 Add image asset management functionality 2026-03-31 20:04:35 +02:00
954cd09086 Update background validation for vertical gradient mode 2026-03-31 20:04:35 +02:00
4f2fddfbd5 Simplify world background mode handling in src/document/world-settings.ts 2026-03-31 20:03:09 +02:00
81c2ea1e59 Add default colors and improve background mode handling in world-settings.ts 2026-03-31 20:03:03 +02:00
b7ed908959 Update asset handling in scene document migration 2026-03-31 19:59:18 +02:00
3b83683d2e Add support for point and spot lights in scene migration 2026-03-31 19:58:07 +02:00
6b3d2a7f61 Update validation to include point and spot light entities 2026-03-31 19:58:07 +02:00
701775afe5 Add validation for world background image and light entities 2026-03-31 19:57:50 +02:00
4e7635a5f2 Update ENTITY_KIND_ORDER and define default positions for point and spot lights 2026-03-31 19:57:40 +02:00
405a00de6e Bump SCENE_DOCUMENT_VERSION to 11 and add LOCAL_LIGHTS_AND_SKYBOX_SCENE_DOCUMENT_VERSION 2026-03-31 19:57:40 +02:00
63fcd7c48c Add check for verticalGradient mode in cloneWorldBackgroundSettings 2026-03-31 19:57:30 +02:00
44f094e637 Add image background option to world settings 2026-03-31 19:57:28 +02:00
509ab454b6 Add PointLightEntity and SpotLightEntity interfaces with default values and creation functions 2026-03-31 19:57:21 +02:00
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