@hypersoniclabs/helix-cli 0.1.6 → 0.1.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +627 -6
- package/assets/bridge/metahuman-eye-baked.png +0 -0
- package/assets/item-def-sounds/Common/A_DryShot.ogg +0 -0
- package/assets/item-def-sounds/Common/A_LMG_CloseCoverA.ogg +0 -0
- package/assets/item-def-sounds/Common/A_LMG_CloseCoverB.ogg +0 -0
- package/assets/item-def-sounds/Common/A_LMG_InsertMag.ogg +0 -0
- package/assets/item-def-sounds/Common/A_LMG_RemoveMag.ogg +0 -0
- package/assets/item-def-sounds/Common/A_Pistol_InsertMag_001.ogg +0 -0
- package/assets/item-def-sounds/Common/A_Pistol_InsertMag_002.ogg +0 -0
- package/assets/item-def-sounds/Common/A_Pistol_InsertMag_003.ogg +0 -0
- package/assets/item-def-sounds/Common/A_Pistol_RemoveMag_001.ogg +0 -0
- package/assets/item-def-sounds/Common/A_Pistol_RemoveMag_002.ogg +0 -0
- package/assets/item-def-sounds/Common/A_Pistol_RemoveMag_003.ogg +0 -0
- package/assets/item-def-sounds/Common/A_Rifle_ChargingHandle_001.ogg +0 -0
- package/assets/item-def-sounds/Common/A_Rifle_ChargingHandle_002.ogg +0 -0
- package/assets/item-def-sounds/Common/A_Rifle_ChargingHandle_003.ogg +0 -0
- package/assets/item-def-sounds/Common/A_Rifle_InsertMag_001.ogg +0 -0
- package/assets/item-def-sounds/Common/A_Rifle_InsertMag_002.ogg +0 -0
- package/assets/item-def-sounds/Common/A_Rifle_InsertMag_003.ogg +0 -0
- package/assets/item-def-sounds/Common/A_Rifle_RemoveMag_001.ogg +0 -0
- package/assets/item-def-sounds/Common/A_Rifle_RemoveMag_002.ogg +0 -0
- package/assets/item-def-sounds/Common/A_Rifle_RemoveMag_003.ogg +0 -0
- package/assets/item-def-sounds/Common/A_SMG_ChargingHandle_001.ogg +0 -0
- package/assets/item-def-sounds/Common/A_SMG_ChargingHandle_002.ogg +0 -0
- package/assets/item-def-sounds/Common/A_SMG_ChargingHandle_003.ogg +0 -0
- package/assets/item-def-sounds/Common/A_Sniper_ChargingHandle.ogg +0 -0
- package/assets/item-def-sounds/Common/A_Sniper_RemoveMag_001.ogg +0 -0
- package/assets/item-def-sounds/Common/A_Sniper_RemoveMag_002.ogg +0 -0
- package/assets/item-def-sounds/Common/A_Sniper_RemoveMag_003.ogg +0 -0
- package/assets/item-def-sounds/Explosions/Explosions_Grenade_Punch-Close_01.ogg +0 -0
- package/assets/item-def-sounds/Explosions/Explosions_Grenade_Punch-Close_02.ogg +0 -0
- package/assets/item-def-sounds/Explosions/Explosions_Grenade_Punch-Close_03.ogg +0 -0
- package/assets/item-def-sounds/LMG/A_LWS-32_Shot_001.ogg +0 -0
- package/assets/item-def-sounds/LMG/A_LWS-32_Shot_002.ogg +0 -0
- package/assets/item-def-sounds/LMG/A_LWS-32_Shot_003.ogg +0 -0
- package/assets/item-def-sounds/Pistol/A_Gaston_Shot_001.ogg +0 -0
- package/assets/item-def-sounds/Pistol/A_Gaston_Shot_002.ogg +0 -0
- package/assets/item-def-sounds/Pistol/A_Gaston_Shot_003.ogg +0 -0
- package/assets/item-def-sounds/Rifle/A_KAL_Shot_001.ogg +0 -0
- package/assets/item-def-sounds/Rifle/A_KAL_Shot_002.ogg +0 -0
- package/assets/item-def-sounds/Rifle/A_KAL_Shot_003.ogg +0 -0
- package/assets/item-def-sounds/SMG/A_Bison_InsertMag.ogg +0 -0
- package/assets/item-def-sounds/SMG/A_Bison_RemoveMag.ogg +0 -0
- package/assets/item-def-sounds/SMG/A_Bison_Shot_001.ogg +0 -0
- package/assets/item-def-sounds/SMG/A_Bison_Shot_002.ogg +0 -0
- package/assets/item-def-sounds/SMG/A_Bison_Shot_003.ogg +0 -0
- package/assets/item-def-sounds/Shotgun/A_DB-12_Shot_001.ogg +0 -0
- package/assets/item-def-sounds/Shotgun/A_DB-12_Shot_002.ogg +0 -0
- package/assets/item-def-sounds/Shotgun/A_DB-12_Shot_003.ogg +0 -0
- package/assets/item-def-sounds/Sniper/A_CS-446_Shot_001.ogg +0 -0
- package/assets/item-def-sounds/Sniper/A_CS-446_Shot_002.ogg +0 -0
- package/assets/item-def-sounds/Sniper/A_CS-446_Shot_003.ogg +0 -0
- package/bridge-plugins/helix.bridge.unreal/bin/unreal-skeletal-mesh-extract.js +812 -0
- package/bridge-plugins/helix.bridge.unreal/bridge-plugin.json +40 -0
- package/bridge-plugins/helix.bridge.unreal/test/exporter.test.js +418 -0
- package/bridge-plugins/helix.bridge.unreal/test/handler.test.js +417 -0
- package/bridge-plugins/helix.bridge.unreal/unreal/export_skeletal_mesh.py +384 -0
- package/bridge-recipes/cyberpunk/cyberpunk-female-bone-map.json +476 -0
- package/bridge-recipes/sims4/README.md +43 -0
- package/bridge-recipes/sims4/sims4-female-bone-map.json +65 -0
- package/bridge-recipes/unreal/character-customizer/README.md +58 -0
- package/bridge-recipes/unreal/character-customizer/all.json +13 -0
- package/bridge-recipes/unreal/character-customizer/base-male-body.json +6 -0
- package/bridge-recipes/unreal/character-customizer/base-male-head.json +6 -0
- package/bridge-recipes/unreal/character-customizer/beard.addon.json +1 -0
- package/bridge-recipes/unreal/character-customizer/beard.json +6 -0
- package/bridge-recipes/unreal/character-customizer/bottom.addon.json +1 -0
- package/bridge-recipes/unreal/character-customizer/bottom.json +6 -0
- package/bridge-recipes/unreal/character-customizer/eyewear.addon.json +1 -0
- package/bridge-recipes/unreal/character-customizer/eyewear.json +6 -0
- package/bridge-recipes/unreal/character-customizer/footwear.addon.json +1 -0
- package/bridge-recipes/unreal/character-customizer/footwear.json +6 -0
- package/bridge-recipes/unreal/character-customizer/hair.addon.json +1 -0
- package/bridge-recipes/unreal/character-customizer/hair.json +6 -0
- package/bridge-recipes/unreal/character-customizer/test/recipes.test.js +74 -0
- package/bridge-recipes/unreal/character-customizer/top.addon.json +1 -0
- package/bridge-recipes/unreal/character-customizer/top.json +6 -0
- package/bridge-recipes/unreal/helix-character-creator-female/README.md +57 -0
- package/bridge-recipes/unreal/helix-character-creator-female/all.json +18 -0
- package/bridge-recipes/unreal/helix-character-creator-female/back.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/back.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/base-female-face.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/base-female.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/bottom.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/bottom.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/eyewear.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/eyewear.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-basic-t-shirt.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-basic-t-shirt.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-batch-hair.json +23 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-batch-nebula-urbanghost.json +7 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-batch-singles.json +19 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-batch5.json +19 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-batch6.json +19 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-batch7.json +11 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-cap-2.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-cap-2.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-cap.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-cap.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-cargo-pants.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-cargo-pants.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-carnival-mask-3.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-carnival-mask-3.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-chain.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-chain.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-clare-pants.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-clare-pants.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-clare-shoes.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-clare-shoes.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-clare-top.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-clare-top.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-compression-bodysuit-2.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-compression-bodysuit-2.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-compression-bodysuit.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-compression-bodysuit.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-eye-hole-mask-2.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-eye-hole-mask-2.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-eye-patch.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-eye-patch.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-firefight-outfit.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-firefight-outfit.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-fruity-pants.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-fruity-pants.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-fruity-sneakers.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-fruity-sneakers.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-fruity-top.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-fruity-top.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-gamer-mask.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-gamer-mask.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-guy-fawkes-mask.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-guy-fawkes-mask.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hair-a1.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hair-a1.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hair-a10.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hair-a10.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hair-a11.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hair-a11.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hair-a12.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hair-a12.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hair-a13.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hair-a13.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hair-a14.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hair-a14.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hair-a15.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hair-a15.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hair-a16.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hair-a16.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hair-a17.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hair-a17.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hair-a18.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hair-a18.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hair-a19.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hair-a19.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hair-a2.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hair-a2.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hair-a20.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hair-a20.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hair-a21.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hair-a21.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hair-a3.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hair-a3.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hair-a4.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hair-a4.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hair-a5.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hair-a5.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hair-a6.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hair-a6.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hair-a7.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hair-a7.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hair-a8.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hair-a8.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hair-a9.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hair-a9.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-high-waist-tailored-trousers.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-high-waist-tailored-trousers.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hogwarts-pants.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hogwarts-pants.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hoody.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hoody.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-jacket-6.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-jacket-6.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-joker-mask.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-joker-mask.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-kombes-brown.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-kombes-brown.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-kombes.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-kombes.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-marshmallow-mask.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-marshmallow-mask.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-maska.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-maska.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-nebula-executive-pants.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-nebula-executive-pants.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-nebula-executive-shoes.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-nebula-executive-shoes.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-ninza-costume.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-ninza-costume.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-orange-kombes.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-orange-kombes.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-panama.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-panama.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-panda-bag-2.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-panda-bag-2.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-pantslow.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-pantslow.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-paper-bag-mask.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-paper-bag-mask.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-pig-mask.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-pig-mask.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-police-uniform.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-police-uniform.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-prison-outfit.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-prison-outfit.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-short-b4low.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-short-b4low.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-short-swimming.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-short-swimming.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-shortlow.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-shortlow.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-shorts-b3.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-shorts-b3.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-sterile-gloves.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-sterile-gloves.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-surgeon-mask.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-surgeon-mask.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-swat.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-swat.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-top.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-top.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-topx1.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-topx1.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-urban-ghost-hoodie.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-urban-ghost-hoodie.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-urban-ghost-mask.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-urban-ghost-mask.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-urban-ghost-pants.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-urban-ghost-pants.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-warehouse-uniform.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-warehouse-uniform.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-wide-top.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-wide-top.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-wolf-set.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-wolf-set.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-woman-mask-3.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-woman-mask-3.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-women-out-2.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-women-out-2.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/footwear.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/footwear.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/gloves.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/gloves.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/hair.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/hair.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/headwear.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/headwear.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/mask.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/mask.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/neck.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/neck.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/outfit.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/outfit.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/top.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/top.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/README.md +15 -0
- package/bridge-recipes/unreal/helix-character-creator-male/all.json +18 -0
- package/bridge-recipes/unreal/helix-character-creator-male/back.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/back.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/base-male-face.json +6 -0
- package/bridge-recipes/unreal/helix-character-creator-male/base-male.json +6 -0
- package/bridge-recipes/unreal/helix-character-creator-male/bottom.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/bottom.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/eyewear.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/eyewear.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/footwear.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/footwear.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/gloves.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/gloves.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/hair.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/hair.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/headwear.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/headwear.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-batch-hair.json +23 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-batch-nebula-urbanghost.json +7 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-batch-uniforms.json +10 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-batch6-slot2.json +7 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-batch7-slot3.json +6 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-batch8-combined.json +11 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-boots-25.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-cargo-pants.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-cargo-pants.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-carnival-mask-2.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-carnival-mask-2.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-carnival-mask-3.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-carnival-mask-3.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-clare-pants.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-clare-pants.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-clare-shoes.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-clare-shoes.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-clare-top.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-clare-top.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-diamond-hands.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-diamond-hands.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-doctor-outfit.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-doctor-outfit.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-eye-hole-mask-2.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-eye-hole-mask-2.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-eye-hole-mask.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-eye-hole-mask.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-eye-patch.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-eye-patch.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-fb-cargo-pants-2.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-fb-cargo-pants-2.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-fb-cargo-pants.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-fb-puffy.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-fb-puffy.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-firefight-outfit.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-firefight-outfit.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-gamer-mask-2.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-gamer-mask-2.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-hair-a1.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-hair-a1.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-hair-a10.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-hair-a10.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-hair-a11.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-hair-a11.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-hair-a12.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-hair-a12.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-hair-a13.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-hair-a13.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-hair-a14.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-hair-a14.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-hair-a15.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-hair-a15.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-hair-a16.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-hair-a16.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-hair-a17.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-hair-a17.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-hair-a18.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-hair-a18.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-hair-a19.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-hair-a19.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-hair-a2.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-hair-a2.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-hair-a20.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-hair-a20.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-hair-a21.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-hair-a21.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-hair-a3.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-hair-a3.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-hair-a4.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-hair-a4.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-hair-a5.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-hair-a5.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-hair-a6.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-hair-a6.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-hair-a7.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-hair-a7.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-hair-a8.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-hair-a8.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-hair-a9.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-hair-a9.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-kombes-brown-v2.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-kombes-brown-v2.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-kombes-brown.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-man-mask-3.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-marshmallow-mask.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-marshmallow-mask.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-mikejack-jacket.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-nebula-executive-coat.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-nebula-executive-coat.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-nebula-executive-pants.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-nebula-executive-pants.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-nebula-executive-shoes.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-nebula-executive-shoes.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-neo-arcane-heir-gloves.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-neo-arcane-heir-gloves.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-neo-arcane-heir-mantle.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-neo-arcane-heir-mantle.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-neo-arcane-heir-tunic.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-neo-arcane-heir-tunic.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-orangekombes.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-orangekombes.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-out2-boots.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-out2-boots.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-panda-bag-2.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-panda-bag-2.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-pants-2.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-pants-2.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-paper-bag-mask.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-paper-bag-mask.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-pig-mask.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-pig-mask.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-police-uniform.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-police-uniform.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-prison-outfit.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-prison-outfit.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-puffer-jacket.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-puffer-jacket.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-pullover-hoodie.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-pullover-hoodie.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-robber-mask.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-robber-mask.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-short-swimming.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-short-swimming.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-sinth-ascetic-jacket.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-sinth-ascetic-jacket.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-sip-cap.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-sip-cap.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-socks.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-socks.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-surgeon-mask.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-surgeon-mask.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-tech-hoodie.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-tech-hoodie.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-urban-ghost-hoodie.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-urban-ghost-hoodie.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-urban-ghost-mask.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-urban-ghost-mask.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-urban-ghost-pants.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-urban-ghost-pants.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-warehouse-uniform.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-warehouse-uniform.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/mask.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/mask.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/neck.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/neck.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/outfit.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/outfit.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/palette-pilot.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/test/recipes.test.js +122 -0
- package/bridge-recipes/unreal/helix-character-creator-male/top.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/top.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/variants/bottom-nopalette.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/variants/headwear-nopalette.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/variants/neck-nopalette.addon.json +1 -0
- package/dist/ability.d.ts +2 -2
- package/dist/ability.js +6 -5
- package/dist/ability.js.map +1 -1
- package/dist/achievement.d.ts +123 -0
- package/dist/achievement.js +400 -0
- package/dist/achievement.js.map +1 -0
- package/dist/api.d.ts +19 -1
- package/dist/api.js +80 -6
- package/dist/api.js.map +1 -1
- package/dist/assets.d.ts +595 -0
- package/dist/assets.js +1121 -0
- package/dist/assets.js.map +1 -0
- package/dist/audioCommand.d.ts +65 -0
- package/dist/audioCommand.js +181 -0
- package/dist/audioCommand.js.map +1 -0
- package/dist/bakeBodyRegionsCli.d.ts +19 -0
- package/dist/bakeBodyRegionsCli.js +25 -0
- package/dist/bakeBodyRegionsCli.js.map +1 -0
- package/dist/bakeLighting.d.ts +173 -0
- package/dist/bakeLighting.js +452 -0
- package/dist/bakeLighting.js.map +1 -0
- package/dist/bridge/bridge.testutil.d.ts +105 -0
- package/dist/bridge/bridge.testutil.js +259 -0
- package/dist/bridge/bridge.testutil.js.map +1 -0
- package/dist/bridge/characterAddon.d.ts +47 -0
- package/dist/bridge/characterAddon.js +146 -0
- package/dist/bridge/characterAddon.js.map +1 -0
- package/dist/bridge/detect.d.ts +4 -0
- package/dist/bridge/detect.js +154 -0
- package/dist/bridge/detect.js.map +1 -0
- package/dist/bridge/execute.d.ts +3 -0
- package/dist/bridge/execute.js +206 -0
- package/dist/bridge/execute.js.map +1 -0
- package/dist/bridge/glb.d.ts +60 -0
- package/dist/bridge/glb.js +81 -0
- package/dist/bridge/glb.js.map +1 -0
- package/dist/bridge/hash.d.ts +6 -0
- package/dist/bridge/hash.js +40 -0
- package/dist/bridge/hash.js.map +1 -0
- package/dist/bridge/index.d.ts +11 -0
- package/dist/bridge/index.js +28 -0
- package/dist/bridge/index.js.map +1 -0
- package/dist/bridge/internal/artifacts.d.ts +5 -0
- package/dist/bridge/internal/artifacts.js +31 -0
- package/dist/bridge/internal/artifacts.js.map +1 -0
- package/dist/bridge/internal/builtInExecution.d.ts +4 -0
- package/dist/bridge/internal/builtInExecution.js +514 -0
- package/dist/bridge/internal/builtInExecution.js.map +1 -0
- package/dist/bridge/internal/externalExecution.d.ts +12 -0
- package/dist/bridge/internal/externalExecution.js +261 -0
- package/dist/bridge/internal/externalExecution.js.map +1 -0
- package/dist/bridge/internal/outputReservation.d.ts +13 -0
- package/dist/bridge/internal/outputReservation.js +151 -0
- package/dist/bridge/internal/outputReservation.js.map +1 -0
- package/dist/bridge/internal/snapshots.d.ts +32 -0
- package/dist/bridge/internal/snapshots.js +562 -0
- package/dist/bridge/internal/snapshots.js.map +1 -0
- package/dist/bridge/management.d.ts +40 -0
- package/dist/bridge/management.js +333 -0
- package/dist/bridge/management.js.map +1 -0
- package/dist/bridge/manifest.d.ts +8 -0
- package/dist/bridge/manifest.js +192 -0
- package/dist/bridge/manifest.js.map +1 -0
- package/dist/bridge/metahuman.d.ts +26 -0
- package/dist/bridge/metahuman.js +332 -0
- package/dist/bridge/metahuman.js.map +1 -0
- package/dist/bridge/planner.d.ts +9 -0
- package/dist/bridge/planner.js +246 -0
- package/dist/bridge/planner.js.map +1 -0
- package/dist/bridge/plugins.d.ts +17 -0
- package/dist/bridge/plugins.js +307 -0
- package/dist/bridge/plugins.js.map +1 -0
- package/dist/bridge/resolution.d.ts +8 -0
- package/dist/bridge/resolution.js +55 -0
- package/dist/bridge/resolution.js.map +1 -0
- package/dist/bridge/types.d.ts +247 -0
- package/dist/bridge/types.js +60 -0
- package/dist/bridge/types.js.map +1 -0
- package/dist/bridge/validate.d.ts +12 -0
- package/dist/bridge/validate.js +370 -0
- package/dist/bridge/validate.js.map +1 -0
- package/dist/bridge/zipSource.d.ts +27 -0
- package/dist/bridge/zipSource.js +90 -0
- package/dist/bridge/zipSource.js.map +1 -0
- package/dist/browser/hostSlots.d.ts +57 -0
- package/dist/browser/hostSlots.js +371 -0
- package/dist/browser/hostSlots.js.map +1 -0
- package/dist/browser/launch.d.ts +25 -0
- package/dist/browser/launch.js +74 -0
- package/dist/browser/launch.js.map +1 -0
- package/dist/browser/nonSystemChrome.d.ts +15 -0
- package/dist/browser/nonSystemChrome.js +91 -0
- package/dist/browser/nonSystemChrome.js.map +1 -0
- package/dist/builds/index.d.ts +54 -0
- package/dist/builds/index.js +215 -0
- package/dist/builds/index.js.map +1 -0
- package/dist/bundle.d.ts +35 -2
- package/dist/bundle.js +437 -20
- package/dist/bundle.js.map +1 -1
- package/dist/canary/cli.d.ts +17 -0
- package/dist/canary/cli.js +95 -0
- package/dist/canary/cli.js.map +1 -0
- package/dist/canary/index.d.ts +4 -0
- package/dist/canary/index.js +21 -0
- package/dist/canary/index.js.map +1 -0
- package/dist/canary/inventory.d.ts +46 -0
- package/dist/canary/inventory.js +499 -0
- package/dist/canary/inventory.js.map +1 -0
- package/dist/canary/pacifica.d.ts +51 -0
- package/dist/canary/pacifica.js +247 -0
- package/dist/canary/pacifica.js.map +1 -0
- package/dist/canary/plan.d.ts +115 -0
- package/dist/canary/plan.js +479 -0
- package/dist/canary/plan.js.map +1 -0
- package/dist/character/addonPushOut.d.ts +66 -0
- package/dist/character/addonPushOut.js +211 -0
- package/dist/character/addonPushOut.js.map +1 -0
- package/dist/character/avatarPreflight.d.ts +92 -0
- package/dist/character/avatarPreflight.js +261 -0
- package/dist/character/avatarPreflight.js.map +1 -0
- package/dist/character/bakeBodyRegions.d.ts +80 -0
- package/dist/character/bakeBodyRegions.js +190 -0
- package/dist/character/bakeBodyRegions.js.map +1 -0
- package/dist/character/baseColorGuard.d.ts +62 -0
- package/dist/character/baseColorGuard.js +141 -0
- package/dist/character/baseColorGuard.js.map +1 -0
- package/dist/character/bodyGeometryGuard.d.ts +243 -0
- package/dist/character/bodyGeometryGuard.js +417 -0
- package/dist/character/bodyGeometryGuard.js.map +1 -0
- package/dist/character/bodyRegionHide.d.ts +57 -0
- package/dist/character/bodyRegionHide.js +97 -0
- package/dist/character/bodyRegionHide.js.map +1 -0
- package/dist/character/composeBaseMale.d.ts +25 -0
- package/dist/character/composeBaseMale.js +712 -0
- package/dist/character/composeBaseMale.js.map +1 -0
- package/dist/character/esm.js +3 -1
- package/dist/character/esm.js.map +1 -1
- package/dist/character/faceManifest.d.ts +53 -0
- package/dist/character/faceManifest.js +256 -0
- package/dist/character/faceManifest.js.map +1 -0
- package/dist/character/fbx.d.ts +61 -0
- package/dist/character/fbx.js +360 -0
- package/dist/character/fbx.js.map +1 -0
- package/dist/character/fitGarmentFile.d.ts +39 -0
- package/dist/character/fitGarmentFile.js +53 -0
- package/dist/character/fitGarmentFile.js.map +1 -0
- package/dist/character/helixPalette.d.ts +68 -0
- package/dist/character/helixPalette.js +183 -0
- package/dist/character/helixPalette.js.map +1 -0
- package/dist/character/hideCoverage.d.ts +135 -0
- package/dist/character/hideCoverage.js +450 -0
- package/dist/character/hideCoverage.js.map +1 -0
- package/dist/character/imageLimits.d.ts +3 -0
- package/dist/character/imageLimits.js +7 -0
- package/dist/character/imageLimits.js.map +1 -0
- package/dist/character/importCharacter.d.ts +188 -10
- package/dist/character/importCharacter.js +853 -76
- package/dist/character/importCharacter.js.map +1 -1
- package/dist/character/importTrust.d.ts +11 -0
- package/dist/character/importTrust.js +56 -0
- package/dist/character/importTrust.js.map +1 -0
- package/dist/character/ktx2Decode.d.ts +11 -0
- package/dist/character/ktx2Decode.js +87 -0
- package/dist/character/ktx2Decode.js.map +1 -0
- package/dist/character/mat4.d.ts +7 -0
- package/dist/character/mat4.js +25 -2
- package/dist/character/mat4.js.map +1 -1
- package/dist/character/meshyToHelixMap.d.ts +10 -0
- package/dist/character/meshyToHelixMap.js +92 -3
- package/dist/character/meshyToHelixMap.js.map +1 -1
- package/dist/character/metahumanToHelixMap.d.ts +2 -0
- package/dist/character/metahumanToHelixMap.js +34 -0
- package/dist/character/metahumanToHelixMap.js.map +1 -0
- package/dist/character/normalMapGuard.d.ts +59 -0
- package/dist/character/normalMapGuard.js +139 -0
- package/dist/character/normalMapGuard.js.map +1 -0
- package/dist/character/quat.js +2 -2
- package/dist/character/quat.js.map +1 -1
- package/dist/character/reframeSkeletonFile.d.ts +19 -0
- package/dist/character/reframeSkeletonFile.js +45 -0
- package/dist/character/reframeSkeletonFile.js.map +1 -0
- package/dist/character/repairLodSkeletonsFile.d.ts +25 -0
- package/dist/character/repairLodSkeletonsFile.js +49 -0
- package/dist/character/repairLodSkeletonsFile.js.map +1 -0
- package/dist/character/restFrameGuard.d.ts +52 -0
- package/dist/character/restFrameGuard.js +90 -0
- package/dist/character/restFrameGuard.js.map +1 -0
- package/dist/character/slotBudgets.d.ts +37 -0
- package/dist/character/slotBudgets.generated.d.ts +15 -0
- package/dist/character/slotBudgets.generated.js +110 -0
- package/dist/character/slotBudgets.generated.js.map +1 -0
- package/dist/character/slotBudgets.js +45 -0
- package/dist/character/slotBudgets.js.map +1 -0
- package/dist/character/stages/atlasMaterials.d.ts +53 -0
- package/dist/character/stages/atlasMaterials.js +246 -0
- package/dist/character/stages/atlasMaterials.js.map +1 -0
- package/dist/character/stages/bakeTexture.d.ts +28 -7
- package/dist/character/stages/bakeTexture.js +586 -108
- package/dist/character/stages/bakeTexture.js.map +1 -1
- package/dist/character/stages/conform.d.ts +54 -9
- package/dist/character/stages/conform.js +686 -113
- package/dist/character/stages/conform.js.map +1 -1
- package/dist/character/stages/earClearance.d.ts +105 -0
- package/dist/character/stages/earClearance.js +480 -0
- package/dist/character/stages/earClearance.js.map +1 -0
- package/dist/character/stages/faceRegion.d.ts +55 -0
- package/dist/character/stages/faceRegion.js +183 -0
- package/dist/character/stages/faceRegion.js.map +1 -0
- package/dist/character/stages/firstPersonHide.d.ts +42 -0
- package/dist/character/stages/firstPersonHide.js +140 -0
- package/dist/character/stages/firstPersonHide.js.map +1 -0
- package/dist/character/stages/joinPerMesh.d.ts +18 -0
- package/dist/character/stages/joinPerMesh.js +46 -0
- package/dist/character/stages/joinPerMesh.js.map +1 -0
- package/dist/character/stages/ktx2.d.ts +6 -4
- package/dist/character/stages/ktx2.js +81 -29
- package/dist/character/stages/ktx2.js.map +1 -1
- package/dist/character/stages/limbBridge.d.ts +114 -0
- package/dist/character/stages/limbBridge.js +1286 -0
- package/dist/character/stages/limbBridge.js.map +1 -0
- package/dist/character/stages/mergeLods.d.ts +19 -0
- package/dist/character/stages/mergeLods.js +58 -2
- package/dist/character/stages/mergeLods.js.map +1 -1
- package/dist/character/stages/poseAwareFit.d.ts +192 -0
- package/dist/character/stages/poseAwareFit.js +417 -0
- package/dist/character/stages/poseAwareFit.js.map +1 -0
- package/dist/character/stages/poseFit/math.d.ts +141 -0
- package/dist/character/stages/poseFit/math.js +514 -0
- package/dist/character/stages/poseFit/math.js.map +1 -0
- package/dist/character/stages/poseFit/measure.d.ts +88 -0
- package/dist/character/stages/poseFit/measure.js +148 -0
- package/dist/character/stages/poseFit/measure.js.map +1 -0
- package/dist/character/stages/poseFit/model.d.ts +46 -0
- package/dist/character/stages/poseFit/model.js +147 -0
- package/dist/character/stages/poseFit/model.js.map +1 -0
- package/dist/character/stages/poseFit/offsetField.d.ts +76 -0
- package/dist/character/stages/poseFit/offsetField.js +249 -0
- package/dist/character/stages/poseFit/offsetField.js.map +1 -0
- package/dist/character/stages/poseFit/posing.d.ts +52 -0
- package/dist/character/stages/poseFit/posing.js +330 -0
- package/dist/character/stages/poseFit/posing.js.map +1 -0
- package/dist/character/stages/poseFit/testRig.d.ts +31 -0
- package/dist/character/stages/poseFit/testRig.js +85 -0
- package/dist/character/stages/poseFit/testRig.js.map +1 -0
- package/dist/character/stages/reframeSkeletonToHost.d.ts +35 -0
- package/dist/character/stages/reframeSkeletonToHost.js +111 -0
- package/dist/character/stages/reframeSkeletonToHost.js.map +1 -0
- package/dist/character/stages/report.js +0 -2
- package/dist/character/stages/report.js.map +1 -1
- package/dist/character/stages/resizeTextures.js +4 -4
- package/dist/character/stages/resizeTextures.js.map +1 -1
- package/dist/character/stages/retarget.d.ts +8 -2
- package/dist/character/stages/retarget.js +52 -4
- package/dist/character/stages/retarget.js.map +1 -1
- package/dist/character/stages/retargetClip.d.ts +6 -2
- package/dist/character/stages/retargetClip.js +53 -16
- package/dist/character/stages/retargetClip.js.map +1 -1
- package/dist/character/stages/sanitizeMaterials.d.ts +39 -0
- package/dist/character/stages/sanitizeMaterials.js +136 -0
- package/dist/character/stages/sanitizeMaterials.js.map +1 -0
- package/dist/character/stages/simplifyMesh.js +6 -3
- package/dist/character/stages/simplifyMesh.js.map +1 -1
- package/dist/character/stages/splitFacePrimitive.js +0 -2
- package/dist/character/stages/splitFacePrimitive.js.map +1 -1
- package/dist/character/stages/splitSharedLodSkeletons.d.ts +31 -0
- package/dist/character/stages/splitSharedLodSkeletons.js +104 -0
- package/dist/character/stages/splitSharedLodSkeletons.js.map +1 -0
- package/dist/character/stages/unifyMaterial.d.ts +66 -0
- package/dist/character/stages/unifyMaterial.js +136 -0
- package/dist/character/stages/unifyMaterial.js.map +1 -0
- package/dist/character/stages/vrmDynamics.d.ts +144 -0
- package/dist/character/stages/vrmDynamics.js +421 -0
- package/dist/character/stages/vrmDynamics.js.map +1 -0
- package/dist/character/stages/vrmFace.d.ts +82 -0
- package/dist/character/stages/vrmFace.js +280 -0
- package/dist/character/stages/vrmFace.js.map +1 -0
- package/dist/character/stages/weldedSimplify.d.ts +15 -1
- package/dist/character/stages/weldedSimplify.js +90 -9
- package/dist/character/stages/weldedSimplify.js.map +1 -1
- package/dist/character/testutil/meshyBridgeFixture.d.ts +33 -0
- package/dist/character/testutil/meshyBridgeFixture.js +219 -0
- package/dist/character/testutil/meshyBridgeFixture.js.map +1 -0
- package/dist/character/testutil/meshyHead.d.ts +19 -0
- package/dist/character/testutil/meshyHead.js +99 -0
- package/dist/character/testutil/meshyHead.js.map +1 -0
- package/dist/character/testutil/meshyRig.d.ts +17 -0
- package/dist/character/testutil/meshyRig.js +117 -0
- package/dist/character/testutil/meshyRig.js.map +1 -0
- package/dist/character/testutil/slotBudgetExpectations.d.ts +11 -0
- package/dist/character/testutil/slotBudgetExpectations.js +21 -0
- package/dist/character/testutil/slotBudgetExpectations.js.map +1 -0
- package/dist/character/testutil/syntheticRig.d.ts +12 -1
- package/dist/character/testutil/syntheticRig.js +88 -3
- package/dist/character/testutil/syntheticRig.js.map +1 -1
- package/dist/character/unrealMaterialSidecar.d.ts +94 -0
- package/dist/character/unrealMaterialSidecar.js +879 -0
- package/dist/character/unrealMaterialSidecar.js.map +1 -0
- package/dist/character/untrustedSource.d.ts +54 -0
- package/dist/character/untrustedSource.js +181 -0
- package/dist/character/untrustedSource.js.map +1 -0
- package/dist/character/vrmCharacter.d.ts +156 -0
- package/dist/character/vrmCharacter.js +678 -0
- package/dist/character/vrmCharacter.js.map +1 -0
- package/dist/config.d.ts +5 -0
- package/dist/config.js +72 -16
- package/dist/config.js.map +1 -1
- package/dist/continuum/adminPackagePinCommand.d.ts +14 -0
- package/dist/continuum/adminPackagePinCommand.js +46 -0
- package/dist/continuum/adminPackagePinCommand.js.map +1 -0
- package/dist/continuum/adminPackagePublishCommand.d.ts +13 -0
- package/dist/continuum/adminPackagePublishCommand.js +22 -0
- package/dist/continuum/adminPackagePublishCommand.js.map +1 -0
- package/dist/continuum/authoring.d.ts +52 -0
- package/dist/continuum/authoring.js +143 -0
- package/dist/continuum/authoring.js.map +1 -0
- package/dist/continuum/characterMigrationGenerator.d.ts +17 -0
- package/dist/continuum/characterMigrationGenerator.js +242 -0
- package/dist/continuum/characterMigrationGenerator.js.map +1 -0
- package/dist/continuum/cli.d.ts +69 -0
- package/dist/continuum/cli.js +145 -0
- package/dist/continuum/cli.js.map +1 -0
- package/dist/continuum/cliAuthority.d.ts +17 -0
- package/dist/continuum/cliAuthority.js +28 -0
- package/dist/continuum/cliAuthority.js.map +1 -0
- package/dist/continuum/client.d.ts +103 -0
- package/dist/continuum/client.js +190 -0
- package/dist/continuum/client.js.map +1 -0
- package/dist/continuum/homeScenePackage.d.ts +159 -0
- package/dist/continuum/homeScenePackage.js +267 -0
- package/dist/continuum/homeScenePackage.js.map +1 -0
- package/dist/continuum/homeScenePackageCommand.d.ts +44 -0
- package/dist/continuum/homeScenePackageCommand.js +107 -0
- package/dist/continuum/homeScenePackageCommand.js.map +1 -0
- package/dist/continuum/identity.d.ts +4 -0
- package/dist/continuum/identity.js +20 -0
- package/dist/continuum/identity.js.map +1 -0
- package/dist/continuum/index.d.ts +11 -0
- package/dist/continuum/index.js +28 -0
- package/dist/continuum/index.js.map +1 -0
- package/dist/continuum/missingNormals.d.ts +48 -0
- package/dist/continuum/missingNormals.js +99 -0
- package/dist/continuum/missingNormals.js.map +1 -0
- package/dist/continuum/objectUpload.d.ts +64 -0
- package/dist/continuum/objectUpload.js +375 -0
- package/dist/continuum/objectUpload.js.map +1 -0
- package/dist/continuum/pull.d.ts +22 -0
- package/dist/continuum/pull.js +47 -0
- package/dist/continuum/pull.js.map +1 -0
- package/dist/continuum/sourceBundle.d.ts +18 -0
- package/dist/continuum/sourceBundle.js +160 -0
- package/dist/continuum/sourceBundle.js.map +1 -0
- package/dist/continuum/state.d.ts +41 -0
- package/dist/continuum/state.js +198 -0
- package/dist/continuum/state.js.map +1 -0
- package/dist/continuum/types.d.ts +156 -0
- package/dist/continuum/types.js +6 -0
- package/dist/continuum/types.js.map +1 -0
- package/dist/continuum/workflow.d.ts +62 -0
- package/dist/continuum/workflow.js +592 -0
- package/dist/continuum/workflow.js.map +1 -0
- package/dist/cs2/areas.d.ts +41 -0
- package/dist/cs2/areas.js +82 -0
- package/dist/cs2/areas.js.map +1 -0
- package/dist/cs2/binary.d.ts +10 -0
- package/dist/cs2/binary.js +59 -0
- package/dist/cs2/binary.js.map +1 -0
- package/dist/cs2/cityLegacy.d.ts +29 -0
- package/dist/cs2/cityLegacy.js +48 -0
- package/dist/cs2/cityLegacy.js.map +1 -0
- package/dist/cs2/convert/areas.d.ts +32 -0
- package/dist/cs2/convert/areas.js +96 -0
- package/dist/cs2/convert/areas.js.map +1 -0
- package/dist/cs2/convert/glb.d.ts +48 -0
- package/dist/cs2/convert/glb.js +178 -0
- package/dist/cs2/convert/glb.js.map +1 -0
- package/dist/cs2/convert/markings.d.ts +96 -0
- package/dist/cs2/convert/markings.js +329 -0
- package/dist/cs2/convert/markings.js.map +1 -0
- package/dist/cs2/convert/nodeSeams.d.ts +20 -0
- package/dist/cs2/convert/nodeSeams.js +164 -0
- package/dist/cs2/convert/nodeSeams.js.map +1 -0
- package/dist/cs2/convert/roadBake.d.ts +112 -0
- package/dist/cs2/convert/roadBake.js +290 -0
- package/dist/cs2/convert/roadBake.js.map +1 -0
- package/dist/cs2/convert/roads.d.ts +110 -0
- package/dist/cs2/convert/roads.js +419 -0
- package/dist/cs2/convert/roads.js.map +1 -0
- package/dist/cs2/convert/terrain.d.ts +67 -0
- package/dist/cs2/convert/terrain.js +141 -0
- package/dist/cs2/convert/terrain.js.map +1 -0
- package/dist/cs2/convert/terrainConform.d.ts +58 -0
- package/dist/cs2/convert/terrainConform.js +284 -0
- package/dist/cs2/convert/terrainConform.js.map +1 -0
- package/dist/cs2/convert/treeRoadClearance.d.ts +17 -0
- package/dist/cs2/convert/treeRoadClearance.js +78 -0
- package/dist/cs2/convert/treeRoadClearance.js.map +1 -0
- package/dist/cs2/convert/trees.d.ts +33 -0
- package/dist/cs2/convert/trees.js +68 -0
- package/dist/cs2/convert/trees.js.map +1 -0
- package/dist/cs2/csm2.d.ts +58 -0
- package/dist/cs2/csm2.js +188 -0
- package/dist/cs2/csm2.js.map +1 -0
- package/dist/cs2/fixtures.d.ts +5 -0
- package/dist/cs2/fixtures.js +15 -0
- package/dist/cs2/fixtures.js.map +1 -0
- package/dist/cs2/impostors.d.ts +31 -0
- package/dist/cs2/impostors.js +42 -0
- package/dist/cs2/impostors.js.map +1 -0
- package/dist/cs2/index.d.ts +22 -0
- package/dist/cs2/index.js +191 -0
- package/dist/cs2/index.js.map +1 -0
- package/dist/cs2/inspect.d.ts +81 -0
- package/dist/cs2/inspect.js +181 -0
- package/dist/cs2/inspect.js.map +1 -0
- package/dist/cs2/lods.d.ts +22 -0
- package/dist/cs2/lods.js +136 -0
- package/dist/cs2/lods.js.map +1 -0
- package/dist/cs2/materials.d.ts +43 -0
- package/dist/cs2/materials.js +137 -0
- package/dist/cs2/materials.js.map +1 -0
- package/dist/cs2/placements.d.ts +57 -0
- package/dist/cs2/placements.js +116 -0
- package/dist/cs2/placements.js.map +1 -0
- package/dist/cs2/roadPieces.d.ts +79 -0
- package/dist/cs2/roadPieces.js +263 -0
- package/dist/cs2/roadPieces.js.map +1 -0
- package/dist/cs2/roads.d.ts +92 -0
- package/dist/cs2/roads.js +329 -0
- package/dist/cs2/roads.js.map +1 -0
- package/dist/cs2/terrain.d.ts +37 -0
- package/dist/cs2/terrain.js +91 -0
- package/dist/cs2/terrain.js.map +1 -0
- package/dist/cs2/types.d.ts +444 -0
- package/dist/cs2/types.js +22 -0
- package/dist/cs2/types.js.map +1 -0
- package/dist/cs2/water.d.ts +26 -0
- package/dist/cs2/water.js +58 -0
- package/dist/cs2/water.js.map +1 -0
- package/dist/currency.d.ts +94 -0
- package/dist/currency.js +425 -0
- package/dist/currency.js.map +1 -0
- package/dist/dev/devServer.d.ts +53 -0
- package/dist/dev/devServer.js +228 -0
- package/dist/dev/devServer.js.map +1 -0
- package/dist/dev/shellPage.d.ts +3 -0
- package/dist/dev/shellPage.js +297 -0
- package/dist/dev/shellPage.js.map +1 -0
- package/dist/dev/state.d.ts +84 -0
- package/dist/dev/state.js +265 -0
- package/dist/dev/state.js.map +1 -0
- package/dist/device.d.ts +104 -0
- package/dist/device.js +2744 -0
- package/dist/device.js.map +1 -0
- package/dist/deviceActionValidation.d.ts +21 -0
- package/dist/deviceActionValidation.js +460 -0
- package/dist/deviceActionValidation.js.map +1 -0
- package/dist/distribution.d.ts +69 -0
- package/dist/distribution.js +138 -0
- package/dist/distribution.js.map +1 -0
- package/dist/enginePins.d.ts +45 -0
- package/dist/enginePins.js +134 -0
- package/dist/enginePins.js.map +1 -0
- package/dist/gesture/axisReference.d.ts +22 -0
- package/dist/gesture/axisReference.js +32 -0
- package/dist/gesture/axisReference.js.map +1 -0
- package/dist/gesture/capture.d.ts +84 -0
- package/dist/gesture/capture.js +303 -0
- package/dist/gesture/capture.js.map +1 -0
- package/dist/gesture/harnessPage.d.ts +23 -0
- package/dist/gesture/harnessPage.js +153 -0
- package/dist/gesture/harnessPage.js.map +1 -0
- package/dist/gesture/inspect.d.ts +189 -0
- package/dist/gesture/inspect.js +678 -0
- package/dist/gesture/inspect.js.map +1 -0
- package/dist/gesture/rig.d.ts +12 -0
- package/dist/gesture/rig.js +111 -0
- package/dist/gesture/rig.js.map +1 -0
- package/dist/gesture/worldRuntime.d.ts +65 -0
- package/dist/gesture/worldRuntime.js +110 -0
- package/dist/gesture/worldRuntime.js.map +1 -0
- package/dist/glb/draw-calls.d.ts +60 -0
- package/dist/glb/draw-calls.js +160 -0
- package/dist/glb/draw-calls.js.map +1 -0
- package/dist/glb/glb-summary.d.ts +68 -0
- package/dist/glb/glb-summary.js +450 -0
- package/dist/glb/glb-summary.js.map +1 -0
- package/dist/glb/index.d.ts +12 -0
- package/dist/glb/index.js +24 -0
- package/dist/glb/index.js.map +1 -0
- package/dist/glb/smooth-normals.d.ts +98 -0
- package/dist/glb/smooth-normals.js +395 -0
- package/dist/glb/smooth-normals.js.map +1 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +6786 -128
- package/dist/index.js.map +1 -1
- package/dist/init.d.ts +35 -1
- package/dist/init.js +1115 -47
- package/dist/init.js.map +1 -1
- package/dist/install.d.ts +16 -5
- package/dist/install.js +123 -23
- package/dist/install.js.map +1 -1
- package/dist/interactable.d.ts +154 -0
- package/dist/interactable.js +1219 -0
- package/dist/interactable.js.map +1 -0
- package/dist/item.d.ts +217 -0
- package/dist/item.js +892 -0
- package/dist/item.js.map +1 -0
- package/dist/itemDef/distribute.d.ts +17 -0
- package/dist/itemDef/distribute.js +29 -0
- package/dist/itemDef/distribute.js.map +1 -0
- package/dist/itemDef/emoteRules.d.ts +85 -0
- package/dist/itemDef/emoteRules.js +368 -0
- package/dist/itemDef/emoteRules.js.map +1 -0
- package/dist/itemDef/gunConfigRules.d.ts +24 -0
- package/dist/itemDef/gunConfigRules.js +300 -0
- package/dist/itemDef/gunConfigRules.js.map +1 -0
- package/dist/itemDef/inspect.d.ts +19 -0
- package/dist/itemDef/inspect.js +144 -0
- package/dist/itemDef/inspect.js.map +1 -0
- package/dist/itemDef/scaffold.d.ts +41 -0
- package/dist/itemDef/scaffold.js +303 -0
- package/dist/itemDef/scaffold.js.map +1 -0
- package/dist/itemDef/tables.d.ts +81 -0
- package/dist/itemDef/tables.js +226 -0
- package/dist/itemDef/tables.js.map +1 -0
- package/dist/itemDef/validate.d.ts +30 -0
- package/dist/itemDef/validate.js +175 -0
- package/dist/itemDef/validate.js.map +1 -0
- package/dist/itemPublishVersion.d.ts +46 -0
- package/dist/itemPublishVersion.js +242 -0
- package/dist/itemPublishVersion.js.map +1 -0
- package/dist/itemSearch.d.ts +128 -0
- package/dist/itemSearch.js +140 -0
- package/dist/itemSearch.js.map +1 -0
- package/dist/itemSetVersion.d.ts +42 -0
- package/dist/itemSetVersion.js +94 -0
- package/dist/itemSetVersion.js.map +1 -0
- package/dist/itemThumbnail.d.ts +40 -0
- package/dist/itemThumbnail.js +116 -0
- package/dist/itemThumbnail.js.map +1 -0
- package/dist/lib.d.ts +571 -7
- package/dist/lib.js +1178 -15
- package/dist/lib.js.map +1 -1
- package/dist/looks.d.ts +103 -0
- package/dist/looks.js +102 -0
- package/dist/looks.js.map +1 -0
- package/dist/materials/availability.d.ts +8 -0
- package/dist/materials/availability.js +22 -0
- package/dist/materials/availability.js.map +1 -0
- package/dist/materials/identity.d.ts +30 -0
- package/dist/materials/identity.js +68 -0
- package/dist/materials/identity.js.map +1 -0
- package/dist/materials/pins.d.ts +23 -0
- package/dist/materials/pins.js +93 -0
- package/dist/materials/pins.js.map +1 -0
- package/dist/mesh/surfaceBvh.d.ts +13 -0
- package/dist/mesh/surfaceBvh.js +197 -0
- package/dist/mesh/surfaceBvh.js.map +1 -0
- package/dist/module-validation.d.ts +2 -0
- package/dist/module-validation.js +24 -0
- package/dist/module-validation.js.map +1 -0
- package/dist/money.d.ts +183 -0
- package/dist/money.js +299 -0
- package/dist/money.js.map +1 -0
- package/dist/npc/capture.d.ts +41 -0
- package/dist/npc/capture.js +99 -0
- package/dist/npc/capture.js.map +1 -0
- package/dist/npc/format.d.ts +2 -0
- package/dist/npc/format.js +102 -0
- package/dist/npc/format.js.map +1 -0
- package/dist/npc/inspect.d.ts +23 -0
- package/dist/npc/inspect.js +54 -0
- package/dist/npc/inspect.js.map +1 -0
- package/dist/npc/metrics.d.ts +132 -0
- package/dist/npc/metrics.js +214 -0
- package/dist/npc/metrics.js.map +1 -0
- package/dist/npc/session.d.ts +35 -0
- package/dist/npc/session.js +172 -0
- package/dist/npc/session.js.map +1 -0
- package/dist/pack/locomotionReference.d.ts +40 -0
- package/dist/pack/locomotionReference.js +132 -0
- package/dist/pack/locomotionReference.js.map +1 -0
- package/dist/pack/scaffold.d.ts +15 -0
- package/dist/pack/scaffold.js +144 -0
- package/dist/pack/scaffold.js.map +1 -0
- package/dist/pack/validate.d.ts +67 -0
- package/dist/pack/validate.js +317 -0
- package/dist/pack/validate.js.map +1 -0
- package/dist/package.d.ts +14 -1
- package/dist/package.js +106 -7
- package/dist/package.js.map +1 -1
- package/dist/paletteShowcase.d.ts +183 -0
- package/dist/paletteShowcase.js +454 -0
- package/dist/paletteShowcase.js.map +1 -0
- package/dist/paletteShowcaseProfiles.d.ts +112 -0
- package/dist/paletteShowcaseProfiles.js +121 -0
- package/dist/paletteShowcaseProfiles.js.map +1 -0
- package/dist/paths.d.ts +4 -0
- package/dist/paths.js +11 -0
- package/dist/paths.js.map +1 -0
- package/dist/placementRequest.d.ts +37 -0
- package/dist/placementRequest.js +220 -0
- package/dist/placementRequest.js.map +1 -0
- package/dist/placements/assets.d.ts +7 -0
- package/dist/placements/assets.js +114 -0
- package/dist/placements/assets.js.map +1 -0
- package/dist/placements/attachFoliageLods.d.ts +4 -0
- package/dist/placements/attachFoliageLods.js +70 -0
- package/dist/placements/attachFoliageLods.js.map +1 -0
- package/dist/placements/attachImpostors.d.ts +3 -0
- package/dist/placements/attachImpostors.js +51 -0
- package/dist/placements/attachImpostors.js.map +1 -0
- package/dist/placements/authored.d.ts +11 -0
- package/dist/placements/authored.js +65 -0
- package/dist/placements/authored.js.map +1 -0
- package/dist/placements/bake.d.ts +2 -0
- package/dist/placements/bake.js +235 -0
- package/dist/placements/bake.js.map +1 -0
- package/dist/placements/captureHost.d.ts +4 -0
- package/dist/placements/captureHost.js +125 -0
- package/dist/placements/captureHost.js.map +1 -0
- package/dist/placements/foliageCapture.d.ts +2 -0
- package/dist/placements/foliageCapture.js +98 -0
- package/dist/placements/foliageCapture.js.map +1 -0
- package/dist/placements/foliageCards.d.ts +17 -0
- package/dist/placements/foliageCards.js +120 -0
- package/dist/placements/foliageCards.js.map +1 -0
- package/dist/placements/foliageLods.d.ts +8 -0
- package/dist/placements/foliageLods.js +240 -0
- package/dist/placements/foliageLods.js.map +1 -0
- package/dist/placements/foliageTexture.d.ts +4 -0
- package/dist/placements/foliageTexture.js +91 -0
- package/dist/placements/foliageTexture.js.map +1 -0
- package/dist/placements/impostorCapture.d.ts +2 -0
- package/dist/placements/impostorCapture.js +111 -0
- package/dist/placements/impostorCapture.js.map +1 -0
- package/dist/placements/impostors.d.ts +18 -0
- package/dist/placements/impostors.js +279 -0
- package/dist/placements/impostors.js.map +1 -0
- package/dist/placements/source.d.ts +53 -0
- package/dist/placements/source.js +111 -0
- package/dist/placements/source.js.map +1 -0
- package/dist/product.d.ts +84 -0
- package/dist/product.js +285 -0
- package/dist/product.js.map +1 -0
- package/dist/publications.d.ts +116 -0
- package/dist/publications.js +180 -0
- package/dist/publications.js.map +1 -0
- package/dist/publishDuplicateGuard.d.ts +92 -0
- package/dist/publishDuplicateGuard.js +128 -0
- package/dist/publishDuplicateGuard.js.map +1 -0
- package/dist/realizability.d.ts +36 -0
- package/dist/realizability.js +269 -0
- package/dist/realizability.js.map +1 -0
- package/dist/resolve.d.ts +7 -1
- package/dist/resolve.js +77 -11
- package/dist/resolve.js.map +1 -1
- package/dist/sceneElements/compiler.d.ts +21 -0
- package/dist/sceneElements/compiler.js +976 -0
- package/dist/sceneElements/compiler.js.map +1 -0
- package/dist/sceneElements/continuum.d.ts +54 -0
- package/dist/sceneElements/continuum.js +451 -0
- package/dist/sceneElements/continuum.js.map +1 -0
- package/dist/sceneElements/devices.d.ts +12 -0
- package/dist/sceneElements/devices.js +212 -0
- package/dist/sceneElements/devices.js.map +1 -0
- package/dist/sceneElements/meshCells.d.ts +49 -0
- package/dist/sceneElements/meshCells.js +174 -0
- package/dist/sceneElements/meshCells.js.map +1 -0
- package/dist/sceneElements/types.d.ts +261 -0
- package/dist/sceneElements/types.js +3 -0
- package/dist/sceneElements/types.js.map +1 -0
- package/dist/sceneHlod/approximate.d.ts +23 -0
- package/dist/sceneHlod/approximate.js +171 -0
- package/dist/sceneHlod/approximate.js.map +1 -0
- package/dist/sceneHlod/artifact.d.ts +3 -0
- package/dist/sceneHlod/artifact.js +29 -0
- package/dist/sceneHlod/artifact.js.map +1 -0
- package/dist/sceneHlod/bakeSurface.d.ts +2 -0
- package/dist/sceneHlod/bakeSurface.js +59 -0
- package/dist/sceneHlod/bakeSurface.js.map +1 -0
- package/dist/sceneHlod/basisEncoder.d.ts +3 -0
- package/dist/sceneHlod/basisEncoder.js +68 -0
- package/dist/sceneHlod/basisEncoder.js.map +1 -0
- package/dist/sceneHlod/cellArtifact.d.ts +17 -0
- package/dist/sceneHlod/cellArtifact.js +78 -0
- package/dist/sceneHlod/cellArtifact.js.map +1 -0
- package/dist/sceneHlod/commands.d.ts +2 -0
- package/dist/sceneHlod/commands.js +114 -0
- package/dist/sceneHlod/commands.js.map +1 -0
- package/dist/sceneHlod/complete.d.ts +78 -0
- package/dist/sceneHlod/complete.js +261 -0
- package/dist/sceneHlod/complete.js.map +1 -0
- package/dist/sceneHlod/completePrototype.d.ts +39 -0
- package/dist/sceneHlod/completePrototype.js +121 -0
- package/dist/sceneHlod/completePrototype.js.map +1 -0
- package/dist/sceneHlod/geometry.d.ts +6 -0
- package/dist/sceneHlod/geometry.js +101 -0
- package/dist/sceneHlod/geometry.js.map +1 -0
- package/dist/sceneHlod/imageSampling.d.ts +11 -0
- package/dist/sceneHlod/imageSampling.js +100 -0
- package/dist/sceneHlod/imageSampling.js.map +1 -0
- package/dist/sceneHlod/refinement.d.ts +46 -0
- package/dist/sceneHlod/refinement.js +204 -0
- package/dist/sceneHlod/refinement.js.map +1 -0
- package/dist/sceneHlod/scene.d.ts +80 -0
- package/dist/sceneHlod/scene.js +264 -0
- package/dist/sceneHlod/scene.js.map +1 -0
- package/dist/sceneHlod/sharedAtlas.d.ts +37 -0
- package/dist/sceneHlod/sharedAtlas.js +84 -0
- package/dist/sceneHlod/sharedAtlas.js.map +1 -0
- package/dist/sceneHlod/source.d.ts +17 -0
- package/dist/sceneHlod/source.js +241 -0
- package/dist/sceneHlod/source.js.map +1 -0
- package/dist/sceneHlod/textureCodec.d.ts +4 -0
- package/dist/sceneHlod/textureCodec.js +66 -0
- package/dist/sceneHlod/textureCodec.js.map +1 -0
- package/dist/sceneHlod/transfer.d.ts +8 -0
- package/dist/sceneHlod/transfer.js +147 -0
- package/dist/sceneHlod/transfer.js.map +1 -0
- package/dist/sceneHlod/types.d.ts +69 -0
- package/dist/sceneHlod/types.js +3 -0
- package/dist/sceneHlod/types.js.map +1 -0
- package/dist/sceneImport/archive.d.ts +30 -0
- package/dist/sceneImport/archive.js +336 -0
- package/dist/sceneImport/archive.js.map +1 -0
- package/dist/sceneImport/bistroMaterialBake.d.ts +20 -0
- package/dist/sceneImport/bistroMaterialBake.js +169 -0
- package/dist/sceneImport/bistroMaterialBake.js.map +1 -0
- package/dist/sceneImport/bistroTexturePlan.d.ts +6 -0
- package/dist/sceneImport/bistroTexturePlan.js +23 -0
- package/dist/sceneImport/bistroTexturePlan.js.map +1 -0
- package/dist/sceneImport/compiler.d.ts +36 -0
- package/dist/sceneImport/compiler.js +251 -0
- package/dist/sceneImport/compiler.js.map +1 -0
- package/dist/sceneImport/composeMounts.d.ts +159 -0
- package/dist/sceneImport/composeMounts.js +687 -0
- package/dist/sceneImport/composeMounts.js.map +1 -0
- package/dist/sceneImport/defaultMaterials.d.ts +45 -0
- package/dist/sceneImport/defaultMaterials.js +121 -0
- package/dist/sceneImport/defaultMaterials.js.map +1 -0
- package/dist/sceneImport/externalTextures.d.ts +44 -0
- package/dist/sceneImport/externalTextures.js +146 -0
- package/dist/sceneImport/externalTextures.js.map +1 -0
- package/dist/sceneImport/fbx.d.ts +101 -0
- package/dist/sceneImport/fbx.js +307 -0
- package/dist/sceneImport/fbx.js.map +1 -0
- package/dist/sceneImport/glbSplit.d.ts +24 -0
- package/dist/sceneImport/glbSplit.js +95 -0
- package/dist/sceneImport/glbSplit.js.map +1 -0
- package/dist/sceneImport/gltfIo.d.ts +32 -0
- package/dist/sceneImport/gltfIo.js +39 -0
- package/dist/sceneImport/gltfIo.js.map +1 -0
- package/dist/sceneImport/helsinkiTiles.d.ts +31 -0
- package/dist/sceneImport/helsinkiTiles.js +52 -0
- package/dist/sceneImport/helsinkiTiles.js.map +1 -0
- package/dist/sceneImport/materials/binding.d.ts +16 -0
- package/dist/sceneImport/materials/binding.js +42 -0
- package/dist/sceneImport/materials/binding.js.map +1 -0
- package/dist/sceneImport/materials/catalog.d.ts +36 -0
- package/dist/sceneImport/materials/catalog.js +233 -0
- package/dist/sceneImport/materials/catalog.js.map +1 -0
- package/dist/sceneImport/materials/index.d.ts +4 -0
- package/dist/sceneImport/materials/index.js +21 -0
- package/dist/sceneImport/materials/index.js.map +1 -0
- package/dist/sceneImport/materials/matcher.d.ts +33 -0
- package/dist/sceneImport/materials/matcher.js +127 -0
- package/dist/sceneImport/materials/matcher.js.map +1 -0
- package/dist/sceneImport/materials/recipe.d.ts +30 -0
- package/dist/sceneImport/materials/recipe.js +134 -0
- package/dist/sceneImport/materials/recipe.js.map +1 -0
- package/dist/sceneImport/multiAsset.d.ts +79 -0
- package/dist/sceneImport/multiAsset.js +535 -0
- package/dist/sceneImport/multiAsset.js.map +1 -0
- package/dist/sceneImport/multiAssetSpawn.d.ts +40 -0
- package/dist/sceneImport/multiAssetSpawn.js +98 -0
- package/dist/sceneImport/multiAssetSpawn.js.map +1 -0
- package/dist/sceneImport/obj.d.ts +41 -0
- package/dist/sceneImport/obj.js +276 -0
- package/dist/sceneImport/obj.js.map +1 -0
- package/dist/sceneImport/package.d.ts +104 -0
- package/dist/sceneImport/package.js +1004 -0
- package/dist/sceneImport/package.js.map +1 -0
- package/dist/sceneImport/packageReader.d.ts +10 -0
- package/dist/sceneImport/packageReader.js +250 -0
- package/dist/sceneImport/packageReader.js.map +1 -0
- package/dist/sceneImport/proxy.d.ts +100 -0
- package/dist/sceneImport/proxy.js +334 -0
- package/dist/sceneImport/proxy.js.map +1 -0
- package/dist/sceneImport/publish.d.ts +47 -0
- package/dist/sceneImport/publish.js +98 -0
- package/dist/sceneImport/publish.js.map +1 -0
- package/dist/sceneImport/semantic.d.ts +75 -0
- package/dist/sceneImport/semantic.js +296 -0
- package/dist/sceneImport/semantic.js.map +1 -0
- package/dist/sceneImport/spawnProbe.d.ts +55 -0
- package/dist/sceneImport/spawnProbe.js +159 -0
- package/dist/sceneImport/spawnProbe.js.map +1 -0
- package/dist/sceneImport/streamLayout.d.ts +96 -0
- package/dist/sceneImport/streamLayout.js +203 -0
- package/dist/sceneImport/streamLayout.js.map +1 -0
- package/dist/sceneImport/textureDecode.d.ts +21 -0
- package/dist/sceneImport/textureDecode.js +292 -0
- package/dist/sceneImport/textureDecode.js.map +1 -0
- package/dist/sceneImport/types.d.ts +84 -0
- package/dist/sceneImport/types.js +58 -0
- package/dist/sceneImport/types.js.map +1 -0
- package/dist/scenePerformance.d.ts +162 -0
- package/dist/scenePerformance.js +905 -0
- package/dist/scenePerformance.js.map +1 -0
- package/dist/screenshot/captureScreenshots.d.ts +36 -0
- package/dist/screenshot/captureScreenshots.js +229 -0
- package/dist/screenshot/captureScreenshots.js.map +1 -0
- package/dist/screenshot/encodeImagePreview.d.ts +5 -0
- package/dist/screenshot/encodeImagePreview.js +42 -0
- package/dist/screenshot/encodeImagePreview.js.map +1 -0
- package/dist/screenshot/publishThumbnail.d.ts +4 -0
- package/dist/screenshot/publishThumbnail.js +56 -0
- package/dist/screenshot/publishThumbnail.js.map +1 -0
- package/dist/screenshot/staticServe.d.ts +14 -0
- package/dist/screenshot/staticServe.js +120 -0
- package/dist/screenshot/staticServe.js.map +1 -0
- package/dist/source-archive.d.ts +101 -0
- package/dist/source-archive.js +309 -0
- package/dist/source-archive.js.map +1 -0
- package/dist/stdioBlocking.d.ts +1 -0
- package/dist/stdioBlocking.js +9 -0
- package/dist/stdioBlocking.js.map +1 -0
- package/dist/terrain/bake.d.ts +40 -0
- package/dist/terrain/bake.js +318 -0
- package/dist/terrain/bake.js.map +1 -0
- package/dist/terrain/generate.d.ts +21 -0
- package/dist/terrain/generate.js +239 -0
- package/dist/terrain/generate.js.map +1 -0
- package/dist/terrain/grid.d.ts +48 -0
- package/dist/terrain/grid.js +133 -0
- package/dist/terrain/grid.js.map +1 -0
- package/dist/terrain/import.d.ts +40 -0
- package/dist/terrain/import.js +252 -0
- package/dist/terrain/import.js.map +1 -0
- package/dist/terrain/index.d.ts +11 -0
- package/dist/terrain/index.js +88 -0
- package/dist/terrain/index.js.map +1 -0
- package/dist/terrain/inspect.d.ts +35 -0
- package/dist/terrain/inspect.js +115 -0
- package/dist/terrain/inspect.js.map +1 -0
- package/dist/terrain/island.d.ts +31 -0
- package/dist/terrain/island.js +128 -0
- package/dist/terrain/island.js.map +1 -0
- package/dist/terrain/noise.d.ts +79 -0
- package/dist/terrain/noise.js +162 -0
- package/dist/terrain/noise.js.map +1 -0
- package/dist/terrain/normals.d.ts +21 -0
- package/dist/terrain/normals.js +55 -0
- package/dist/terrain/normals.js.map +1 -0
- package/dist/terrain/presets/alpine.json +20 -0
- package/dist/terrain/presets/coast.json +20 -0
- package/dist/terrain/presets/desert.json +22 -0
- package/dist/terrain/presets/forest.json +20 -0
- package/dist/terrain/presets/meadow.json +20 -0
- package/dist/terrain/presets/volcanic.json +22 -0
- package/dist/terrain/presets.d.ts +29 -0
- package/dist/terrain/presets.js +128 -0
- package/dist/terrain/presets.js.map +1 -0
- package/dist/terrain/source.d.ts +42 -0
- package/dist/terrain/source.js +241 -0
- package/dist/terrain/source.js.map +1 -0
- package/dist/terrain/tile.d.ts +92 -0
- package/dist/terrain/tile.js +268 -0
- package/dist/terrain/tile.js.map +1 -0
- package/dist/textureAudit.d.ts +23 -0
- package/dist/textureAudit.js +192 -0
- package/dist/textureAudit.js.map +1 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/unreal/avatarMode.d.ts +21 -0
- package/dist/unreal/avatarMode.js +33 -0
- package/dist/unreal/avatarMode.js.map +1 -0
- package/dist/unreal/delivery.d.ts +46 -0
- package/dist/unreal/delivery.js +89 -0
- package/dist/unreal/delivery.js.map +1 -0
- package/dist/unreal/doctor.d.ts +50 -0
- package/dist/unreal/doctor.js +102 -0
- package/dist/unreal/doctor.js.map +1 -0
- package/dist/unreal/package.d.ts +80 -0
- package/dist/unreal/package.js +273 -0
- package/dist/unreal/package.js.map +1 -0
- package/dist/unreal/release.d.ts +41 -0
- package/dist/unreal/release.js +122 -0
- package/dist/unreal/release.js.map +1 -0
- package/dist/unreal.d.ts +30 -0
- package/dist/unreal.js +362 -0
- package/dist/unreal.js.map +1 -0
- package/dist/unrealCandidate.d.ts +213 -0
- package/dist/unrealCandidate.js +765 -0
- package/dist/unrealCandidate.js.map +1 -0
- package/dist/unrealManifest.d.ts +74 -0
- package/dist/unrealManifest.js +354 -0
- package/dist/unrealManifest.js.map +1 -0
- package/dist/unrealPublish.d.ts +111 -0
- package/dist/unrealPublish.js +331 -0
- package/dist/unrealPublish.js.map +1 -0
- package/dist/vault.d.ts +121 -0
- package/dist/vault.js +136 -0
- package/dist/vault.js.map +1 -0
- package/dist/vehicle/addOnDefinition.d.ts +19 -0
- package/dist/vehicle/addOnDefinition.js +21 -0
- package/dist/vehicle/addOnDefinition.js.map +1 -0
- package/dist/vehicle/addon.d.ts +158 -0
- package/dist/vehicle/addon.js +441 -0
- package/dist/vehicle/addon.js.map +1 -0
- package/dist/vehicle/addonDefinitionGuard.d.ts +53 -0
- package/dist/vehicle/addonDefinitionGuard.js +206 -0
- package/dist/vehicle/addonDefinitionGuard.js.map +1 -0
- package/dist/vehicle/addonPublished.d.ts +80 -0
- package/dist/vehicle/addonPublished.js +221 -0
- package/dist/vehicle/addonPublished.js.map +1 -0
- package/dist/vehicle/audio.d.ts +259 -0
- package/dist/vehicle/audio.js +1069 -0
- package/dist/vehicle/audio.js.map +1 -0
- package/dist/vehicle/audioDefects.d.ts +125 -0
- package/dist/vehicle/audioDefects.js +591 -0
- package/dist/vehicle/audioDefects.js.map +1 -0
- package/dist/vehicle/audioDistinct.d.ts +62 -0
- package/dist/vehicle/audioDistinct.js +479 -0
- package/dist/vehicle/audioDistinct.js.map +1 -0
- package/dist/vehicle/audioImport.d.ts +217 -0
- package/dist/vehicle/audioImport.js +610 -0
- package/dist/vehicle/audioImport.js.map +1 -0
- package/dist/vehicle/audioProvenance.d.ts +47 -0
- package/dist/vehicle/audioProvenance.js +364 -0
- package/dist/vehicle/audioProvenance.js.map +1 -0
- package/dist/vehicle/audioReference.d.ts +36 -0
- package/dist/vehicle/audioReference.js +176 -0
- package/dist/vehicle/audioReference.js.map +1 -0
- package/dist/vehicle/audioSlots.d.ts +27 -0
- package/dist/vehicle/audioSlots.js +43 -0
- package/dist/vehicle/audioSlots.js.map +1 -0
- package/dist/vehicle/audioSpectral.d.ts +71 -0
- package/dist/vehicle/audioSpectral.js +534 -0
- package/dist/vehicle/audioSpectral.js.map +1 -0
- package/dist/vehicle/cabinCheck.d.ts +209 -0
- package/dist/vehicle/cabinCheck.js +799 -0
- package/dist/vehicle/cabinCheck.js.map +1 -0
- package/dist/vehicle/drive.d.ts +66 -0
- package/dist/vehicle/drive.js +228 -0
- package/dist/vehicle/drive.js.map +1 -0
- package/dist/vehicle/enginePolicy.d.ts +68 -0
- package/dist/vehicle/enginePolicy.js +209 -0
- package/dist/vehicle/enginePolicy.js.map +1 -0
- package/dist/vehicle/hostFrame.d.ts +78 -0
- package/dist/vehicle/hostFrame.js +136 -0
- package/dist/vehicle/hostFrame.js.map +1 -0
- package/dist/vehicle/inspectionSheets.d.ts +42 -0
- package/dist/vehicle/inspectionSheets.js +173 -0
- package/dist/vehicle/inspectionSheets.js.map +1 -0
- package/dist/vehicle/keyboardLaunch.d.ts +189 -0
- package/dist/vehicle/keyboardLaunch.js +340 -0
- package/dist/vehicle/keyboardLaunch.js.map +1 -0
- package/dist/vehicle/lampCoverage.d.ts +49 -0
- package/dist/vehicle/lampCoverage.js +252 -0
- package/dist/vehicle/lampCoverage.js.map +1 -0
- package/dist/vehicle/mintAddOn.d.ts +110 -0
- package/dist/vehicle/mintAddOn.js +321 -0
- package/dist/vehicle/mintAddOn.js.map +1 -0
- package/dist/vehicle/mintVehicle.d.ts +189 -0
- package/dist/vehicle/mintVehicle.js +417 -0
- package/dist/vehicle/mintVehicle.js.map +1 -0
- package/dist/vehicle/paintHue.d.ts +89 -0
- package/dist/vehicle/paintHue.js +248 -0
- package/dist/vehicle/paintHue.js.map +1 -0
- package/dist/vehicle/panelCoverage.d.ts +37 -0
- package/dist/vehicle/panelCoverage.js +93 -0
- package/dist/vehicle/panelCoverage.js.map +1 -0
- package/dist/vehicle/platform.d.ts +71 -0
- package/dist/vehicle/platform.js +144 -0
- package/dist/vehicle/platform.js.map +1 -0
- package/dist/vehicle/preview.d.ts +339 -0
- package/dist/vehicle/preview.js +854 -0
- package/dist/vehicle/preview.js.map +1 -0
- package/dist/vehicle/previewAddon.d.ts +197 -0
- package/dist/vehicle/previewAddon.js +520 -0
- package/dist/vehicle/previewAddon.js.map +1 -0
- package/dist/vehicle/previewSeats.d.ts +102 -0
- package/dist/vehicle/previewSeats.js +190 -0
- package/dist/vehicle/previewSeats.js.map +1 -0
- package/dist/vehicle/publish.d.ts +78 -0
- package/dist/vehicle/publish.js +111 -0
- package/dist/vehicle/publish.js.map +1 -0
- package/dist/vehicle/recheckListed.d.ts +87 -0
- package/dist/vehicle/recheckListed.js +200 -0
- package/dist/vehicle/recheckListed.js.map +1 -0
- package/dist/vehicle/renditionManifest.d.ts +10 -0
- package/dist/vehicle/renditionManifest.js +56 -0
- package/dist/vehicle/renditionManifest.js.map +1 -0
- package/dist/vehicle/sealCheck.d.ts +30 -0
- package/dist/vehicle/sealCheck.js +59 -0
- package/dist/vehicle/sealCheck.js.map +1 -0
- package/dist/vehicle/simulate.d.ts +219 -0
- package/dist/vehicle/simulate.js +536 -0
- package/dist/vehicle/simulate.js.map +1 -0
- package/dist/vehicle/simulateRuntime.d.ts +76 -0
- package/dist/vehicle/simulateRuntime.js +252 -0
- package/dist/vehicle/simulateRuntime.js.map +1 -0
- package/dist/vehicle/testutil/sourcedAudio.d.ts +13 -0
- package/dist/vehicle/testutil/sourcedAudio.js +96 -0
- package/dist/vehicle/testutil/sourcedAudio.js.map +1 -0
- package/dist/vehicle/validate.d.ts +225 -0
- package/dist/vehicle/validate.js +956 -0
- package/dist/vehicle/validate.js.map +1 -0
- package/dist/vehicle/wheelDesign.d.ts +98 -0
- package/dist/vehicle/wheelDesign.js +276 -0
- package/dist/vehicle/wheelDesign.js.map +1 -0
- package/dist/verifySubPath.d.ts +69 -0
- package/dist/verifySubPath.js +458 -0
- package/dist/verifySubPath.js.map +1 -0
- package/dist/visualQa/animation.d.ts +57 -0
- package/dist/visualQa/animation.js +503 -0
- package/dist/visualQa/animation.js.map +1 -0
- package/dist/visualQa/avatar.d.ts +3 -0
- package/dist/visualQa/avatar.js +443 -0
- package/dist/visualQa/avatar.js.map +1 -0
- package/dist/visualQa/avatarMath.d.ts +180 -0
- package/dist/visualQa/avatarMath.js +318 -0
- package/dist/visualQa/avatarMath.js.map +1 -0
- package/dist/visualQa/avatarPreview.d.ts +26 -0
- package/dist/visualQa/avatarPreview.js +167 -0
- package/dist/visualQa/avatarPreview.js.map +1 -0
- package/dist/visualQa/avatarPreviewMath.d.ts +189 -0
- package/dist/visualQa/avatarPreviewMath.js +696 -0
- package/dist/visualQa/avatarPreviewMath.js.map +1 -0
- package/dist/visualQa/avatarPreviewProbe.d.ts +7 -0
- package/dist/visualQa/avatarPreviewProbe.js +181 -0
- package/dist/visualQa/avatarPreviewProbe.js.map +1 -0
- package/dist/visualQa/avatarProbe.d.ts +1 -0
- package/dist/visualQa/avatarProbe.js +264 -0
- package/dist/visualQa/avatarProbe.js.map +1 -0
- package/dist/visualQa/browser.d.ts +116 -0
- package/dist/visualQa/browser.js +817 -0
- package/dist/visualQa/browser.js.map +1 -0
- package/dist/visualQa/candidate.d.ts +116 -0
- package/dist/visualQa/candidate.js +265 -0
- package/dist/visualQa/candidate.js.map +1 -0
- package/dist/visualQa/checklists.d.ts +31 -0
- package/dist/visualQa/checklists.js +160 -0
- package/dist/visualQa/checklists.js.map +1 -0
- package/dist/visualQa/command.d.ts +110 -0
- package/dist/visualQa/command.js +521 -0
- package/dist/visualQa/command.js.map +1 -0
- package/dist/visualQa/commonAsserts.d.ts +68 -0
- package/dist/visualQa/commonAsserts.js +239 -0
- package/dist/visualQa/commonAsserts.js.map +1 -0
- package/dist/visualQa/contactSheet.d.ts +32 -0
- package/dist/visualQa/contactSheet.js +153 -0
- package/dist/visualQa/contactSheet.js.map +1 -0
- package/dist/visualQa/critic.d.ts +18 -0
- package/dist/visualQa/critic.js +179 -0
- package/dist/visualQa/critic.js.map +1 -0
- package/dist/visualQa/emotePage.d.ts +10 -0
- package/dist/visualQa/emotePage.js +249 -0
- package/dist/visualQa/emotePage.js.map +1 -0
- package/dist/visualQa/evidenceOverlay.d.ts +74 -0
- package/dist/visualQa/evidenceOverlay.js +268 -0
- package/dist/visualQa/evidenceOverlay.js.map +1 -0
- package/dist/visualQa/harness.d.ts +57 -0
- package/dist/visualQa/harness.js +3 -0
- package/dist/visualQa/harness.js.map +1 -0
- package/dist/visualQa/hosted.d.ts +152 -0
- package/dist/visualQa/hosted.js +367 -0
- package/dist/visualQa/hosted.js.map +1 -0
- package/dist/visualQa/labelLimit.d.ts +12 -0
- package/dist/visualQa/labelLimit.js +31 -0
- package/dist/visualQa/labelLimit.js.map +1 -0
- package/dist/visualQa/mirror.d.ts +36 -0
- package/dist/visualQa/mirror.js +98 -0
- package/dist/visualQa/mirror.js.map +1 -0
- package/dist/visualQa/moveUx.d.ts +44 -0
- package/dist/visualQa/moveUx.js +103 -0
- package/dist/visualQa/moveUx.js.map +1 -0
- package/dist/visualQa/pinnedChrome.d.ts +63 -0
- package/dist/visualQa/pinnedChrome.js +214 -0
- package/dist/visualQa/pinnedChrome.js.map +1 -0
- package/dist/visualQa/resolve.d.ts +88 -0
- package/dist/visualQa/resolve.js +248 -0
- package/dist/visualQa/resolve.js.map +1 -0
- package/dist/visualQa/scene.d.ts +14 -0
- package/dist/visualQa/scene.js +688 -0
- package/dist/visualQa/scene.js.map +1 -0
- package/dist/visualQa/shot.d.ts +2 -0
- package/dist/visualQa/shot.js +27 -0
- package/dist/visualQa/shot.js.map +1 -0
- package/dist/visualQa/signIn.d.ts +35 -0
- package/dist/visualQa/signIn.js +144 -0
- package/dist/visualQa/signIn.js.map +1 -0
- package/dist/visualQa/submitBudget.d.ts +25 -0
- package/dist/visualQa/submitBudget.js +82 -0
- package/dist/visualQa/submitBudget.js.map +1 -0
- package/dist/visualQa/types.d.ts +195 -0
- package/dist/visualQa/types.js +12 -0
- package/dist/visualQa/types.js.map +1 -0
- package/dist/visualQa/vehicle.d.ts +130 -0
- package/dist/visualQa/vehicle.js +2001 -0
- package/dist/visualQa/vehicle.js.map +1 -0
- package/dist/visualQa/vehicleAddonProbe.d.ts +1 -0
- package/dist/visualQa/vehicleAddonProbe.js +115 -0
- package/dist/visualQa/vehicleAddonProbe.js.map +1 -0
- package/dist/visualQa/vehicleCabinFit.d.ts +78 -0
- package/dist/visualQa/vehicleCabinFit.js +55 -0
- package/dist/visualQa/vehicleCabinFit.js.map +1 -0
- package/dist/visualQa/vehicleClearance.d.ts +135 -0
- package/dist/visualQa/vehicleClearance.js +299 -0
- package/dist/visualQa/vehicleClearance.js.map +1 -0
- package/dist/visualQa/vehicleDriveAlive.d.ts +55 -0
- package/dist/visualQa/vehicleDriveAlive.js +103 -0
- package/dist/visualQa/vehicleDriveAlive.js.map +1 -0
- package/dist/visualQa/vehicleGrip.d.ts +156 -0
- package/dist/visualQa/vehicleGrip.js +439 -0
- package/dist/visualQa/vehicleGrip.js.map +1 -0
- package/dist/visualQa/vehicleInspection.d.ts +30 -0
- package/dist/visualQa/vehicleInspection.js +189 -0
- package/dist/visualQa/vehicleInspection.js.map +1 -0
- package/dist/visualQa/vehicleLamps.d.ts +118 -0
- package/dist/visualQa/vehicleLamps.js +374 -0
- package/dist/visualQa/vehicleLamps.js.map +1 -0
- package/dist/visualQa/vehicleMath.d.ts +440 -0
- package/dist/visualQa/vehicleMath.js +967 -0
- package/dist/visualQa/vehicleMath.js.map +1 -0
- package/dist/visualQa/vehicleOccupants.d.ts +66 -0
- package/dist/visualQa/vehicleOccupants.js +448 -0
- package/dist/visualQa/vehicleOccupants.js.map +1 -0
- package/dist/visualQa/vehiclePenetration.d.ts +172 -0
- package/dist/visualQa/vehiclePenetration.js +1157 -0
- package/dist/visualQa/vehiclePenetration.js.map +1 -0
- package/dist/visualQa/vehiclePoses.d.ts +25 -0
- package/dist/visualQa/vehiclePoses.js +56 -0
- package/dist/visualQa/vehiclePoses.js.map +1 -0
- package/dist/visualQa/vehiclePosture.d.ts +78 -0
- package/dist/visualQa/vehiclePosture.js +263 -0
- package/dist/visualQa/vehiclePosture.js.map +1 -0
- package/dist/visualQa/vehiclePreview.d.ts +103 -0
- package/dist/visualQa/vehiclePreview.js +312 -0
- package/dist/visualQa/vehiclePreview.js.map +1 -0
- package/dist/visualQa/vehicleProbe.d.ts +3 -0
- package/dist/visualQa/vehicleProbe.js +670 -0
- package/dist/visualQa/vehicleProbe.js.map +1 -0
- package/dist/visualQa/vehicleStance.d.ts +108 -0
- package/dist/visualQa/vehicleStance.js +200 -0
- package/dist/visualQa/vehicleStance.js.map +1 -0
- package/dist/visualQa/viewer.d.ts +6 -0
- package/dist/visualQa/viewer.js +750 -0
- package/dist/visualQa/viewer.js.map +1 -0
- package/dist/visualQa/viewerGeometry.d.ts +116 -0
- package/dist/visualQa/viewerGeometry.js +476 -0
- package/dist/visualQa/viewerGeometry.js.map +1 -0
- package/dist/visualQa/viewerPage.d.ts +11 -0
- package/dist/visualQa/viewerPage.js +414 -0
- package/dist/visualQa/viewerPage.js.map +1 -0
- package/dist/visualQa/webgpuSelfTest.d.ts +52 -0
- package/dist/visualQa/webgpuSelfTest.js +113 -0
- package/dist/visualQa/webgpuSelfTest.js.map +1 -0
- package/dist/visualQa/winChrome.d.ts +92 -0
- package/dist/visualQa/winChrome.js +445 -0
- package/dist/visualQa/winChrome.js.map +1 -0
- package/dist/visualQa/worldWalk.d.ts +59 -0
- package/dist/visualQa/worldWalk.js +523 -0
- package/dist/visualQa/worldWalk.js.map +1 -0
- package/dist/visualQa/worldWalkMath.d.ts +263 -0
- package/dist/visualQa/worldWalkMath.js +873 -0
- package/dist/visualQa/worldWalkMath.js.map +1 -0
- package/dist/visualQa/worldWalkProbe.d.ts +1 -0
- package/dist/visualQa/worldWalkProbe.js +206 -0
- package/dist/visualQa/worldWalkProbe.js.map +1 -0
- package/dist/visualsConfig.d.ts +65 -0
- package/dist/visualsConfig.js +1333 -0
- package/dist/visualsConfig.js.map +1 -0
- package/dist/voiceCommand.d.ts +11 -0
- package/dist/voiceCommand.js +101 -0
- package/dist/voiceCommand.js.map +1 -0
- package/dist/world/analyze.d.ts +51 -0
- package/dist/world/analyze.js +767 -0
- package/dist/world/analyze.js.map +1 -0
- package/dist/world/baseline.d.ts +33 -0
- package/dist/world/baseline.js +111 -0
- package/dist/world/baseline.js.map +1 -0
- package/dist/world/canonicalize.d.ts +7 -0
- package/dist/world/canonicalize.js +110 -0
- package/dist/world/canonicalize.js.map +1 -0
- package/dist/world/diff.d.ts +18 -0
- package/dist/world/diff.js +58 -0
- package/dist/world/diff.js.map +1 -0
- package/dist/world/focus.d.ts +11 -0
- package/dist/world/focus.js +161 -0
- package/dist/world/focus.js.map +1 -0
- package/dist/world/format.d.ts +6 -0
- package/dist/world/format.js +125 -0
- package/dist/world/format.js.map +1 -0
- package/dist/world/readWorldMetrics.d.ts +10 -0
- package/dist/world/readWorldMetrics.js +31 -0
- package/dist/world/readWorldMetrics.js.map +1 -0
- package/dist/world/snapshotTypes.d.ts +59 -0
- package/dist/world/snapshotTypes.js +8 -0
- package/dist/world/snapshotTypes.js.map +1 -0
- package/dist/world/snapshotWorld.d.ts +16 -0
- package/dist/world/snapshotWorld.js +142 -0
- package/dist/world/snapshotWorld.js.map +1 -0
- package/dist/world/wiring.d.ts +21 -0
- package/dist/world/wiring.js +73 -0
- package/dist/world/wiring.js.map +1 -0
- package/dist/world/zones.d.ts +23 -0
- package/dist/world/zones.js +134 -0
- package/dist/world/zones.js.map +1 -0
- package/docs/bridge.md +304 -0
- package/docs/device-hand-reach.md +44 -0
- package/docs/scene-hlod.md +139 -0
- package/docs/vehicle-audio-import.md +299 -0
- package/docs/vehicle-simulate.md +165 -0
- package/docs/visual-qa-candidate-versions.md +71 -0
- package/docs/visual-qa.md +462 -0
- package/package.json +69 -4
- package/plugins/beamng-vehicle/README.md +129 -0
- package/plugins/beamng-vehicle/bin/__pycache__/beamng_abs.cpython-312.pyc +0 -0
- package/plugins/beamng-vehicle/bin/__pycache__/beamng_audio.cpython-312.pyc +0 -0
- package/plugins/beamng-vehicle/bin/__pycache__/beamng_engine.cpython-312.pyc +0 -0
- package/plugins/beamng-vehicle/bin/__pycache__/beamng_expression.cpython-312.pyc +0 -0
- package/plugins/beamng-vehicle/bin/__pycache__/beamng_jbeam.cpython-312.pyc +0 -0
- package/plugins/beamng-vehicle/bin/__pycache__/beamng_materials.cpython-312.pyc +0 -0
- package/plugins/beamng-vehicle/bin/__pycache__/beamng_stock_events.cpython-312.pyc +0 -0
- package/plugins/beamng-vehicle/bin/__pycache__/fmod_studio.cpython-312.pyc +0 -0
- package/plugins/beamng-vehicle/bin/__pycache__/fsb5.cpython-312.pyc +0 -0
- package/plugins/beamng-vehicle/bin/__pycache__/sim_audio.cpython-312.pyc +0 -0
- package/plugins/beamng-vehicle/bin/__pycache__/sim_audio_ac.cpython-312.pyc +0 -0
- package/plugins/beamng-vehicle/bin/__pycache__/sim_audio_beamng.cpython-312.pyc +0 -0
- package/plugins/beamng-vehicle/bin/__pycache__/sim_audio_fixtures.cpython-312.pyc +0 -0
- package/plugins/beamng-vehicle/bin/__pycache__/test_beamng_engine.cpython-312.pyc +0 -0
- package/plugins/beamng-vehicle/bin/__pycache__/test_sim_audio.cpython-312.pyc +0 -0
- package/plugins/beamng-vehicle/bin/beamng-vehicle.mjs +1295 -0
- package/plugins/beamng-vehicle/bin/beamng_abs.py +408 -0
- package/plugins/beamng-vehicle/bin/beamng_audio.py +394 -0
- package/plugins/beamng-vehicle/bin/beamng_engine.py +184 -0
- package/plugins/beamng-vehicle/bin/beamng_expression.py +373 -0
- package/plugins/beamng-vehicle/bin/beamng_jbeam.py +858 -0
- package/plugins/beamng-vehicle/bin/beamng_materials.py +261 -0
- package/plugins/beamng-vehicle/bin/beamng_stock_events.py +171 -0
- package/plugins/beamng-vehicle/bin/convert-beamng.py +1563 -0
- package/plugins/beamng-vehicle/bin/fmod_studio.py +524 -0
- package/plugins/beamng-vehicle/bin/fsb5.py +304 -0
- package/plugins/beamng-vehicle/bin/index-beamng-common.mjs +16 -0
- package/plugins/beamng-vehicle/bin/index-beamng.py +69 -0
- package/plugins/beamng-vehicle/bin/lower-beamng.py +2399 -0
- package/plugins/beamng-vehicle/bin/sim_audio.py +250 -0
- package/plugins/beamng-vehicle/bin/sim_audio_ac.py +378 -0
- package/plugins/beamng-vehicle/bin/sim_audio_beamng.py +878 -0
- package/plugins/beamng-vehicle/bin/sim_audio_fixtures.py +287 -0
- package/plugins/beamng-vehicle/bin/sim_audio_import.py +135 -0
- package/plugins/beamng-vehicle/bin/test_beamng_engine.py +124 -0
- package/plugins/beamng-vehicle/bin/test_beamng_jbeam.py +383 -0
- package/plugins/beamng-vehicle/bin/test_beamng_precedence.py +134 -0
- package/plugins/beamng-vehicle/bin/test_sim_audio.py +249 -0
- package/plugins/beamng-vehicle/bridge-plugin.json +55 -0
- package/plugins/beamng-vehicle/controller-adapters/beamng-0.39.4-abs.json +52 -0
- package/plugins/beamng-vehicle/lib/common-dependency.mjs +357 -0
- package/plugins/beamng-vehicle/lib/dae-scan.mjs +40 -0
- package/plugins/beamng-vehicle/lib/file-identity.mjs +46 -0
- package/plugins/beamng-vehicle/lib/material-semantics.mjs +312 -0
- package/plugins/beamng-vehicle/lib/palette-contract.mjs +6 -0
- package/plugins/beamng-vehicle/lib/vehicle-qa.mjs +567 -0
- package/plugins/beamng-vehicle/lib/vehicle-source.mjs +247 -0
- package/plugins/beamng-vehicle/profiles/source-compatibility.json +14 -0
- package/plugins/beamng-vehicle/vendor/vehicle-package-v2.mjs +6451 -0
- package/vendor/README.md +63 -0
- package/vendor/ability-manifest.mjs +527 -6
- package/vendor/audits/asset-credits.mjs +96 -0
- package/vendor/audits/check-loaders.mjs +80 -0
- package/vendor/audits/perf-gate.mjs +759 -0
- package/vendor/audits/prove-live.mjs +307 -0
- package/vendor/audits/source-audit.mjs +530 -0
- package/vendor/audits/world-audit.mjs +439 -0
- package/vendor/capture-body.glb +0 -0
- package/vendor/capture-face.glb +0 -0
- package/vendor/installed-index.mjs +1 -1
- package/vendor/vehicle-package-v2.mjs +6451 -0
|
@@ -0,0 +1,688 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.renderScene = exports.MIN_STANDPOINTS = exports.MIN_SCENE_EXTENT_M = exports.SKY_RADIUS_M = exports.SETTLED_DY_M = exports.STAND_Y_TOLERANCE_M = exports.SPAWN_Y_TOLERANCE_M = exports.SPAWN_XZ_TOLERANCE_M = void 0;
|
|
7
|
+
// THE SCENE ROUTE — opens a Home / World scene the way a visitor does and measures what they see.
|
|
8
|
+
//
|
|
9
|
+
// Why this exists: a `scene` item (itemType scene: a Home shell) has no single model, so the prop route errored with
|
|
10
|
+
// "the pinned package names no model CID" and every Home in the catalogue was unjudgeable. A visitor meets a Home on
|
|
11
|
+
// `/marketplace/homes/<id>/preview` (the walk-through: spawn in your own avatar and roam the empty home, no residence, no
|
|
12
|
+
// purchase). This route loads exactly that page, then:
|
|
13
|
+
//
|
|
14
|
+
// identity the scene document the runtime streams (`shell=` in the Home frame URL) is fetched by the harness and
|
|
15
|
+
// hashed: it must be the PINNED package version's root document, byte for byte;
|
|
16
|
+
// spawn the player appears at the document's declared spawn point, stands on something (stable y) and inside the
|
|
17
|
+
// declared placement bounds;
|
|
18
|
+
// walk the harness picks a few standpoints from the live scene itself (ray probes through the runtime's own
|
|
19
|
+
// debug seam: first free direction, floor beneath), stands the visitor there and checks the player still
|
|
20
|
+
// stands (a missing floor collider drops them through the world);
|
|
21
|
+
// frames the arrival view, the four directions from the spawn, a far "overview" standpoint and up to three
|
|
22
|
+
// walk-in standpoints, each captured after the streamer has settled;
|
|
23
|
+
// geometry drawn bounds, NaN / collapsed / invisible meshes and textures over the whole scene minus the avatar and
|
|
24
|
+
// any sky-scale dome.
|
|
25
|
+
//
|
|
26
|
+
// The runtime's `?debug=1` seam (`window.__helixDevicesDebug`: `teleport`, `probe`, `player`) is what moves the player. It
|
|
27
|
+
// is part of the production Home bundle; nothing here edits what the page draws except the camera it already owns and the
|
|
28
|
+
// DOM chrome around the canvas (hidden for the screenshot).
|
|
29
|
+
const node_crypto_1 = __importDefault(require("node:crypto"));
|
|
30
|
+
const node_fs_1 = __importDefault(require("node:fs"));
|
|
31
|
+
const node_path_1 = __importDefault(require("node:path"));
|
|
32
|
+
const browser_1 = require("./browser");
|
|
33
|
+
const commonAsserts_1 = require("./commonAsserts");
|
|
34
|
+
const resolve_1 = require("./resolve");
|
|
35
|
+
const shot_1 = require("./shot");
|
|
36
|
+
const viewerPage_1 = require("./viewerPage");
|
|
37
|
+
const LOAD_TIMEOUT_MS = 150_000;
|
|
38
|
+
const sleep = (ms) => new Promise((r) => setTimeout(r, ms));
|
|
39
|
+
const r3 = (v) => Math.round(v * 1000) / 1000;
|
|
40
|
+
/** The player must stand within this of the document's spawn point (horizontal), and settle within this vertically. */
|
|
41
|
+
exports.SPAWN_XZ_TOLERANCE_M = 2.5;
|
|
42
|
+
exports.SPAWN_Y_TOLERANCE_M = 3;
|
|
43
|
+
/** After a teleport the player may differ this much from the probed floor height and still count as standing on it. */
|
|
44
|
+
exports.STAND_Y_TOLERANCE_M = 1.2;
|
|
45
|
+
/** The player y may change at most this between two reads a second apart for "standing still on something". */
|
|
46
|
+
exports.SETTLED_DY_M = 0.08;
|
|
47
|
+
/** Meshes whose world bounding radius exceeds this are sky / horizon domes, not part of the scene's measured extent. */
|
|
48
|
+
exports.SKY_RADIUS_M = 1500;
|
|
49
|
+
/** The scene's measured extent must be at least this large (largest dimension). */
|
|
50
|
+
exports.MIN_SCENE_EXTENT_M = 3;
|
|
51
|
+
exports.MIN_STANDPOINTS = 2;
|
|
52
|
+
async function getJson(url) {
|
|
53
|
+
for (let attempt = 0;; attempt++) {
|
|
54
|
+
const res = await fetch(url, { headers: { accept: 'application/json' } });
|
|
55
|
+
if (res.ok)
|
|
56
|
+
return (await res.json());
|
|
57
|
+
if ((res.status === 429 || res.status >= 500) && attempt < 4) {
|
|
58
|
+
await sleep(1500 * 2 ** attempt);
|
|
59
|
+
continue;
|
|
60
|
+
}
|
|
61
|
+
throw new Error(`GET ${url} → ${res.status}`);
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
const renderScene = async (ctx) => {
|
|
65
|
+
const started = Date.now();
|
|
66
|
+
const item = ctx.resolved;
|
|
67
|
+
const title = item.identity.title;
|
|
68
|
+
const result = {
|
|
69
|
+
route: 'home-preview', url: '', frames: [], asserts: [], facts: { category: 'scene', timings: {} }, subjects: [], errors: [],
|
|
70
|
+
renderer: null, engineVersion: null, fetchedAssets: [],
|
|
71
|
+
};
|
|
72
|
+
const timings = result.facts.timings;
|
|
73
|
+
const api = ctx.apiBase.replace(/\/$/, '');
|
|
74
|
+
const pkg = item.identity;
|
|
75
|
+
if (!pkg.packageId || !pkg.packageVersion) {
|
|
76
|
+
result.errors.push('the item has no Continuum package pin, so there is no pinned scene document to prove');
|
|
77
|
+
return result;
|
|
78
|
+
}
|
|
79
|
+
// ── the pinned scene document ──────────────────────────────────────────────────────────────────────────────────
|
|
80
|
+
let rootHex = null;
|
|
81
|
+
let doc = {};
|
|
82
|
+
let provenanceSource = null;
|
|
83
|
+
try {
|
|
84
|
+
const ver = await getJson(`${api}/api/v1/continuum/public/packages/${pkg.packageId}/versions/${encodeURIComponent(pkg.packageVersion)}`);
|
|
85
|
+
rootHex = (0, resolve_1.hexOf)(ver.manifest.root?.cid);
|
|
86
|
+
if (!rootHex)
|
|
87
|
+
throw new Error('the pinned package version names no root document');
|
|
88
|
+
doc = await getJson(`${api}/api/v1/continuum/public/objects/sha256:${rootHex}`);
|
|
89
|
+
result.facts.pinnedRoot = { cid: ver.manifest.root?.cid, role: ver.manifest.root?.role, mediaType: ver.manifest.root?.mediaType, provenance: ver.manifest.provenance };
|
|
90
|
+
provenanceSource = ver.manifest.provenance?.source ?? null;
|
|
91
|
+
}
|
|
92
|
+
catch (e) {
|
|
93
|
+
result.errors.push(`could not read the pinned scene document: ${String(e?.message ?? e)}`);
|
|
94
|
+
return result;
|
|
95
|
+
}
|
|
96
|
+
const spawn = doc.spawns?.[0];
|
|
97
|
+
const bounds = doc.placement?.bounds;
|
|
98
|
+
const bmin = (bounds?.min ?? null);
|
|
99
|
+
const bmax = (bounds?.max ?? null);
|
|
100
|
+
result.facts.doc = { spawns: doc.spawns, placementBounds: bounds };
|
|
101
|
+
if (!spawn?.position || spawn.position.length !== 3) {
|
|
102
|
+
result.errors.push('the pinned scene document declares no spawn point');
|
|
103
|
+
return result;
|
|
104
|
+
}
|
|
105
|
+
const spawnPos = spawn.position;
|
|
106
|
+
const url = `${ctx.webBase.replace(/\/$/, '')}/marketplace/homes/${item.identity.itemId}/preview?debug=1`;
|
|
107
|
+
result.url = url;
|
|
108
|
+
const b = await (0, browser_1.launchVqaBrowser)({ storageState: ctx.storageState, executablePath: ctx.executablePath, width: 1280, height: 800 });
|
|
109
|
+
const requests = [];
|
|
110
|
+
b.ctx.on('request', (req) => { const u = req.url(); if (/\.(glb|gltf|ktx2|json|bin)(\?|$)|\/content\/sha256\/|\/continuum\/(public\/)?objects\/|scene-v2\//i.test(u) && !requests.includes(u))
|
|
111
|
+
requests.push(u); });
|
|
112
|
+
try {
|
|
113
|
+
const t0 = Date.now();
|
|
114
|
+
await b.page.goto(url, { waitUntil: 'domcontentloaded' });
|
|
115
|
+
let frame;
|
|
116
|
+
try {
|
|
117
|
+
// A Scene v2 Home exposes the runtime's debug seam; a legacy home-shell Home (world.json) never does, so after the
|
|
118
|
+
// meshes have streamed in without a seam it is judged as what it is rather than waited on forever.
|
|
119
|
+
const tStart = Date.now();
|
|
120
|
+
frame = await (0, browser_1.findFrame)(b.page, () => {
|
|
121
|
+
const d = window.__helixDevicesDebug;
|
|
122
|
+
const s = window.__vqa?.scene;
|
|
123
|
+
if (!s || !(window.__vqa.frames > 60))
|
|
124
|
+
return false;
|
|
125
|
+
let n = 0;
|
|
126
|
+
s.traverse((o) => { if (o.isMesh)
|
|
127
|
+
n++; });
|
|
128
|
+
if (d && typeof d.teleport === 'function' && typeof d.probe === 'function' && n > 120 && !!d.player)
|
|
129
|
+
return true;
|
|
130
|
+
return n > 20 && !d && !/scene=v2/.test(window.location.search) && window.__vqa.frames > 400;
|
|
131
|
+
}, LOAD_TIMEOUT_MS);
|
|
132
|
+
timings.findFrameMs = Date.now() - tStart;
|
|
133
|
+
}
|
|
134
|
+
catch (e) {
|
|
135
|
+
const text = await b.page.evaluate(() => String(document.body?.innerText ?? '').replace(/\s+/g, ' ').slice(0, 240)).catch(() => '');
|
|
136
|
+
result.errors.push(`the Home walk-through never became playable (${String(e?.message ?? e)}; page says: "${text}")`);
|
|
137
|
+
return result;
|
|
138
|
+
}
|
|
139
|
+
await frame.evaluate(commonAsserts_1.INSTALL_SCENE_STATS);
|
|
140
|
+
await frame.evaluate(viewerPage_1.INSTALL_VIEWER_PAGE);
|
|
141
|
+
timings.frameReady = Date.now() - t0;
|
|
142
|
+
await settleScene(frame, 8000);
|
|
143
|
+
timings.loaded = Date.now() - t0;
|
|
144
|
+
const seam = await frame.evaluate(() => typeof window.__helixDevicesDebug?.teleport === 'function' && typeof window.__helixDevicesDebug?.probe === 'function');
|
|
145
|
+
const shellUrl = new URL(frame.url()).searchParams.get('shell');
|
|
146
|
+
if (!seam)
|
|
147
|
+
return await runLegacy(ctx, b, frame, result, { shellUrl, requests, spawnPos, bmin, bmax, provenanceSource, rootHex });
|
|
148
|
+
// ── identity: the document the runtime streams is the pinned one ─────────────────────────────────────────────
|
|
149
|
+
const identity = { shellUrl, sha256: null, pinnedSha256: rootHex, match: false, requested: !!shellUrl && requests.includes(shellUrl), fetchError: null };
|
|
150
|
+
if (shellUrl) {
|
|
151
|
+
try {
|
|
152
|
+
const res = await fetch(shellUrl);
|
|
153
|
+
if (res.ok) {
|
|
154
|
+
identity.sha256 = node_crypto_1.default.createHash('sha256').update(Buffer.from(await res.arrayBuffer())).digest('hex');
|
|
155
|
+
identity.match = identity.sha256 === rootHex;
|
|
156
|
+
}
|
|
157
|
+
else
|
|
158
|
+
identity.fetchError = `GET → ${res.status}`;
|
|
159
|
+
}
|
|
160
|
+
catch (e) {
|
|
161
|
+
identity.fetchError = String(e?.message ?? e).slice(0, 120);
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
result.facts.identity = identity;
|
|
165
|
+
result.asserts.push({
|
|
166
|
+
id: 'scene.identity', pass: identity.match && identity.requested, severity: 'block',
|
|
167
|
+
detail: identity.match
|
|
168
|
+
? `the scene document the Home runtime streamed (${shellUrl?.split('/').slice(-3).join('/')}) hashes to the pinned root ${rootHex?.slice(0, 12)}…`
|
|
169
|
+
: !shellUrl ? 'the Home frame was not given a scene document (no shell= parameter)'
|
|
170
|
+
: identity.sha256 ? `the scene document the runtime streams hashes to ${identity.sha256.slice(0, 12)}…, not the pinned root ${rootHex?.slice(0, 12)}…: the visitor is walking a different version than the one pinned`
|
|
171
|
+
: `the scene document the runtime streams (${shellUrl.split('/').slice(-2).join('/')}) could not be read to compare with the pinned root ${rootHex?.slice(0, 12)}… (${identity.fetchError ?? 'no answer'}): the visitor is not shown a Scene v2 document of the pinned version`,
|
|
172
|
+
measured: { shell: shellUrl, sha256: identity.sha256, pinned: rootHex, requestedByPage: identity.requested },
|
|
173
|
+
});
|
|
174
|
+
// ── chrome: leave only the Home canvas (HUD, prompts and the page shell are not the scene) ─────────────────
|
|
175
|
+
await hideChrome(b.page, frame);
|
|
176
|
+
// ── spawn ───────────────────────────────────────────────────────────────────────────────────────────────────
|
|
177
|
+
const p0 = await player(frame);
|
|
178
|
+
await sleep(1000);
|
|
179
|
+
const p1 = await player(frame);
|
|
180
|
+
const dxz = Math.hypot(p1[0] - spawnPos[0], p1[2] - spawnPos[2]);
|
|
181
|
+
const dy = Math.abs(p1[1] - spawnPos[1]);
|
|
182
|
+
const settled = Math.abs(p1[1] - p0[1]) <= exports.SETTLED_DY_M;
|
|
183
|
+
const inBounds = !bmin || !bmax || (p1[0] >= bmin[0] && p1[0] <= bmax[0] && p1[2] >= bmin[2] && p1[2] <= bmax[2] && p1[1] >= bmin[1] - 1 && p1[1] <= bmax[1] + 1);
|
|
184
|
+
result.facts.spawn = { declared: spawnPos, player: p1, dxz: r3(dxz), dy: r3(dy), settled, inBounds };
|
|
185
|
+
const spawnOk = Number.isFinite(dxz) && dxz <= exports.SPAWN_XZ_TOLERANCE_M && dy <= exports.SPAWN_Y_TOLERANCE_M && settled && inBounds;
|
|
186
|
+
result.asserts.push({
|
|
187
|
+
id: 'scene.spawn_valid', pass: spawnOk, severity: 'block',
|
|
188
|
+
detail: spawnOk
|
|
189
|
+
? `the visitor appears at (${p1.map((v) => v.toFixed(2)).join(', ')}), ${dxz.toFixed(2)} m from the declared spawn, standing still inside the placement bounds`
|
|
190
|
+
: `the visitor appears at (${p1.map((v) => v.toFixed(2)).join(', ')}) but the document declares (${spawnPos.join(', ')}): ${dxz > exports.SPAWN_XZ_TOLERANCE_M || dy > exports.SPAWN_Y_TOLERANCE_M ? `${dxz.toFixed(1)} m horizontally and ${dy.toFixed(1)} m vertically away` : ''}${settled ? '' : ' still falling/moving after 1 s (nothing under the spawn?)'}${inBounds ? '' : ' outside the placement bounds'}`,
|
|
191
|
+
measured: { declared: spawnPos, player: p1, dxz: r3(dxz), dy: r3(dy), settled, inBounds },
|
|
192
|
+
});
|
|
193
|
+
// ── standpoints picked from the live scene ───────────────────────────────────────────────────────────────────
|
|
194
|
+
const frames = [];
|
|
195
|
+
const images = [];
|
|
196
|
+
const shoot = async (id, label, group) => {
|
|
197
|
+
await frame.evaluate(() => __vqv.frames(6));
|
|
198
|
+
await sleep(250);
|
|
199
|
+
const file = node_path_1.default.join('frames', `${id.replace(/[^A-Za-z0-9._-]/g, '_')}.jpg`);
|
|
200
|
+
const abs = node_path_1.default.join(ctx.outDir, file);
|
|
201
|
+
node_fs_1.default.mkdirSync(node_path_1.default.dirname(abs), { recursive: true });
|
|
202
|
+
const loc = b.page.locator('iframe[src*="first-party-runtimes/home"]').first();
|
|
203
|
+
node_fs_1.default.writeFileSync(abs, await (0, shot_1.shotJpeg)(b.page, loc));
|
|
204
|
+
const box = await loc.boundingBox();
|
|
205
|
+
const f = { id, label, group, file, width: Math.round(box?.width ?? 0), height: Math.round(box?.height ?? 0) };
|
|
206
|
+
result.frames.push(f);
|
|
207
|
+
frames.push(f);
|
|
208
|
+
images.push({ ...(await (0, commonAsserts_1.imageStats)(abs)), file });
|
|
209
|
+
};
|
|
210
|
+
await shoot('scene.arrival', `${title} — arrival: what the visitor sees on entering`, 'exterior');
|
|
211
|
+
const cardinal = [['east', [1, 0, 0]], ['south', [0, 0, 1]], ['west', [-1, 0, 0]], ['north', [0, 0, -1]]];
|
|
212
|
+
for (const [name, d] of cardinal) {
|
|
213
|
+
await frame.evaluate(([pos, dir]) => window.__helixDevicesDebug.teleport(pos, [pos[0] + dir[0] * 10, pos[1], pos[2] + dir[2] * 10]), [p1, d]);
|
|
214
|
+
await settleScene(frame, 2500);
|
|
215
|
+
await shoot(`scene.spawn.${name}`, `${title} — from the spawn point, looking ${name}`, 'exterior');
|
|
216
|
+
}
|
|
217
|
+
const points = await pickStandpoints(frame, p1);
|
|
218
|
+
result.facts.standpoints = points;
|
|
219
|
+
const walked = [];
|
|
220
|
+
for (const sp of points) {
|
|
221
|
+
await frame.evaluate(([pos, look]) => window.__helixDevicesDebug.teleport(pos, look), [sp.pos, sp.look]);
|
|
222
|
+
await settleScene(frame, 3500);
|
|
223
|
+
const a = await player(frame);
|
|
224
|
+
await sleep(900);
|
|
225
|
+
const c = await player(frame);
|
|
226
|
+
const stood = Math.abs(c[1] - sp.floorY) <= exports.STAND_Y_TOLERANCE_M && Math.abs(c[1] - a[1]) <= exports.SETTLED_DY_M;
|
|
227
|
+
walked.push({ id: sp.id, target: sp.pos, floorY: sp.floorY, landed: c, stood, dy: r3(c[1] - sp.floorY) });
|
|
228
|
+
await shoot(`scene.${sp.id}`, `${title} — ${sp.label}`, sp.group);
|
|
229
|
+
}
|
|
230
|
+
result.facts.walked = walked;
|
|
231
|
+
const fell = walked.filter((w) => !w.stood);
|
|
232
|
+
const walkOk = walked.length >= exports.MIN_STANDPOINTS && fell.length === 0;
|
|
233
|
+
result.asserts.push({
|
|
234
|
+
id: 'scene.walkable', pass: walkOk, severity: 'block',
|
|
235
|
+
detail: walked.length < exports.MIN_STANDPOINTS
|
|
236
|
+
? `only ${walked.length} standpoint(s) with a floor under them could be found from the spawn (needs ≥ ${exports.MIN_STANDPOINTS}): the visitor has nowhere to go`
|
|
237
|
+
: fell.length
|
|
238
|
+
? `the visitor did not stay on the floor at ${fell.length} of ${walked.length} standpoints (${fell.map((w) => `${w.id}: landed ${w.dy.toFixed(1)} m from the probed floor`).join('; ')}) — collision is missing under walkable floor`
|
|
239
|
+
: `the visitor stood on the floor at all ${walked.length} standpoints probed from the live scene (within ${exports.STAND_Y_TOLERANCE_M} m of the floor, settled)`,
|
|
240
|
+
measured: { walked },
|
|
241
|
+
});
|
|
242
|
+
// ── geometry over the whole scene ───────────────────────────────────────────────────────────────────────────
|
|
243
|
+
const stats = (await frame.evaluate(() => {
|
|
244
|
+
const s = window.__vqa.scene;
|
|
245
|
+
s.updateMatrixWorld(true);
|
|
246
|
+
const sphere = (o) => { const g = o.geometry; if (!g)
|
|
247
|
+
return 0; if (!g.boundingSphere)
|
|
248
|
+
g.computeBoundingSphere(); const bs = g.boundingSphere; if (!bs)
|
|
249
|
+
return 0; const e = o.matrixWorld.elements; const sc = Math.max(Math.hypot(e[0], e[1], e[2]), Math.hypot(e[4], e[5], e[6]), Math.hypot(e[8], e[9], e[10])); return bs.radius * sc; };
|
|
250
|
+
let sky = 0;
|
|
251
|
+
const out = __vqaStats(s, { exclude: (o) => { if (o.isSkinnedMesh)
|
|
252
|
+
return true; if (sphere(o) > 1500) {
|
|
253
|
+
sky++;
|
|
254
|
+
return true;
|
|
255
|
+
} return false; } });
|
|
256
|
+
return { ...out, skyScaleMeshesExcluded: sky };
|
|
257
|
+
}));
|
|
258
|
+
result.facts.sceneStats = { ...stats, bounds: stats.bounds };
|
|
259
|
+
const sb = stats.bounds;
|
|
260
|
+
const overlaps = !!sb && (!bmin || !bmax || (sb.min[0] <= bmax[0] && sb.max[0] >= bmin[0] && sb.min[1] <= bmax[1] && sb.max[1] >= bmin[1] && sb.min[2] <= bmax[2] && sb.max[2] >= bmin[2]));
|
|
261
|
+
const holdsSpawn = !!sb && spawnPos[0] >= sb.min[0] - 2 && spawnPos[0] <= sb.max[0] + 2 && spawnPos[2] >= sb.min[2] - 2 && spawnPos[2] <= sb.max[2] + 2;
|
|
262
|
+
const extent = sb ? Math.max(...sb.size) : 0;
|
|
263
|
+
const plausible = !!sb && overlaps && holdsSpawn && extent >= exports.MIN_SCENE_EXTENT_M;
|
|
264
|
+
result.asserts.push({
|
|
265
|
+
id: 'scene.bounds_plausible', pass: plausible, severity: 'block',
|
|
266
|
+
detail: !sb ? 'the scene drew no measurable geometry'
|
|
267
|
+
: plausible
|
|
268
|
+
? `the drawn scene spans ${sb.size.map((v) => v.toFixed(1)).join(' × ')} m, overlaps the declared placement bounds and contains the spawn point`
|
|
269
|
+
: `the drawn scene (${sb.size.map((v) => v.toFixed(1)).join(' × ')} m, y ${sb.min[1].toFixed(1)}…${sb.max[1].toFixed(1)}) ${!overlaps ? 'does not overlap the declared placement bounds' : !holdsSpawn ? 'does not contain the spawn point' : `is under ${exports.MIN_SCENE_EXTENT_M} m`}`,
|
|
270
|
+
measured: { drawn: sb, placement: bounds, spawn: spawnPos, skyScaleMeshesExcluded: stats.skyScaleMeshesExcluded },
|
|
271
|
+
});
|
|
272
|
+
result.asserts.push(...(0, commonAsserts_1.commonAsserts)('scene', stats, images, { minTriangles: 200 }));
|
|
273
|
+
result.renderer = await (0, browser_1.rendererInfo)(b.page);
|
|
274
|
+
}
|
|
275
|
+
finally {
|
|
276
|
+
result.fetchedAssets = [...new Set([...b.fetchedAssets, ...requests])].slice(0, 400);
|
|
277
|
+
if (b.pageErrors.length)
|
|
278
|
+
result.facts.pageErrors = b.pageErrors.slice(0, 20);
|
|
279
|
+
await b.close();
|
|
280
|
+
}
|
|
281
|
+
timings.total = Date.now() - started;
|
|
282
|
+
return result;
|
|
283
|
+
};
|
|
284
|
+
exports.renderScene = renderScene;
|
|
285
|
+
async function player(frame) {
|
|
286
|
+
const p = (await frame.evaluate(() => { const q = window.__helixDevicesDebug?.player; return q ? [q.x, q.y, q.z] : null; }));
|
|
287
|
+
return (p ?? [NaN, NaN, NaN]);
|
|
288
|
+
}
|
|
289
|
+
/** Wait until the drawn mesh count stops changing (the streamer has caught up) and at least `minMs` has passed. */
|
|
290
|
+
async function settleScene(frame, minMs) {
|
|
291
|
+
const t0 = Date.now();
|
|
292
|
+
let last = -1;
|
|
293
|
+
let same = 0;
|
|
294
|
+
let n = 0;
|
|
295
|
+
while (Date.now() - t0 < 45_000) {
|
|
296
|
+
n = (await frame.evaluate(() => { let c = 0; window.__vqa.scene.traverse((o) => { if (o.isMesh && o.visible)
|
|
297
|
+
c++; }); return c; }).catch(() => -1));
|
|
298
|
+
if (n === last && n > 0) {
|
|
299
|
+
same++;
|
|
300
|
+
}
|
|
301
|
+
else {
|
|
302
|
+
same = 0;
|
|
303
|
+
last = n;
|
|
304
|
+
}
|
|
305
|
+
if (same >= 4 && Date.now() - t0 >= minMs)
|
|
306
|
+
return n;
|
|
307
|
+
await sleep(800);
|
|
308
|
+
}
|
|
309
|
+
return n;
|
|
310
|
+
}
|
|
311
|
+
/** Hide everything on the page (and in the Home frame) that is not the Home canvas: HUD, prompts, the shell. */
|
|
312
|
+
async function hideChrome(page, frame) {
|
|
313
|
+
await frame.evaluate(() => __vqv.isolateCanvas());
|
|
314
|
+
await page.evaluate(() => {
|
|
315
|
+
const el = document.querySelector('iframe[src*="first-party-runtimes/home"]');
|
|
316
|
+
if (!el)
|
|
317
|
+
return;
|
|
318
|
+
for (let node = el; node && node !== document.body && node.parentElement; node = node.parentElement) {
|
|
319
|
+
for (const sib of node.parentElement.children)
|
|
320
|
+
if (sib !== node && sib.style) {
|
|
321
|
+
sib.style.setProperty('visibility', 'hidden', 'important');
|
|
322
|
+
sib.style.setProperty('opacity', '0', 'important');
|
|
323
|
+
}
|
|
324
|
+
}
|
|
325
|
+
});
|
|
326
|
+
}
|
|
327
|
+
/**
|
|
328
|
+
* Choose up to four extra standpoints from the live scene: one far overview, up to three INTERIOR points (a floor under
|
|
329
|
+
* the feet and a ceiling 2–7 m overhead, found by ray probes over a grid around the spawn on three levels) and, when the
|
|
330
|
+
* spawn has no interior near it, walk-ins along free directions. Every point has a verified floor.
|
|
331
|
+
*/
|
|
332
|
+
async function pickStandpoints(frame, from) {
|
|
333
|
+
const free = (await frame.evaluate(([origin]) => {
|
|
334
|
+
const dbg = window.__helixDevicesDebug;
|
|
335
|
+
const out = [];
|
|
336
|
+
for (let k = 0; k < 8; k++) {
|
|
337
|
+
const a = (k / 8) * Math.PI * 2;
|
|
338
|
+
const d = [Math.sin(a), 0, Math.cos(a)];
|
|
339
|
+
const hit = dbg.probe([origin[0] + d[0] * 0.8, origin[1] + 1.4, origin[2] + d[2] * 0.8], d);
|
|
340
|
+
out.push({ dir: d, len: hit ? hit.distance : 60 });
|
|
341
|
+
}
|
|
342
|
+
return out;
|
|
343
|
+
}, [from]));
|
|
344
|
+
free.sort((a, b) => b.len - a.len);
|
|
345
|
+
const floorAt = async (x, y, z) => (await frame.evaluate(([px, py, pz]) => {
|
|
346
|
+
const hit = window.__helixDevicesDebug.probe([px, py + 1.2, pz], [0, -1, 0]);
|
|
347
|
+
return hit && hit.normal && hit.normal[1] > 0.5 && hit.distance < 5 ? hit.point[1] : null;
|
|
348
|
+
}, [x, y, z]));
|
|
349
|
+
const out = [];
|
|
350
|
+
// Far overview: the longest free direction, as far out as there is floor, looking back at the spawn.
|
|
351
|
+
const top = free[0];
|
|
352
|
+
for (const f of [0.85, 0.6, 0.4, 0.25]) {
|
|
353
|
+
const reach = Math.min(top.len * f, 40);
|
|
354
|
+
if (reach < 4)
|
|
355
|
+
continue;
|
|
356
|
+
const x = from[0] + top.dir[0] * reach;
|
|
357
|
+
const z = from[2] + top.dir[2] * reach;
|
|
358
|
+
const fy = await floorAt(x, from[1], z);
|
|
359
|
+
if (fy === null)
|
|
360
|
+
continue;
|
|
361
|
+
out.push({ id: 'overview', label: `overview from ${reach.toFixed(0)} m out, looking back at the spawn`, group: 'exterior', pos: [x, fy + 0.1, z], look: [from[0], from[1] + 1.5, from[2]], floorY: fy });
|
|
362
|
+
break;
|
|
363
|
+
}
|
|
364
|
+
// Interior candidates: floor underfoot, a ceiling overhead.
|
|
365
|
+
const cands = (await frame.evaluate(([origin]) => {
|
|
366
|
+
const dbg = window.__helixDevicesDebug;
|
|
367
|
+
const found = [];
|
|
368
|
+
for (const dyLevel of [0, 4, -4]) {
|
|
369
|
+
for (let gx = -42; gx <= 42; gx += 6) {
|
|
370
|
+
for (let gz = -42; gz <= 42; gz += 6) {
|
|
371
|
+
const x = origin[0] + gx, z = origin[2] + gz;
|
|
372
|
+
const down = dbg.probe([x, origin[1] + dyLevel + 2.5, z], [0, -1, 0]);
|
|
373
|
+
if (!down || !down.normal || down.normal[1] < 0.6 || down.distance > 8)
|
|
374
|
+
continue;
|
|
375
|
+
const fy = down.point[1];
|
|
376
|
+
const up = dbg.probe([x, fy + 0.3, z], [0, 1, 0]);
|
|
377
|
+
if (up && up.distance >= 2 && up.distance <= 7)
|
|
378
|
+
found.push({ x, z, y: fy, ceil: up.distance });
|
|
379
|
+
}
|
|
380
|
+
}
|
|
381
|
+
}
|
|
382
|
+
return found;
|
|
383
|
+
}, [from]));
|
|
384
|
+
const picked = [];
|
|
385
|
+
const pool = cands.filter((c) => Math.hypot(c.x - from[0], c.z - from[2]) >= 4);
|
|
386
|
+
while (picked.length < 3 && pool.length) {
|
|
387
|
+
// Farthest-point sampling: the candidate farthest from the spawn and from everything already picked.
|
|
388
|
+
let best = -1;
|
|
389
|
+
let bestD = -1;
|
|
390
|
+
pool.forEach((c, i) => { const d = Math.min(Math.hypot(c.x - from[0], c.z - from[2]), ...picked.map((p) => Math.hypot(c.x - p.x, c.z - p.z))); if (d > bestD) {
|
|
391
|
+
bestD = d;
|
|
392
|
+
best = i;
|
|
393
|
+
} });
|
|
394
|
+
if (bestD < 5)
|
|
395
|
+
break;
|
|
396
|
+
picked.push(pool.splice(best, 1)[0]);
|
|
397
|
+
}
|
|
398
|
+
let n = 0;
|
|
399
|
+
for (const c of picked) {
|
|
400
|
+
n++;
|
|
401
|
+
// Look along the longest clear line of sight from there (a room's long axis), not at the nearest wall.
|
|
402
|
+
const sight = (await frame.evaluate(([x, y, z]) => {
|
|
403
|
+
const dbg = window.__helixDevicesDebug;
|
|
404
|
+
let bestLen = -1;
|
|
405
|
+
let bestDir = [0, 0, 1];
|
|
406
|
+
for (let k = 0; k < 8; k++) {
|
|
407
|
+
const a = (k / 8) * Math.PI * 2;
|
|
408
|
+
const d = [Math.sin(a), 0, Math.cos(a)];
|
|
409
|
+
const hit = dbg.probe([x, y + 1.4, z], d);
|
|
410
|
+
const len = hit ? hit.distance : 30;
|
|
411
|
+
if (len > bestLen) {
|
|
412
|
+
bestLen = len;
|
|
413
|
+
bestDir = d;
|
|
414
|
+
}
|
|
415
|
+
}
|
|
416
|
+
return { dir: bestDir, len: bestLen };
|
|
417
|
+
}, [c.x, c.y, c.z]));
|
|
418
|
+
out.push({ id: `interior${n}`, label: `inside, ${Math.hypot(c.x - from[0], c.z - from[2]).toFixed(0)} m from the spawn, looking along the longest sight line (${sight.len.toFixed(0)} m)`, group: 'interior', pos: [c.x, c.y + 0.1, c.z], look: [c.x + sight.dir[0] * 10, c.y + 1.5, c.z + sight.dir[2] * 10], floorY: c.y });
|
|
419
|
+
}
|
|
420
|
+
// No interior near the spawn: fall back to walk-ins along free directions.
|
|
421
|
+
const used = out.length ? [top.dir] : [];
|
|
422
|
+
const near = (d) => used.some((u) => u[0] * d[0] + u[2] * d[2] > 0.7);
|
|
423
|
+
let w = 0;
|
|
424
|
+
for (const cand of free.slice(1)) {
|
|
425
|
+
if (out.length >= 4)
|
|
426
|
+
break;
|
|
427
|
+
if (near(cand.dir) || cand.len < 3)
|
|
428
|
+
continue;
|
|
429
|
+
for (const f of [0.6, 0.4]) {
|
|
430
|
+
const reach = Math.min(cand.len * f, 14);
|
|
431
|
+
const x = from[0] + cand.dir[0] * reach;
|
|
432
|
+
const z = from[2] + cand.dir[2] * reach;
|
|
433
|
+
const fy = await floorAt(x, from[1], z);
|
|
434
|
+
if (fy === null)
|
|
435
|
+
continue;
|
|
436
|
+
w++;
|
|
437
|
+
out.push({ id: `walk${w}`, label: `${reach.toFixed(0)} m from the spawn, looking onward`, group: 'exterior', pos: [x, fy + 0.1, z], look: [x + cand.dir[0] * 10, fy + 1.5, z + cand.dir[2] * 10], floorY: fy });
|
|
438
|
+
used.push(cand.dir);
|
|
439
|
+
break;
|
|
440
|
+
}
|
|
441
|
+
}
|
|
442
|
+
return out;
|
|
443
|
+
}
|
|
444
|
+
const LEGACY_SPAWN_XZ_M = 0.75;
|
|
445
|
+
const LEGACY_SPAWN_Y_M = 1.2;
|
|
446
|
+
const LEGACY_WALK_MIN_M = 0.6;
|
|
447
|
+
const LEGACY_WALK_MAX_DY_M = 0.7;
|
|
448
|
+
async function runLegacy(ctx, b, frame, result, input) {
|
|
449
|
+
const item = ctx.resolved;
|
|
450
|
+
const title = item.identity.title;
|
|
451
|
+
result.facts.runtime = 'legacy-home-shell';
|
|
452
|
+
const { shellUrl } = input;
|
|
453
|
+
// identity
|
|
454
|
+
const assets = (item.item.assets ?? []);
|
|
455
|
+
const readyShell = assets.filter((a) => a.rendition === 'home-shell' && (a.status ?? 'ready') === 'ready').map((a) => a.cdnUrl);
|
|
456
|
+
let manifest = null;
|
|
457
|
+
let manifestError = null;
|
|
458
|
+
// The runtime is given the bundle's directory; the manifest sits at <dir>/world.json.
|
|
459
|
+
const manifestUrl = shellUrl ? (/\.json(\?|$)/.test(shellUrl) ? shellUrl : `${shellUrl.replace(/\/$/, '')}/world.json`) : null;
|
|
460
|
+
if (manifestUrl) {
|
|
461
|
+
try {
|
|
462
|
+
const res = await fetch(manifestUrl);
|
|
463
|
+
if (res.ok)
|
|
464
|
+
manifest = (await res.json());
|
|
465
|
+
else
|
|
466
|
+
manifestError = `GET → ${res.status}`;
|
|
467
|
+
}
|
|
468
|
+
catch (e) {
|
|
469
|
+
manifestError = String(e?.message ?? e).slice(0, 120);
|
|
470
|
+
}
|
|
471
|
+
}
|
|
472
|
+
const sameAsset = !!manifestUrl && readyShell.includes(manifestUrl);
|
|
473
|
+
const forThisItem = manifest?.format === 'helix.home.shell/1' && manifest?.generator?.itemId === item.identity.itemId;
|
|
474
|
+
const derivedFromShell = !!manifest?.id && !!input.provenanceSource && input.provenanceSource.includes(manifest.id);
|
|
475
|
+
result.facts.identity = { runtime: 'legacy-home-shell', shellUrl, readyShellAssets: readyShell, manifestId: manifest?.id ?? null, manifestItemId: manifest?.generator?.itemId ?? null, provenance: input.provenanceSource, requested: !!manifestUrl && input.requests.some((u) => u.startsWith(shellUrl)), manifestUrl, manifestError };
|
|
476
|
+
result.asserts.push({
|
|
477
|
+
id: 'scene.identity', pass: sameAsset && forThisItem && derivedFromShell && !!shellUrl && input.requests.some((u) => u.startsWith(shellUrl)), severity: 'block',
|
|
478
|
+
detail: sameAsset && forThisItem && derivedFromShell
|
|
479
|
+
? `legacy home-shell lane: the visitor streams the item's own Ready HomeShell asset (${manifest?.id}, compiled for this item) and the pinned Scene Package ${input.rootHex?.slice(0, 12)}… was derived from that shell (provenance "${input.provenanceSource}"). The visitor does NOT stream the pinned Scene document itself on this lane.`
|
|
480
|
+
: !shellUrl ? 'the Home frame was not given a shell (no shell= parameter)'
|
|
481
|
+
: !sameAsset ? `the runtime streams ${shellUrl.split('/').slice(-3).join('/')}, which is not the item's Ready HomeShell asset (${readyShell.map((u) => u?.split('/').slice(-3).join('/')).join(', ') || 'none'})`
|
|
482
|
+
: !forThisItem ? `the shell manifest (${manifestError ?? `${manifest?.format}, itemId ${manifest?.generator?.itemId}`}) was not compiled for this item`
|
|
483
|
+
: `the pinned Scene Package's provenance ("${input.provenanceSource}") does not name the streamed shell "${manifest?.id}": the pinned version is not what was derived from the shell the visitor walks`,
|
|
484
|
+
measured: { runtime: 'legacy-home-shell', shell: shellUrl, readyShellAssets: readyShell, manifestId: manifest?.id ?? null, provenance: input.provenanceSource, pinnedRoot: input.rootHex },
|
|
485
|
+
});
|
|
486
|
+
await hideChrome(b.page, frame);
|
|
487
|
+
// The player's own body is the ground truth for "where the visitor stands".
|
|
488
|
+
const body = async () => (await frame.evaluate(() => {
|
|
489
|
+
const s = window.__vqa.scene;
|
|
490
|
+
s.updateMatrixWorld(true);
|
|
491
|
+
let best = null;
|
|
492
|
+
s.traverse((o) => { if (!best && o.isSkinnedMesh && o.visible)
|
|
493
|
+
best = o; });
|
|
494
|
+
if (!best)
|
|
495
|
+
return null;
|
|
496
|
+
const e = best.matrixWorld.elements;
|
|
497
|
+
return [e[12], e[13], e[14]];
|
|
498
|
+
}));
|
|
499
|
+
const spawn = manifest?.spawnPoint?.position ? [manifest.spawnPoint.position.x, manifest.spawnPoint.position.y, manifest.spawnPoint.position.z] : null;
|
|
500
|
+
const p0 = await body();
|
|
501
|
+
await sleep(1000);
|
|
502
|
+
const p1 = await body();
|
|
503
|
+
const settled = !!p0 && !!p1 && Math.abs(p1[1] - p0[1]) <= exports.SETTLED_DY_M && Math.hypot(p1[0] - p0[0], p1[2] - p0[2]) <= 0.05;
|
|
504
|
+
const dxz = p1 && spawn ? Math.hypot(p1[0] - spawn[0], p1[2] - spawn[2]) : NaN;
|
|
505
|
+
const dy = p1 && spawn ? Math.abs(p1[1] - spawn[1]) : NaN;
|
|
506
|
+
const bmin = spawn && manifest?.metrics?.boundsM ? manifest.metrics.boundsM.min : input.bmin;
|
|
507
|
+
const bmax = spawn && manifest?.metrics?.boundsM ? manifest.metrics.boundsM.max : input.bmax;
|
|
508
|
+
const spawnOk = !!p1 && !!spawn && dxz <= LEGACY_SPAWN_XZ_M && dy <= LEGACY_SPAWN_Y_M && settled;
|
|
509
|
+
result.facts.spawn = { declared: spawn, player: p1, dxz: r3(dxz), dy: r3(dy), settled };
|
|
510
|
+
result.asserts.push({
|
|
511
|
+
id: 'scene.spawn_valid', pass: spawnOk, severity: 'block',
|
|
512
|
+
detail: spawnOk
|
|
513
|
+
? `the visitor's body stands at (${p1.map((v) => v.toFixed(2)).join(', ')}), ${dxz.toFixed(2)} m from the shell's declared spawn point, standing still`
|
|
514
|
+
: !p1 ? 'no player body was drawn in the Home' : !spawn ? 'the shell manifest declares no spawn point'
|
|
515
|
+
: `the visitor's body is at (${p1.map((v) => v.toFixed(2)).join(', ')}) but the shell declares (${spawn.join(', ')}): ${dxz.toFixed(1)} m horizontally, ${dy.toFixed(1)} m vertically${settled ? '' : ', and still moving'}`,
|
|
516
|
+
measured: { declared: spawn, player: p1, dxz: r3(dxz), dy: r3(dy), settled },
|
|
517
|
+
});
|
|
518
|
+
// walkable: a floor under the player, and a held W moves the player along it.
|
|
519
|
+
const floorAt = async (pts, fromY) => (await frame.evaluate(([p, y]) => window.__helixHomeFloorProbe ? window.__helixHomeFloorProbe(p, y) : null, [pts, fromY]).catch(() => null)) ?? [];
|
|
520
|
+
const under = p1 ? (await floorAt([{ x: p1[0], z: p1[2] }], p1[1] + 1.2))?.[0] ?? null : null;
|
|
521
|
+
const standsOnFloor = !!under && under.surfaceY !== null && Math.abs((p1?.[1] ?? 0) - under.surfaceY) <= 0.35;
|
|
522
|
+
let walked = 0;
|
|
523
|
+
let walkDy = NaN;
|
|
524
|
+
let walkError = null;
|
|
525
|
+
try {
|
|
526
|
+
await b.page.locator('iframe[src*="first-party-runtimes/home"]').first().click({ position: { x: 640, y: 400 }, timeout: 5000 }).catch(() => undefined);
|
|
527
|
+
const before = await body();
|
|
528
|
+
await b.page.keyboard.down('w');
|
|
529
|
+
await sleep(2500);
|
|
530
|
+
await b.page.keyboard.up('w');
|
|
531
|
+
await sleep(600);
|
|
532
|
+
const after = await body();
|
|
533
|
+
if (before && after) {
|
|
534
|
+
walked = Math.hypot(after[0] - before[0], after[2] - before[2]);
|
|
535
|
+
walkDy = after[1] - before[1];
|
|
536
|
+
}
|
|
537
|
+
}
|
|
538
|
+
catch (e) {
|
|
539
|
+
walkError = String(e?.message ?? e).slice(0, 120);
|
|
540
|
+
}
|
|
541
|
+
const walkOk = standsOnFloor && walked >= LEGACY_WALK_MIN_M && Math.abs(walkDy) <= LEGACY_WALK_MAX_DY_M;
|
|
542
|
+
result.facts.walkable = { floorUnderPlayer: under, standsOnFloor, walkedM: r3(walked), walkDy: r3(walkDy), walkError };
|
|
543
|
+
result.asserts.push({
|
|
544
|
+
id: 'scene.walkable', pass: walkOk, severity: 'block',
|
|
545
|
+
detail: walkOk
|
|
546
|
+
? `a floor (y ${under?.surfaceY?.toFixed(2)}) lies under the visitor and holding W walked them ${walked.toFixed(1)} m along it (height change ${walkDy.toFixed(2)} m)`
|
|
547
|
+
: !standsOnFloor ? `no floor within 35 cm under the visitor's feet (probe: ${under?.surfaceY ?? 'none'} vs body ${p1?.[1]?.toFixed(2)})`
|
|
548
|
+
: `holding W moved the visitor only ${Number.isFinite(walked) ? walked.toFixed(2) : '?'} m (needs ≥ ${LEGACY_WALK_MIN_M}) with a ${Number.isFinite(walkDy) ? walkDy.toFixed(2) : '?'} m height change${walkError ? ` (${walkError})` : ''}`,
|
|
549
|
+
measured: { under, walked: r3(walked), walkDy: r3(walkDy) },
|
|
550
|
+
});
|
|
551
|
+
// frames
|
|
552
|
+
const images = [];
|
|
553
|
+
const shoot = async (id, label, group) => {
|
|
554
|
+
await frame.evaluate(() => __vqv.frames(6));
|
|
555
|
+
await sleep(300);
|
|
556
|
+
const file = node_path_1.default.join('frames', `${id.replace(/[^A-Za-z0-9._-]/g, '_')}.jpg`);
|
|
557
|
+
const abs = node_path_1.default.join(ctx.outDir, file);
|
|
558
|
+
node_fs_1.default.mkdirSync(node_path_1.default.dirname(abs), { recursive: true });
|
|
559
|
+
const loc = b.page.locator('iframe[src*="first-party-runtimes/home"]').first();
|
|
560
|
+
node_fs_1.default.writeFileSync(abs, await (0, shot_1.shotJpeg)(b.page, loc));
|
|
561
|
+
const box = await loc.boundingBox();
|
|
562
|
+
result.frames.push({ id, label, group, file, width: Math.round(box?.width ?? 0), height: Math.round(box?.height ?? 0) });
|
|
563
|
+
images.push({ ...(await (0, commonAsserts_1.imageStats)(abs)), file });
|
|
564
|
+
};
|
|
565
|
+
await shoot('scene.arrival', `${title} — the visitor on arrival, in the game's own third-person camera`, 'exterior');
|
|
566
|
+
// Our own camera: wrap the render call so a pose we set survives the game's per-frame camera follow.
|
|
567
|
+
await frame.evaluate(() => {
|
|
568
|
+
const H = window.__vqa;
|
|
569
|
+
if (window.__vqCamHooked)
|
|
570
|
+
return;
|
|
571
|
+
window.__vqCamHooked = true;
|
|
572
|
+
for (const r of H.renderers) {
|
|
573
|
+
const orig = r.render.bind(r);
|
|
574
|
+
r.render = (scene, camera) => {
|
|
575
|
+
const o = window.__vqCam;
|
|
576
|
+
if (o && camera === H.main) {
|
|
577
|
+
camera.position.set(o.pos[0], o.pos[1], o.pos[2]);
|
|
578
|
+
camera.up.set(0, 1, 0);
|
|
579
|
+
camera.lookAt(o.look[0], o.look[1], o.look[2]);
|
|
580
|
+
if (o.fov) {
|
|
581
|
+
camera.fov = o.fov;
|
|
582
|
+
camera.updateProjectionMatrix();
|
|
583
|
+
}
|
|
584
|
+
camera.updateMatrixWorld(true);
|
|
585
|
+
}
|
|
586
|
+
return orig(scene, camera);
|
|
587
|
+
};
|
|
588
|
+
}
|
|
589
|
+
});
|
|
590
|
+
const place = async (pos, look, fov = 70) => { await frame.evaluate(([p, l, f]) => { window.__vqCam = { pos: p, look: l, fov: f }; }, [pos, look, fov]); await sleep(500); };
|
|
591
|
+
// The drawn scene without sky domes and the player.
|
|
592
|
+
const stats = (await frame.evaluate(() => {
|
|
593
|
+
const s = window.__vqa.scene;
|
|
594
|
+
s.updateMatrixWorld(true);
|
|
595
|
+
const radius = (o) => { const g = o.geometry; if (!g)
|
|
596
|
+
return 0; if (!g.boundingSphere)
|
|
597
|
+
g.computeBoundingSphere(); const bs = g.boundingSphere; if (!bs)
|
|
598
|
+
return 0; const e = o.matrixWorld.elements; return bs.radius * Math.max(Math.hypot(e[0], e[1], e[2]), Math.hypot(e[4], e[5], e[6]), Math.hypot(e[8], e[9], e[10])); };
|
|
599
|
+
let sky = 0;
|
|
600
|
+
const out = window.__vqaStats(s, { exclude: (o) => { if (o.isSkinnedMesh)
|
|
601
|
+
return true; if (radius(o) > 1500) {
|
|
602
|
+
sky++;
|
|
603
|
+
return true;
|
|
604
|
+
} return false; } });
|
|
605
|
+
return { ...out, skyScaleMeshesExcluded: sky };
|
|
606
|
+
}));
|
|
607
|
+
result.facts.sceneStats = { ...stats };
|
|
608
|
+
const sb = stats.bounds;
|
|
609
|
+
const centre = sb ? [(sb.min[0] + sb.max[0]) / 2, (sb.min[1] + sb.max[1]) / 2, (sb.min[2] + sb.max[2]) / 2] : (p1 ?? [0, 0, 0]);
|
|
610
|
+
const around = p1 ?? centre;
|
|
611
|
+
// Exterior: four views from outside the house looking at it, from the spawn side outwards (the spawn is a front court).
|
|
612
|
+
const reach = Math.min(Math.max(...(sb?.size ?? [30, 30, 30])) * 0.35, 45);
|
|
613
|
+
const dirs = [['east', [1, 0, 0]], ['south', [0, 0, 1]], ['west', [-1, 0, 0]], ['north', [0, 0, -1]]];
|
|
614
|
+
for (const [name, d] of dirs) {
|
|
615
|
+
await place([around[0] + d[0] * reach, around[1] + reach * 0.45, around[2] + d[2] * reach], [around[0], around[1] + 1, around[2]]);
|
|
616
|
+
await shoot(`scene.outside.${name}`, `${title} — from ${reach.toFixed(0)} m ${name} of the spawn, looking at it`, 'exterior');
|
|
617
|
+
}
|
|
618
|
+
// From the spawn at eye height in four directions: where the visitor actually is.
|
|
619
|
+
for (const [name, d] of dirs) {
|
|
620
|
+
await place([around[0], around[1] + 1.6, around[2]], [around[0] + d[0] * 8, around[1] + 1.4, around[2] + d[2] * 8], 75);
|
|
621
|
+
await shoot(`scene.spawn.${name}`, `${title} — from the spawn point at eye height, looking ${name}`, 'interior');
|
|
622
|
+
}
|
|
623
|
+
// Covered standpoints: floor + headroom probes on a grid at two storey heights around the spawn.
|
|
624
|
+
const grid = [];
|
|
625
|
+
for (let gx = -36; gx <= 36; gx += 3)
|
|
626
|
+
for (let gz = -36; gz <= 36; gz += 3)
|
|
627
|
+
grid.push({ x: around[0] + gx, z: around[2] + gz });
|
|
628
|
+
const hits = [];
|
|
629
|
+
for (const fromY of [around[1] + 1.5, around[1] + 3, around[1] + 6]) {
|
|
630
|
+
const res = await floorAt(grid, fromY);
|
|
631
|
+
for (const h of res ?? [])
|
|
632
|
+
if (h.surfaceY !== null && h.headroom >= 2 && h.headroom < 5.5)
|
|
633
|
+
hits.push({ x: h.x, z: h.z, y: h.surfaceY, head: h.headroom });
|
|
634
|
+
}
|
|
635
|
+
const picked = [];
|
|
636
|
+
const pool = hits.filter((h) => Math.hypot(h.x - around[0], h.z - around[2]) >= 3);
|
|
637
|
+
while (picked.length < 3 && pool.length) {
|
|
638
|
+
let best = -1;
|
|
639
|
+
let bd = -1;
|
|
640
|
+
pool.forEach((c, i) => { const d = Math.min(Math.hypot(c.x - around[0], c.z - around[2]), ...picked.map((q) => Math.hypot(c.x - q.x, c.z - q.z))); if (d > bd) {
|
|
641
|
+
bd = d;
|
|
642
|
+
best = i;
|
|
643
|
+
} });
|
|
644
|
+
if (bd < 4)
|
|
645
|
+
break;
|
|
646
|
+
picked.push(pool.splice(best, 1)[0]);
|
|
647
|
+
}
|
|
648
|
+
result.facts.interiorCandidates = { hits: hits.length, picked };
|
|
649
|
+
let n = 0;
|
|
650
|
+
for (const c of picked) {
|
|
651
|
+
n++;
|
|
652
|
+
// Look along the longest run of walkable floor from here (a room's long axis), not at the nearest wall.
|
|
653
|
+
const runs = [];
|
|
654
|
+
for (let k = 0; k < 8; k++) {
|
|
655
|
+
const a = (k / 8) * Math.PI * 2;
|
|
656
|
+
const probes = await floorAt([3, 6, 9, 12].map((r) => ({ x: c.x + Math.sin(a) * r, z: c.z + Math.cos(a) * r })), c.y + 1.2);
|
|
657
|
+
let run = 0;
|
|
658
|
+
for (const f of probes) {
|
|
659
|
+
if (f.surfaceY !== null && Math.abs(f.surfaceY - c.y) < 0.5)
|
|
660
|
+
run++;
|
|
661
|
+
else
|
|
662
|
+
break;
|
|
663
|
+
}
|
|
664
|
+
runs.push(run);
|
|
665
|
+
}
|
|
666
|
+
const k = runs.indexOf(Math.max(...runs));
|
|
667
|
+
const look = [c.x + Math.sin((k / 8) * Math.PI * 2) * 8, c.y + 1.4, c.z + Math.cos((k / 8) * Math.PI * 2) * 8];
|
|
668
|
+
await place([c.x, c.y + 1.5, c.z], look, 75);
|
|
669
|
+
await shoot(`scene.inside${n}`, `${title} — under cover (a ceiling ${c.head.toFixed(1)} m overhead), ${Math.hypot(c.x - around[0], c.z - around[2]).toFixed(0)} m from the spawn at floor height ${c.y.toFixed(1)} m`, 'interior');
|
|
670
|
+
}
|
|
671
|
+
await frame.evaluate(() => { window.__vqCam = null; });
|
|
672
|
+
// geometry
|
|
673
|
+
const mn = bmin;
|
|
674
|
+
const mx = bmax;
|
|
675
|
+
const overlaps = !!sb && (!mn || !mx || (sb.min[0] <= mx[0] + 5 && sb.max[0] >= mn[0] - 5 && sb.min[2] <= mx[2] + 5 && sb.max[2] >= mn[2] - 5));
|
|
676
|
+
const holdsSpawn = !!sb && !!spawn && spawn[0] >= sb.min[0] - 2 && spawn[0] <= sb.max[0] + 2 && spawn[2] >= sb.min[2] - 2 && spawn[2] <= sb.max[2] + 2;
|
|
677
|
+
const extent = sb ? Math.max(...sb.size) : 0;
|
|
678
|
+
result.asserts.push({
|
|
679
|
+
id: 'scene.bounds_plausible', pass: !!sb && overlaps && holdsSpawn && extent >= exports.MIN_SCENE_EXTENT_M && picked.length >= 1, severity: 'block',
|
|
680
|
+
detail: !sb ? 'the scene drew no measurable geometry'
|
|
681
|
+
: `the drawn scene spans ${sb.size.map((v) => v.toFixed(1)).join(' × ')} m, ${overlaps ? 'overlaps' : 'does NOT overlap'} the shell's declared bounds, ${holdsSpawn ? 'contains' : 'does NOT contain'} the spawn point, and ${picked.length} interior standpoint(s) with a floor and a ceiling 2–5.5 m overhead were found`,
|
|
682
|
+
measured: { drawn: sb, declared: { min: mn, max: mx }, spawn, interiorStandpoints: picked.length, skyScaleMeshesExcluded: stats.skyScaleMeshesExcluded },
|
|
683
|
+
});
|
|
684
|
+
result.asserts.push(...(0, commonAsserts_1.commonAsserts)('scene', stats, images, { minTriangles: 200 }));
|
|
685
|
+
result.renderer = await (0, browser_1.rendererInfo)(b.page);
|
|
686
|
+
return result;
|
|
687
|
+
}
|
|
688
|
+
//# sourceMappingURL=scene.js.map
|