Commit Graph

716 Commits

Author SHA1 Message Date
b249019bc4 Update migration logic for interaction links 2026-04-02 19:37:01 +02:00
636e073775 Bump scene document version and add spatial audio version 2026-04-02 19:37:01 +02:00
7bc4ca3293 Enhance play animation validation by checking clip existence on model asset 2026-04-02 19:19:53 +02:00
b635081d62 Add loop property to play animation interaction links and update migration script 2026-04-01 04:06:16 +02:00
5ae42b77a4 Include loop property in createPlayAnimationInteractionLink 2026-04-01 04:06:11 +02:00
159892c4dc Add validation for playAnimation and stopAnimation actions in scene-document-validation.ts 2026-04-01 00:12:44 +02:00
3d8dae8618 Remove unused constant from migrate-scene-document.ts 2026-04-01 00:11:39 +02:00
f2e9bccb39 Add support for animation fields in model instances and interaction links during scene document migration from v11 to v12 2026-04-01 00:10:44 +02:00
e37f9714cf Add support for playAnimation and stopAnimation interaction links in migrate-scene-document.ts 2026-04-01 00:10:31 +02:00
467ccd1453 Add support for playAnimation and stopAnimation actions in migrate-scene-document.ts 2026-04-01 00:10:28 +02:00
8f20e25f1e Add animationClipName and animationAutoplay to ModelInstance 2026-04-01 00:10:24 +02:00
41c54cb7ee Import ANIMATION_PLAYBACK_SCENE_DOCUMENT_VERSION in migrate-scene-document.ts 2026-04-01 00:10:24 +02:00
c315f9c44b Add createPlayAnimationInteractionLink and createStopAnimationInteractionLink functions 2026-04-01 00:10:24 +02:00
ffff4e4c30 Bump SCENE_DOCUMENT_VERSION to 12 and add ANIMATION_PLAYBACK_SCENE_DOCUMENT_VERSION 2026-04-01 00:10:24 +02:00
8ebe5ed30a Add validation for non-negative finite number in world background environment intensity 2026-03-31 23:14:26 +02:00
850836f599 Migrate scene document to include environmentIntensity 2026-03-31 23:14:23 +02:00
9a93e8dbcb Set default environmentIntensity when changing background mode to image 2026-03-31 23:14:23 +02:00
9ba44307e7 Include environmentIntensity in areWorldBackgroundSettingsEqual 2026-03-31 23:14:23 +02:00
ccdf1f1b5a Clone environmentIntensity in cloneWorldBackgroundSettings 2026-03-31 23:14:23 +02:00
cbd5917dd4 Add environmentIntensity to WorldImageBackgroundSettings 2026-03-31 23:14:23 +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
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
be0cba6bcf Refactor asset imports and add runtime model instance handling 2026-03-31 17:32:32 +02:00
efb465f2ec Update scene document migration and validation for model assets 2026-03-31 17:32:25 +02:00
987e712c94 Update interaction validation to support Interactable entities and specific triggers 2026-03-31 06:45:48 +02:00
62234726d2 Handle migration for new scene document version 2026-03-31 06:45:43 +02:00
caa9864fed Bump scene document version to 9 2026-03-31 06:45:43 +02:00
9e2bd7c914 Add validation for interaction links in scene document 2026-03-31 06:16:25 +02:00
8faf137885 Add support for reading and migrating interaction links in scene document 2026-03-31 06:16:13 +02:00
42e711ebc6 Import interaction link creation functions in migrate-scene-document 2026-03-31 06:16:05 +02:00
300a1bcd55 Update scene-document version and add interactionLinks field 2026-03-31 06:16:05 +02:00
b2c3dc60ac Refine type checks in scene-document-validation.ts 2026-03-31 06:01:04 +02:00
feb7639086 Add migration logic for WORLD_ENVIRONMENT_SCENE_DOCUMENT_VERSION 2026-03-31 05:51:21 +02:00
0421cbbaf0 Add functions to read soundEmitter, triggerVolume, teleportTarget, and interactable entities in migrate-scene-document.ts 2026-03-31 05:51:17 +02:00
8c10022b03 Update entity imports and add helper function in migrate-scene-document.ts 2026-03-31 05:51:04 +02:00
27a2b1c93c Add validation for new entity types in scene document 2026-03-31 05:50:59 +02:00
212ec66041 Update scene document version and modify upsert entity command 2026-03-31 05:50:59 +02:00
1af26279af Update world settings comparison logic 2026-03-31 05:17:53 +02:00
9cfd4b694c Update changeWorldBackgroundMode to handle solid mode correctly 2026-03-31 05:16:09 +02:00
0d3e637488 Export WorldSettings type from scene-document.ts 2026-03-31 05:16:09 +02:00
b7fedf3413 Add world settings validation to scene document 2026-03-31 05:10:18 +02:00
9fbb657883 Add support for first room polish scene document version 2026-03-31 05:10:03 +02:00