@babylonjs/viewer 7.27.3 → 7.28.0-alpha
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/assets/photoStudio.env +0 -0
- package/dist/babylon-viewer.esm.js +2 -0
- package/dist/babylon-viewer.esm.js.map +1 -0
- package/dist/babylon-viewer.esm.min.js +2 -0
- package/dist/babylon-viewer.esm.min.js.map +1 -0
- package/dist/chunks/EXT_lights_image_based-3eXoqwff.esm.min.js +2 -0
- package/dist/chunks/EXT_lights_image_based-3eXoqwff.esm.min.js.map +1 -0
- package/dist/chunks/EXT_lights_image_based-DgCGZ2BG.esm.js +172 -0
- package/dist/chunks/EXT_lights_image_based-DgCGZ2BG.esm.js.map +1 -0
- package/dist/chunks/EXT_mesh_gpu_instancing-UFRD8RET.esm.js +86 -0
- package/dist/chunks/EXT_mesh_gpu_instancing-UFRD8RET.esm.js.map +1 -0
- package/dist/chunks/EXT_mesh_gpu_instancing-jLXZLcnP.esm.min.js +2 -0
- package/dist/chunks/EXT_mesh_gpu_instancing-jLXZLcnP.esm.min.js.map +1 -0
- package/dist/chunks/EXT_meshopt_compression-2itUWj1c.esm.js +134 -0
- package/dist/chunks/EXT_meshopt_compression-2itUWj1c.esm.js.map +1 -0
- package/dist/chunks/EXT_meshopt_compression-COSiPUUL.esm.min.js +2 -0
- package/dist/chunks/EXT_meshopt_compression-COSiPUUL.esm.min.js.map +1 -0
- package/dist/chunks/EXT_texture_avif-DDk0j61R.esm.js +44 -0
- package/dist/chunks/EXT_texture_avif-DDk0j61R.esm.js.map +1 -0
- package/dist/chunks/EXT_texture_avif-S53GgWUZ.esm.min.js +2 -0
- package/dist/chunks/EXT_texture_avif-S53GgWUZ.esm.min.js.map +1 -0
- package/dist/chunks/EXT_texture_webp-C9RawsOL.esm.js +43 -0
- package/dist/chunks/EXT_texture_webp-C9RawsOL.esm.js.map +1 -0
- package/dist/chunks/EXT_texture_webp-D2XKcbvR.esm.min.js +2 -0
- package/dist/chunks/EXT_texture_webp-D2XKcbvR.esm.min.js.map +1 -0
- package/dist/chunks/ExtrasAsMetadata-CT2uMzBs.esm.js +64 -0
- package/dist/chunks/ExtrasAsMetadata-CT2uMzBs.esm.js.map +1 -0
- package/dist/chunks/ExtrasAsMetadata-CTQija-r.esm.min.js +2 -0
- package/dist/chunks/ExtrasAsMetadata-CTQija-r.esm.min.js.map +1 -0
- package/dist/chunks/KHR_animation_pointer-BRkXpXY_.esm.min.js +2 -0
- package/dist/chunks/KHR_animation_pointer-BRkXpXY_.esm.min.js.map +1 -0
- package/dist/chunks/KHR_animation_pointer-DrPB7NZz.esm.js +343 -0
- package/dist/chunks/KHR_animation_pointer-DrPB7NZz.esm.js.map +1 -0
- package/dist/chunks/KHR_draco_mesh_compression-3KGuSXAA.esm.min.js +2 -0
- package/dist/chunks/KHR_draco_mesh_compression-3KGuSXAA.esm.min.js.map +1 -0
- package/dist/chunks/KHR_draco_mesh_compression-CwTlj-Hp.esm.js +610 -0
- package/dist/chunks/KHR_draco_mesh_compression-CwTlj-Hp.esm.js.map +1 -0
- package/dist/chunks/KHR_interactivity-CPooex_D.esm.js +4033 -0
- package/dist/chunks/KHR_interactivity-CPooex_D.esm.js.map +1 -0
- package/dist/chunks/KHR_interactivity-CjtTFwNc.esm.min.js +2 -0
- package/dist/chunks/KHR_interactivity-CjtTFwNc.esm.min.js.map +1 -0
- package/dist/chunks/KHR_lights_punctual-CE_Pbomw.esm.js +1253 -0
- package/dist/chunks/KHR_lights_punctual-CE_Pbomw.esm.js.map +1 -0
- package/dist/chunks/KHR_lights_punctual-MUrTncyq.esm.min.js +2 -0
- package/dist/chunks/KHR_lights_punctual-MUrTncyq.esm.min.js.map +1 -0
- package/dist/chunks/KHR_materials_anisotropy-DcEIoErr.esm.js +64 -0
- package/dist/chunks/KHR_materials_anisotropy-DcEIoErr.esm.js.map +1 -0
- package/dist/chunks/KHR_materials_anisotropy-U-61ECua.esm.min.js +2 -0
- package/dist/chunks/KHR_materials_anisotropy-U-61ECua.esm.min.js.map +1 -0
- package/dist/chunks/KHR_materials_clearcoat-CtK90V8c.esm.js +96 -0
- package/dist/chunks/KHR_materials_clearcoat-CtK90V8c.esm.js.map +1 -0
- package/dist/chunks/KHR_materials_clearcoat-DMi2rgcw.esm.min.js +2 -0
- package/dist/chunks/KHR_materials_clearcoat-DMi2rgcw.esm.min.js.map +1 -0
- package/dist/chunks/KHR_materials_diffuse_transmission-BwohhmnH.esm.js +97 -0
- package/dist/chunks/KHR_materials_diffuse_transmission-BwohhmnH.esm.js.map +1 -0
- package/dist/chunks/KHR_materials_diffuse_transmission-aRFTAZnS.esm.min.js +2 -0
- package/dist/chunks/KHR_materials_diffuse_transmission-aRFTAZnS.esm.min.js.map +1 -0
- package/dist/chunks/KHR_materials_dispersion-C0sb52Jw.esm.js +62 -0
- package/dist/chunks/KHR_materials_dispersion-C0sb52Jw.esm.js.map +1 -0
- package/dist/chunks/KHR_materials_dispersion-C4HCJyeO.esm.min.js +2 -0
- package/dist/chunks/KHR_materials_dispersion-C4HCJyeO.esm.min.js.map +1 -0
- package/dist/chunks/KHR_materials_emissive_strength-CthUQnvM.esm.js +55 -0
- package/dist/chunks/KHR_materials_emissive_strength-CthUQnvM.esm.js.map +1 -0
- package/dist/chunks/KHR_materials_emissive_strength-L5aAyvqr.esm.min.js +2 -0
- package/dist/chunks/KHR_materials_emissive_strength-L5aAyvqr.esm.min.js.map +1 -0
- package/dist/chunks/KHR_materials_ior-BSUtCKDf.esm.js +64 -0
- package/dist/chunks/KHR_materials_ior-BSUtCKDf.esm.js.map +1 -0
- package/dist/chunks/KHR_materials_ior-DAKNR7z-.esm.min.js +2 -0
- package/dist/chunks/KHR_materials_ior-DAKNR7z-.esm.min.js.map +1 -0
- package/dist/chunks/KHR_materials_iridescence-BjLvEtdQ.esm.min.js +2 -0
- package/dist/chunks/KHR_materials_iridescence-BjLvEtdQ.esm.min.js.map +1 -0
- package/dist/chunks/KHR_materials_iridescence-CQ-o2Qag.esm.js +72 -0
- package/dist/chunks/KHR_materials_iridescence-CQ-o2Qag.esm.js.map +1 -0
- package/dist/chunks/KHR_materials_pbrSpecularGlossiness-Cx8AsXK8.esm.min.js +2 -0
- package/dist/chunks/KHR_materials_pbrSpecularGlossiness-Cx8AsXK8.esm.min.js.map +1 -0
- package/dist/chunks/KHR_materials_pbrSpecularGlossiness-iQiy6qp4.esm.js +81 -0
- package/dist/chunks/KHR_materials_pbrSpecularGlossiness-iQiy6qp4.esm.js.map +1 -0
- package/dist/chunks/KHR_materials_sheen-CQkrxBFM.esm.min.js +2 -0
- package/dist/chunks/KHR_materials_sheen-CQkrxBFM.esm.min.js.map +1 -0
- package/dist/chunks/KHR_materials_sheen-IPqZM4PN.esm.js +85 -0
- package/dist/chunks/KHR_materials_sheen-IPqZM4PN.esm.js.map +1 -0
- package/dist/chunks/KHR_materials_specular-BkCr8Zv5.esm.js +75 -0
- package/dist/chunks/KHR_materials_specular-BkCr8Zv5.esm.js.map +1 -0
- package/dist/chunks/KHR_materials_specular-CVIDVIZl.esm.min.js +2 -0
- package/dist/chunks/KHR_materials_specular-CVIDVIZl.esm.min.js.map +1 -0
- package/dist/chunks/KHR_materials_transmission--XYp5qZT.esm.min.js +2 -0
- package/dist/chunks/KHR_materials_transmission--XYp5qZT.esm.min.js.map +1 -0
- package/dist/chunks/KHR_materials_transmission-C5q0bJ71.esm.js +307 -0
- package/dist/chunks/KHR_materials_transmission-C5q0bJ71.esm.js.map +1 -0
- package/dist/chunks/KHR_materials_unlit-C_0UOWUu.esm.min.js +2 -0
- package/dist/chunks/KHR_materials_unlit-C_0UOWUu.esm.min.js.map +1 -0
- package/dist/chunks/KHR_materials_unlit-qnEYXc2y.esm.js +74 -0
- package/dist/chunks/KHR_materials_unlit-qnEYXc2y.esm.js.map +1 -0
- package/dist/chunks/KHR_materials_variants-CXJiHSOj.esm.js +238 -0
- package/dist/chunks/KHR_materials_variants-CXJiHSOj.esm.js.map +1 -0
- package/dist/chunks/KHR_materials_variants-DYis5Tv2.esm.min.js +2 -0
- package/dist/chunks/KHR_materials_variants-DYis5Tv2.esm.min.js.map +1 -0
- package/dist/chunks/KHR_materials_volume-BfwkCW5U.esm.min.js +2 -0
- package/dist/chunks/KHR_materials_volume-BfwkCW5U.esm.min.js.map +1 -0
- package/dist/chunks/KHR_materials_volume-DjJClxGQ.esm.js +87 -0
- package/dist/chunks/KHR_materials_volume-DjJClxGQ.esm.js.map +1 -0
- package/dist/chunks/KHR_mesh_quantization-BVjp41hH.esm.js +26 -0
- package/dist/chunks/KHR_mesh_quantization-BVjp41hH.esm.js.map +1 -0
- package/dist/chunks/KHR_mesh_quantization-Bs1ERLau.esm.min.js +2 -0
- package/dist/chunks/KHR_mesh_quantization-Bs1ERLau.esm.min.js.map +1 -0
- package/dist/chunks/KHR_texture_basisu-CX4ZwCxA.esm.min.js +2 -0
- package/dist/chunks/KHR_texture_basisu-CX4ZwCxA.esm.min.js.map +1 -0
- package/dist/chunks/KHR_texture_basisu-DpzoPKaR.esm.js +43 -0
- package/dist/chunks/KHR_texture_basisu-DpzoPKaR.esm.js.map +1 -0
- package/dist/chunks/KHR_texture_transform-BYTNC2PZ.esm.js +63 -0
- package/dist/chunks/KHR_texture_transform-BYTNC2PZ.esm.js.map +1 -0
- package/dist/chunks/KHR_texture_transform-D2gSKYqq.esm.min.js +2 -0
- package/dist/chunks/KHR_texture_transform-D2gSKYqq.esm.min.js.map +1 -0
- package/dist/chunks/KHR_xmp_json_ld-B9p_mnIE.esm.min.js +2 -0
- package/dist/chunks/KHR_xmp_json_ld-B9p_mnIE.esm.min.js.map +1 -0
- package/dist/chunks/KHR_xmp_json_ld-yryfql1G.esm.js +51 -0
- package/dist/chunks/KHR_xmp_json_ld-yryfql1G.esm.js.map +1 -0
- package/dist/chunks/MSFT_audio_emitter-CsMdhXHJ.esm.min.js +2 -0
- package/dist/chunks/MSFT_audio_emitter-CsMdhXHJ.esm.min.js.map +1 -0
- package/dist/chunks/MSFT_audio_emitter-bdzRBwn5.esm.js +2207 -0
- package/dist/chunks/MSFT_audio_emitter-bdzRBwn5.esm.js.map +1 -0
- package/dist/chunks/MSFT_lod-CRv-taiG.esm.js +337 -0
- package/dist/chunks/MSFT_lod-CRv-taiG.esm.js.map +1 -0
- package/dist/chunks/MSFT_lod-DY6GwVy6.esm.min.js +2 -0
- package/dist/chunks/MSFT_lod-DY6GwVy6.esm.min.js.map +1 -0
- package/dist/chunks/MSFT_minecraftMesh-BKt5AmWl.esm.js +46 -0
- package/dist/chunks/MSFT_minecraftMesh-BKt5AmWl.esm.js.map +1 -0
- package/dist/chunks/MSFT_minecraftMesh-Dt7wMpY2.esm.min.js +2 -0
- package/dist/chunks/MSFT_minecraftMesh-Dt7wMpY2.esm.min.js.map +1 -0
- package/dist/chunks/MSFT_sRGBFactors-72Bu-2h1.esm.min.js +2 -0
- package/dist/chunks/MSFT_sRGBFactors-72Bu-2h1.esm.min.js.map +1 -0
- package/dist/chunks/MSFT_sRGBFactors-BbWdK1_1.esm.js +47 -0
- package/dist/chunks/MSFT_sRGBFactors-BbWdK1_1.esm.js.map +1 -0
- package/dist/chunks/animationGroup-Cnv-QRPm.esm.js +2479 -0
- package/dist/chunks/animationGroup-Cnv-QRPm.esm.js.map +1 -0
- package/dist/chunks/animationGroup-Dj6g76i_.esm.min.js +2 -0
- package/dist/chunks/animationGroup-Dj6g76i_.esm.min.js.map +1 -0
- package/dist/chunks/assetContainer-C-F4HA2b.esm.js +1720 -0
- package/dist/chunks/assetContainer-C-F4HA2b.esm.js.map +1 -0
- package/dist/chunks/assetContainer-yzkL3HL9.esm.min.js +2 -0
- package/dist/chunks/assetContainer-yzkL3HL9.esm.min.js.map +1 -0
- package/dist/chunks/audioEngine-2xiZaVR-.esm.min.js +2 -0
- package/dist/chunks/audioEngine-2xiZaVR-.esm.min.js.map +1 -0
- package/dist/chunks/audioEngine-Cx0ma7EX.esm.js +305 -0
- package/dist/chunks/audioEngine-Cx0ma7EX.esm.js.map +1 -0
- package/dist/chunks/bakedVertexAnimation-ANJNS_Pv.esm.min.js +2 -0
- package/dist/chunks/bakedVertexAnimation-ANJNS_Pv.esm.min.js.map +1 -0
- package/dist/chunks/bakedVertexAnimation-CxyFWdGx.esm.js +119 -0
- package/dist/chunks/bakedVertexAnimation-CxyFWdGx.esm.js.map +1 -0
- package/dist/chunks/basisTextureLoader-BwtYdV_P.esm.js +600 -0
- package/dist/chunks/basisTextureLoader-BwtYdV_P.esm.js.map +1 -0
- package/dist/chunks/basisTextureLoader-Dq_XBlPR.esm.min.js +2 -0
- package/dist/chunks/basisTextureLoader-Dq_XBlPR.esm.min.js.map +1 -0
- package/dist/chunks/dds-D5OqOLui.esm.js +540 -0
- package/dist/chunks/dds-D5OqOLui.esm.js.map +1 -0
- package/dist/chunks/dds-DK9ShfvY.esm.min.js +2 -0
- package/dist/chunks/dds-DK9ShfvY.esm.min.js.map +1 -0
- package/dist/chunks/ddsTextureLoader-2ezzl3nq.esm.js +88 -0
- package/dist/chunks/ddsTextureLoader-2ezzl3nq.esm.js.map +1 -0
- package/dist/chunks/ddsTextureLoader-C3o86gMM.esm.min.js +2 -0
- package/dist/chunks/ddsTextureLoader-C3o86gMM.esm.min.js.map +1 -0
- package/dist/chunks/decalFragment-Drag0mRm.esm.js +18 -0
- package/dist/chunks/decalFragment-Drag0mRm.esm.js.map +1 -0
- package/dist/chunks/decalFragment-I7zHHg4g.esm.min.js +2 -0
- package/dist/chunks/decalFragment-I7zHHg4g.esm.min.js.map +1 -0
- package/dist/chunks/default.fragment-C757ivRm.esm.min.js +2 -0
- package/dist/chunks/default.fragment-C757ivRm.esm.min.js.map +1 -0
- package/dist/chunks/default.fragment-CBCZy0zH.esm.js +515 -0
- package/dist/chunks/default.fragment-CBCZy0zH.esm.js.map +1 -0
- package/dist/chunks/default.fragment-CxhchRBe.esm.min.js +2 -0
- package/dist/chunks/default.fragment-CxhchRBe.esm.min.js.map +1 -0
- package/dist/chunks/default.fragment-vJeaqi0K.esm.js +449 -0
- package/dist/chunks/default.fragment-vJeaqi0K.esm.js.map +1 -0
- package/dist/chunks/default.vertex-CyPWwm-H.esm.min.js +2 -0
- package/dist/chunks/default.vertex-CyPWwm-H.esm.min.js.map +1 -0
- package/dist/chunks/default.vertex-DKlAQm_v.esm.min.js +2 -0
- package/dist/chunks/default.vertex-DKlAQm_v.esm.min.js.map +1 -0
- package/dist/chunks/default.vertex-EbP94etr.esm.js +199 -0
- package/dist/chunks/default.vertex-EbP94etr.esm.js.map +1 -0
- package/dist/chunks/default.vertex-sXmCc1dY.esm.js +180 -0
- package/dist/chunks/default.vertex-sXmCc1dY.esm.js.map +1 -0
- package/dist/chunks/defaultUboDeclaration-C3pnDAEV.esm.min.js +2 -0
- package/dist/chunks/defaultUboDeclaration-C3pnDAEV.esm.min.js.map +1 -0
- package/dist/chunks/defaultUboDeclaration-DKQWE8MQ.esm.min.js +2 -0
- package/dist/chunks/defaultUboDeclaration-DKQWE8MQ.esm.min.js.map +1 -0
- package/dist/chunks/defaultUboDeclaration-DjoMGLp2.esm.js +13 -0
- package/dist/chunks/defaultUboDeclaration-DjoMGLp2.esm.js.map +1 -0
- package/dist/chunks/defaultUboDeclaration-HaQvlp0b.esm.js +15 -0
- package/dist/chunks/defaultUboDeclaration-HaQvlp0b.esm.js.map +1 -0
- package/dist/chunks/drawWrapper.functions-CKg3_9x4.esm.js +11 -0
- package/dist/chunks/drawWrapper.functions-CKg3_9x4.esm.js.map +1 -0
- package/dist/chunks/drawWrapper.functions-ng7lvueZ.esm.min.js +2 -0
- package/dist/chunks/drawWrapper.functions-ng7lvueZ.esm.min.js.map +1 -0
- package/dist/chunks/dumpTools-8Kbuuv_t.esm.js +401 -0
- package/dist/chunks/dumpTools-8Kbuuv_t.esm.js.map +1 -0
- package/dist/chunks/dumpTools-BQULMnHn.esm.min.js +2 -0
- package/dist/chunks/dumpTools-BQULMnHn.esm.min.js.map +1 -0
- package/dist/chunks/engine-R8ufvngA.esm.js +2174 -0
- package/dist/chunks/engine-R8ufvngA.esm.js.map +1 -0
- package/dist/chunks/engine-j0ie5u4Y.esm.min.js +2 -0
- package/dist/chunks/engine-j0ie5u4Y.esm.min.js.map +1 -0
- package/dist/chunks/engine.common-DW5fOVN3.esm.min.js +2 -0
- package/dist/chunks/engine.common-DW5fOVN3.esm.min.js.map +1 -0
- package/dist/chunks/engine.common-buSIz8Ev.esm.js +1088 -0
- package/dist/chunks/engine.common-buSIz8Ev.esm.js.map +1 -0
- package/dist/chunks/envTextureLoader-B6pcDqsM.esm.min.js +2 -0
- package/dist/chunks/envTextureLoader-B6pcDqsM.esm.min.js.map +1 -0
- package/dist/chunks/envTextureLoader-CGhTHASj.esm.js +65 -0
- package/dist/chunks/envTextureLoader-CGhTHASj.esm.js.map +1 -0
- package/dist/chunks/environmentTextureTools-BDGuP88l.esm.js +382 -0
- package/dist/chunks/environmentTextureTools-BDGuP88l.esm.js.map +1 -0
- package/dist/chunks/environmentTextureTools-BT0gE-EJ.esm.min.js +2 -0
- package/dist/chunks/environmentTextureTools-BT0gE-EJ.esm.min.js.map +1 -0
- package/dist/chunks/exrTextureLoader-CN5dc0n8.esm.min.js +2 -0
- package/dist/chunks/exrTextureLoader-CN5dc0n8.esm.min.js.map +1 -0
- package/dist/chunks/exrTextureLoader-CYQnUrVl.esm.js +1682 -0
- package/dist/chunks/exrTextureLoader-CYQnUrVl.esm.js.map +1 -0
- package/dist/chunks/fogFragment-6FnKPxpy.esm.min.js +2 -0
- package/dist/chunks/fogFragment-6FnKPxpy.esm.min.js.map +1 -0
- package/dist/chunks/fogFragment-CizzLpaY.esm.js +102 -0
- package/dist/chunks/fogFragment-CizzLpaY.esm.js.map +1 -0
- package/dist/chunks/fresnelFunction-B6mPA48a.esm.min.js +2 -0
- package/dist/chunks/fresnelFunction-B6mPA48a.esm.min.js.map +1 -0
- package/dist/chunks/fresnelFunction-DVso4sEr.esm.js +12 -0
- package/dist/chunks/fresnelFunction-DVso4sEr.esm.js.map +1 -0
- package/dist/chunks/glTFLoader-CEQKEyEA.esm.min.js +2 -0
- package/dist/chunks/glTFLoader-CEQKEyEA.esm.min.js.map +1 -0
- package/dist/chunks/glTFLoader-ht4lq0nT.esm.js +7563 -0
- package/dist/chunks/glTFLoader-ht4lq0nT.esm.js.map +1 -0
- package/dist/chunks/glTFLoaderAnimation-C5YcVTsA.esm.min.js +2 -0
- package/dist/chunks/glTFLoaderAnimation-C5YcVTsA.esm.min.js.map +1 -0
- package/dist/chunks/glTFLoaderAnimation-DcmHMDkS.esm.js +77 -0
- package/dist/chunks/glTFLoaderAnimation-DcmHMDkS.esm.js.map +1 -0
- package/dist/chunks/gltfPathToObjectConverter-Dyt_Y9jE.esm.min.js +2 -0
- package/dist/chunks/gltfPathToObjectConverter-Dyt_Y9jE.esm.min.js.map +1 -0
- package/dist/chunks/gltfPathToObjectConverter-GcUmfOyo.esm.js +67 -0
- package/dist/chunks/gltfPathToObjectConverter-GcUmfOyo.esm.js.map +1 -0
- package/dist/chunks/harmonicsFunctions-BPx91vrF.esm.min.js +2 -0
- package/dist/chunks/harmonicsFunctions-BPx91vrF.esm.min.js.map +1 -0
- package/dist/chunks/harmonicsFunctions-D3SGmS-X.esm.js +35 -0
- package/dist/chunks/harmonicsFunctions-D3SGmS-X.esm.js.map +1 -0
- package/dist/chunks/harmonicsFunctions-DCor55C8.esm.js +34 -0
- package/dist/chunks/harmonicsFunctions-DCor55C8.esm.js.map +1 -0
- package/dist/chunks/harmonicsFunctions-m8lNczKz.esm.min.js +2 -0
- package/dist/chunks/harmonicsFunctions-m8lNczKz.esm.min.js.map +1 -0
- package/dist/chunks/hdrTextureLoader-CQcm6tqX.esm.js +252 -0
- package/dist/chunks/hdrTextureLoader-CQcm6tqX.esm.js.map +1 -0
- package/dist/chunks/hdrTextureLoader-DTzTMrfG.esm.min.js +2 -0
- package/dist/chunks/hdrTextureLoader-DTzTMrfG.esm.min.js.map +1 -0
- package/dist/chunks/helperFunctions-CQ8qVahI.esm.js +80 -0
- package/dist/chunks/helperFunctions-CQ8qVahI.esm.js.map +1 -0
- package/dist/chunks/helperFunctions-CZxhBJEB.esm.min.js +2 -0
- package/dist/chunks/helperFunctions-CZxhBJEB.esm.min.js.map +1 -0
- package/dist/chunks/helperFunctions-HLM-sI3x.esm.min.js +2 -0
- package/dist/chunks/helperFunctions-HLM-sI3x.esm.min.js.map +1 -0
- package/dist/chunks/helperFunctions-wENQHUG-.esm.js +108 -0
- package/dist/chunks/helperFunctions-wENQHUG-.esm.js.map +1 -0
- package/dist/chunks/index-BC5LF5i9.esm.min.js +57 -0
- package/dist/chunks/index-BC5LF5i9.esm.min.js.map +1 -0
- package/dist/chunks/index-D0E1moDr.esm.js +71434 -0
- package/dist/chunks/index-D0E1moDr.esm.js.map +1 -0
- package/dist/chunks/ktxTextureLoader-DuEV4loQ.esm.min.js +2 -0
- package/dist/chunks/ktxTextureLoader-DuEV4loQ.esm.min.js.map +1 -0
- package/dist/chunks/ktxTextureLoader-Dwzkv6L3.esm.js +814 -0
- package/dist/chunks/ktxTextureLoader-Dwzkv6L3.esm.js.map +1 -0
- package/dist/chunks/logDepthDeclaration-BiRU-jkq.esm.js +20 -0
- package/dist/chunks/logDepthDeclaration-BiRU-jkq.esm.js.map +1 -0
- package/dist/chunks/logDepthDeclaration-CgsbzCKe.esm.js +35 -0
- package/dist/chunks/logDepthDeclaration-CgsbzCKe.esm.js.map +1 -0
- package/dist/chunks/logDepthDeclaration-D5PPo0wt.esm.min.js +2 -0
- package/dist/chunks/logDepthDeclaration-D5PPo0wt.esm.min.js.map +1 -0
- package/dist/chunks/logDepthDeclaration-p80kxWvc.esm.min.js +2 -0
- package/dist/chunks/logDepthDeclaration-p80kxWvc.esm.min.js.map +1 -0
- package/dist/chunks/logDepthVertex-C8xmntAE.esm.js +488 -0
- package/dist/chunks/logDepthVertex-C8xmntAE.esm.js.map +1 -0
- package/dist/chunks/logDepthVertex-Da1k46VZ.esm.min.js +2 -0
- package/dist/chunks/logDepthVertex-Da1k46VZ.esm.min.js.map +1 -0
- package/dist/chunks/logDepthVertex-DgGvTksF.esm.min.js +2 -0
- package/dist/chunks/logDepthVertex-DgGvTksF.esm.min.js.map +1 -0
- package/dist/chunks/logDepthVertex-KLC5ytc9.esm.js +77 -0
- package/dist/chunks/logDepthVertex-KLC5ytc9.esm.js.map +1 -0
- package/dist/chunks/mainUVVaryingDeclaration-BBNnWqL3.esm.min.js +2 -0
- package/dist/chunks/mainUVVaryingDeclaration-BBNnWqL3.esm.min.js.map +1 -0
- package/dist/chunks/mainUVVaryingDeclaration-CrsDQ7Rw.esm.js +11 -0
- package/dist/chunks/mainUVVaryingDeclaration-CrsDQ7Rw.esm.js.map +1 -0
- package/dist/chunks/meshUboDeclaration-BvX3Ec7p.esm.min.js +2 -0
- package/dist/chunks/meshUboDeclaration-BvX3Ec7p.esm.min.js.map +1 -0
- package/dist/chunks/meshUboDeclaration-DRaaTiEk.esm.js +24 -0
- package/dist/chunks/meshUboDeclaration-DRaaTiEk.esm.js.map +1 -0
- package/dist/chunks/objFileLoader-Ce4aJaFM.esm.js +1338 -0
- package/dist/chunks/objFileLoader-Ce4aJaFM.esm.js.map +1 -0
- package/dist/chunks/objFileLoader-CrYKstAi.esm.min.js +2 -0
- package/dist/chunks/objFileLoader-CrYKstAi.esm.min.js.map +1 -0
- package/dist/chunks/oitFragment-CNXv_oV2.esm.js +1210 -0
- package/dist/chunks/oitFragment-CNXv_oV2.esm.js.map +1 -0
- package/dist/chunks/oitFragment-D-QO9BYL.esm.min.js +2 -0
- package/dist/chunks/oitFragment-D-QO9BYL.esm.min.js.map +1 -0
- package/dist/chunks/oitFragment-DL-siQkY.esm.js +1150 -0
- package/dist/chunks/oitFragment-DL-siQkY.esm.js.map +1 -0
- package/dist/chunks/oitFragment-Dh89u6kd.esm.min.js +2 -0
- package/dist/chunks/oitFragment-Dh89u6kd.esm.min.js.map +1 -0
- package/dist/chunks/pass.fragment-6gActEq9.esm.min.js +2 -0
- package/dist/chunks/pass.fragment-6gActEq9.esm.min.js.map +1 -0
- package/dist/chunks/pass.fragment-BWtGFHKR.esm.min.js +2 -0
- package/dist/chunks/pass.fragment-BWtGFHKR.esm.min.js.map +1 -0
- package/dist/chunks/pass.fragment-Cf3scVhm.esm.js +15 -0
- package/dist/chunks/pass.fragment-Cf3scVhm.esm.js.map +1 -0
- package/dist/chunks/pass.fragment-L2hyelgw.esm.js +15 -0
- package/dist/chunks/pass.fragment-L2hyelgw.esm.js.map +1 -0
- package/dist/chunks/pbr.fragment-BCiIhSwY.esm.min.js +2 -0
- package/dist/chunks/pbr.fragment-BCiIhSwY.esm.min.js.map +1 -0
- package/dist/chunks/pbr.fragment-BQsptCnM.esm.js +3165 -0
- package/dist/chunks/pbr.fragment-BQsptCnM.esm.js.map +1 -0
- package/dist/chunks/pbr.fragment-CV7nHiSW.esm.min.js +2 -0
- package/dist/chunks/pbr.fragment-CV7nHiSW.esm.min.js.map +1 -0
- package/dist/chunks/pbr.fragment-zekg3AtG.esm.js +3219 -0
- package/dist/chunks/pbr.fragment-zekg3AtG.esm.js.map +1 -0
- package/dist/chunks/pbr.vertex-BdS85hcR.esm.min.js +2 -0
- package/dist/chunks/pbr.vertex-BdS85hcR.esm.min.js.map +1 -0
- package/dist/chunks/pbr.vertex-CdmOZTsb.esm.js +335 -0
- package/dist/chunks/pbr.vertex-CdmOZTsb.esm.js.map +1 -0
- package/dist/chunks/pbr.vertex-Ch16cpRc.esm.min.js +2 -0
- package/dist/chunks/pbr.vertex-Ch16cpRc.esm.min.js.map +1 -0
- package/dist/chunks/pbr.vertex-DP-JkeNL.esm.js +210 -0
- package/dist/chunks/pbr.vertex-DP-JkeNL.esm.js.map +1 -0
- package/dist/chunks/postprocess.vertex-BfybF4d2.esm.js +18 -0
- package/dist/chunks/postprocess.vertex-BfybF4d2.esm.js.map +1 -0
- package/dist/chunks/postprocess.vertex-Bnmi3e9K.esm.min.js +2 -0
- package/dist/chunks/postprocess.vertex-Bnmi3e9K.esm.min.js.map +1 -0
- package/dist/chunks/postprocess.vertex-CYL4-dVR.esm.js +20 -0
- package/dist/chunks/postprocess.vertex-CYL4-dVR.esm.js.map +1 -0
- package/dist/chunks/postprocess.vertex-Q5d7l8WF.esm.min.js +2 -0
- package/dist/chunks/postprocess.vertex-Q5d7l8WF.esm.min.js.map +1 -0
- package/dist/chunks/rawTexture-BWFTuwIO.esm.min.js +2 -0
- package/dist/chunks/rawTexture-BWFTuwIO.esm.min.js.map +1 -0
- package/dist/chunks/rawTexture-C-BSm1U5.esm.js +191 -0
- package/dist/chunks/rawTexture-C-BSm1U5.esm.js.map +1 -0
- package/dist/chunks/rgbdDecode.fragment-6nGwVmNO.esm.js +17 -0
- package/dist/chunks/rgbdDecode.fragment-6nGwVmNO.esm.js.map +1 -0
- package/dist/chunks/rgbdDecode.fragment-CMYihxIb.esm.min.js +2 -0
- package/dist/chunks/rgbdDecode.fragment-CMYihxIb.esm.min.js.map +1 -0
- package/dist/chunks/rgbdDecode.fragment-D48eh1WK.esm.min.js +2 -0
- package/dist/chunks/rgbdDecode.fragment-D48eh1WK.esm.min.js.map +1 -0
- package/dist/chunks/rgbdDecode.fragment-u6BSTXhW.esm.js +17 -0
- package/dist/chunks/rgbdDecode.fragment-u6BSTXhW.esm.js.map +1 -0
- package/dist/chunks/rgbdEncode.fragment-BCiGkDDk.esm.js +17 -0
- package/dist/chunks/rgbdEncode.fragment-BCiGkDDk.esm.js.map +1 -0
- package/dist/chunks/rgbdEncode.fragment-B_9KO57D.esm.js +17 -0
- package/dist/chunks/rgbdEncode.fragment-B_9KO57D.esm.js.map +1 -0
- package/dist/chunks/rgbdEncode.fragment-CVrt_4Kj.esm.min.js +2 -0
- package/dist/chunks/rgbdEncode.fragment-CVrt_4Kj.esm.min.js.map +1 -0
- package/dist/chunks/rgbdEncode.fragment-V259OFB6.esm.min.js +2 -0
- package/dist/chunks/rgbdEncode.fragment-V259OFB6.esm.min.js.map +1 -0
- package/dist/chunks/splatFileLoader-BO6la5-H.esm.js +3340 -0
- package/dist/chunks/splatFileLoader-BO6la5-H.esm.js.map +1 -0
- package/dist/chunks/splatFileLoader-S6q5_XPy.esm.min.js +2 -0
- package/dist/chunks/splatFileLoader-S6q5_XPy.esm.min.js.map +1 -0
- package/dist/chunks/standardMaterial-BH9cL7Zd.esm.js +1809 -0
- package/dist/chunks/standardMaterial-BH9cL7Zd.esm.js.map +1 -0
- package/dist/chunks/standardMaterial-BMohC2Pw.esm.min.js +2 -0
- package/dist/chunks/standardMaterial-BMohC2Pw.esm.min.js.map +1 -0
- package/dist/chunks/stlFileLoader-DK1ITZRU.esm.min.js +2 -0
- package/dist/chunks/stlFileLoader-DK1ITZRU.esm.min.js.map +1 -0
- package/dist/chunks/stlFileLoader-DskoqTwS.esm.js +238 -0
- package/dist/chunks/stlFileLoader-DskoqTwS.esm.js.map +1 -0
- package/dist/chunks/tgaTextureLoader-BTlbmfHD.esm.js +349 -0
- package/dist/chunks/tgaTextureLoader-BTlbmfHD.esm.js.map +1 -0
- package/dist/chunks/tgaTextureLoader-BkfZcLS9.esm.min.js +2 -0
- package/dist/chunks/tgaTextureLoader-BkfZcLS9.esm.min.js.map +1 -0
- package/dist/chunks/thinEngine-0P3L0z6G.esm.js +3721 -0
- package/dist/chunks/thinEngine-0P3L0z6G.esm.js.map +1 -0
- package/dist/chunks/thinEngine-krcyvyno.esm.min.js +2 -0
- package/dist/chunks/thinEngine-krcyvyno.esm.min.js.map +1 -0
- package/dist/chunks/thinInstanceMesh-CkU4tmTv.esm.js +314 -0
- package/dist/chunks/thinInstanceMesh-CkU4tmTv.esm.js.map +1 -0
- package/dist/chunks/thinInstanceMesh-DUNQsOmG.esm.min.js +2 -0
- package/dist/chunks/thinInstanceMesh-DUNQsOmG.esm.min.js.map +1 -0
- package/dist/chunks/vertexColorMixing-Cs7crUUt.esm.min.js +2 -0
- package/dist/chunks/vertexColorMixing-Cs7crUUt.esm.min.js.map +1 -0
- package/dist/chunks/vertexColorMixing-DreWOedd.esm.js +528 -0
- package/dist/chunks/vertexColorMixing-DreWOedd.esm.js.map +1 -0
- package/dist/chunks/webgpuEngine-DG1ciCtE.esm.min.js +2 -0
- package/dist/chunks/webgpuEngine-DG1ciCtE.esm.min.js.map +1 -0
- package/dist/chunks/webgpuEngine-YE9aMbSH.esm.js +11180 -0
- package/dist/chunks/webgpuEngine-YE9aMbSH.esm.js.map +1 -0
- package/dist/chunks/workerPool-BUOov2K1.esm.js +122 -0
- package/dist/chunks/workerPool-BUOov2K1.esm.js.map +1 -0
- package/dist/chunks/workerPool-BWHiDmEZ.esm.min.js +2 -0
- package/dist/chunks/workerPool-BWHiDmEZ.esm.min.js.map +1 -0
- package/docs/ViewerDefault.jpg +0 -0
- package/docs/ViewerParts.jpg +0 -0
- package/docs/ViewerSlots.jpg +0 -0
- package/docs/ViewerStyled.jpg +0 -0
- package/lib/index.d.ts +287 -0
- package/lib/index.js +1022 -0
- package/lib/index.js.map +1 -0
- package/package.json +18 -27
- package/readme.md +145 -21
- package/configuration/configuration.d.ts +0 -107
- package/configuration/configuration.js +0 -16
- package/configuration/configuration.js.map +0 -1
- package/configuration/configurationCompatibility.d.ts +0 -8
- package/configuration/configurationCompatibility.js +0 -66
- package/configuration/configurationCompatibility.js.map +0 -1
- package/configuration/configurationContainer.d.ts +0 -10
- package/configuration/configurationContainer.js +0 -10
- package/configuration/configurationContainer.js.map +0 -1
- package/configuration/globals.d.ts +0 -6
- package/configuration/globals.js +0 -18
- package/configuration/globals.js.map +0 -1
- package/configuration/index.d.ts +0 -2
- package/configuration/index.js +0 -4
- package/configuration/index.js.map +0 -1
- package/configuration/interfaces/cameraConfiguration.d.ts +0 -31
- package/configuration/interfaces/cameraConfiguration.js +0 -2
- package/configuration/interfaces/cameraConfiguration.js.map +0 -1
- package/configuration/interfaces/colorGradingConfiguration.d.ts +0 -81
- package/configuration/interfaces/colorGradingConfiguration.js +0 -2
- package/configuration/interfaces/colorGradingConfiguration.js.map +0 -1
- package/configuration/interfaces/defaultRenderingPipelineConfiguration.d.ts +0 -20
- package/configuration/interfaces/defaultRenderingPipelineConfiguration.js +0 -2
- package/configuration/interfaces/defaultRenderingPipelineConfiguration.js.map +0 -1
- package/configuration/interfaces/environmentMapConfiguration.d.ts +0 -22
- package/configuration/interfaces/environmentMapConfiguration.js +0 -2
- package/configuration/interfaces/environmentMapConfiguration.js.map +0 -1
- package/configuration/interfaces/groundConfiguration.d.ts +0 -24
- package/configuration/interfaces/groundConfiguration.js +0 -2
- package/configuration/interfaces/groundConfiguration.js.map +0 -1
- package/configuration/interfaces/imageProcessingConfiguration.d.ts +0 -45
- package/configuration/interfaces/imageProcessingConfiguration.js +0 -2
- package/configuration/interfaces/imageProcessingConfiguration.js.map +0 -1
- package/configuration/interfaces/index.d.ts +0 -15
- package/configuration/interfaces/index.js +0 -16
- package/configuration/interfaces/index.js.map +0 -1
- package/configuration/interfaces/lightConfiguration.d.ts +0 -60
- package/configuration/interfaces/lightConfiguration.js +0 -2
- package/configuration/interfaces/lightConfiguration.js.map +0 -1
- package/configuration/interfaces/modelAnimationConfiguration.d.ts +0 -26
- package/configuration/interfaces/modelAnimationConfiguration.js +0 -2
- package/configuration/interfaces/modelAnimationConfiguration.js.map +0 -1
- package/configuration/interfaces/modelConfiguration.d.ts +0 -65
- package/configuration/interfaces/modelConfiguration.js +0 -2
- package/configuration/interfaces/modelConfiguration.js.map +0 -1
- package/configuration/interfaces/observersConfiguration.d.ts +0 -5
- package/configuration/interfaces/observersConfiguration.js +0 -2
- package/configuration/interfaces/observersConfiguration.js.map +0 -1
- package/configuration/interfaces/sceneConfiguration.d.ts +0 -48
- package/configuration/interfaces/sceneConfiguration.js +0 -2
- package/configuration/interfaces/sceneConfiguration.js.map +0 -1
- package/configuration/interfaces/sceneOptimizerConfiguration.d.ts +0 -23
- package/configuration/interfaces/sceneOptimizerConfiguration.js +0 -2
- package/configuration/interfaces/sceneOptimizerConfiguration.js.map +0 -1
- package/configuration/interfaces/skyboxConfiguration.d.ts +0 -21
- package/configuration/interfaces/skyboxConfiguration.js +0 -2
- package/configuration/interfaces/skyboxConfiguration.js.map +0 -1
- package/configuration/interfaces/templateConfiguration.d.ts +0 -67
- package/configuration/interfaces/templateConfiguration.js +0 -2
- package/configuration/interfaces/templateConfiguration.js.map +0 -1
- package/configuration/interfaces/vrConfiguration.d.ts +0 -16
- package/configuration/interfaces/vrConfiguration.js +0 -2
- package/configuration/interfaces/vrConfiguration.js.map +0 -1
- package/configuration/loader.d.ts +0 -4
- package/configuration/loader.js +0 -17
- package/configuration/loader.js.map +0 -1
- package/configuration/mappers.d.ts +0 -43
- package/configuration/mappers.js +0 -192
- package/configuration/mappers.js.map +0 -1
- package/configuration/renderOnlyLoader.d.ts +0 -33
- package/configuration/renderOnlyLoader.js +0 -162
- package/configuration/renderOnlyLoader.js.map +0 -1
- package/configuration/types/default.d.ts +0 -6
- package/configuration/types/default.js +0 -121
- package/configuration/types/default.js.map +0 -1
- package/configuration/types/environmentMap.d.ts +0 -5
- package/configuration/types/environmentMap.js +0 -14
- package/configuration/types/environmentMap.js.map +0 -1
- package/configuration/types/extended.d.ts +0 -6
- package/configuration/types/extended.js +0 -317
- package/configuration/types/extended.js.map +0 -1
- package/configuration/types/index.d.ts +0 -14
- package/configuration/types/index.js +0 -51
- package/configuration/types/index.js.map +0 -1
- package/configuration/types/minimal.d.ts +0 -6
- package/configuration/types/minimal.js +0 -43
- package/configuration/types/minimal.js.map +0 -1
- package/configuration/types/renderOnlyDefault.d.ts +0 -30
- package/configuration/types/renderOnlyDefault.js +0 -31
- package/configuration/types/renderOnlyDefault.js.map +0 -1
- package/configuration/types/shadowLight.d.ts +0 -9
- package/configuration/types/shadowLight.js +0 -64
- package/configuration/types/shadowLight.js.map +0 -1
- package/helper/index.d.ts +0 -29
- package/helper/index.js +0 -66
- package/helper/index.js.map +0 -1
- package/index.d.ts +0 -30
- package/index.js +0 -46
- package/index.js.map +0 -1
- package/initializer.d.ts +0 -11
- package/initializer.js +0 -35
- package/initializer.js.map +0 -1
- package/interfaces.d.ts +0 -5
- package/interfaces.js +0 -7
- package/interfaces.js.map +0 -1
- package/labs/environmentSerializer.d.ts +0 -126
- package/labs/environmentSerializer.js +0 -191
- package/labs/environmentSerializer.js.map +0 -1
- package/labs/texture.d.ts +0 -183
- package/labs/texture.js +0 -350
- package/labs/texture.js.map +0 -1
- package/labs/viewerLabs.d.ts +0 -51
- package/labs/viewerLabs.js +0 -134
- package/labs/viewerLabs.js.map +0 -1
- package/loader/modelLoader.d.ts +0 -56
- package/loader/modelLoader.js +0 -199
- package/loader/modelLoader.js.map +0 -1
- package/loader/plugins/applyMaterialConfig.d.ts +0 -12
- package/loader/plugins/applyMaterialConfig.js +0 -16
- package/loader/plugins/applyMaterialConfig.js.map +0 -1
- package/loader/plugins/extendedMaterialLoaderPlugin.d.ts +0 -9
- package/loader/plugins/extendedMaterialLoaderPlugin.js +0 -16
- package/loader/plugins/extendedMaterialLoaderPlugin.js.map +0 -1
- package/loader/plugins/index.d.ts +0 -19
- package/loader/plugins/index.js +0 -44
- package/loader/plugins/index.js.map +0 -1
- package/loader/plugins/loaderPlugin.d.ts +0 -24
- package/loader/plugins/loaderPlugin.js +0 -2
- package/loader/plugins/loaderPlugin.js.map +0 -1
- package/loader/plugins/msftLodLoaderPlugin.d.ts +0 -12
- package/loader/plugins/msftLodLoaderPlugin.js +0 -21
- package/loader/plugins/msftLodLoaderPlugin.js.map +0 -1
- package/loader/plugins/telemetryLoaderPlugin.d.ts +0 -12
- package/loader/plugins/telemetryLoaderPlugin.js +0 -36
- package/loader/plugins/telemetryLoaderPlugin.js.map +0 -1
- package/managers/observablesManager.d.ts +0 -66
- package/managers/observablesManager.js +0 -35
- package/managers/observablesManager.js.map +0 -1
- package/managers/sceneManager.d.ts +0 -245
- package/managers/sceneManager.js +0 -1375
- package/managers/sceneManager.js.map +0 -1
- package/managers/telemetryManager.d.ts +0 -78
- package/managers/telemetryManager.js +0 -117
- package/managers/telemetryManager.js.map +0 -1
- package/model/modelAnimation.d.ts +0 -215
- package/model/modelAnimation.js +0 -237
- package/model/modelAnimation.js.map +0 -1
- package/model/viewerModel.d.ts +0 -233
- package/model/viewerModel.js +0 -673
- package/model/viewerModel.js.map +0 -1
- package/optimizer/custom/extended.d.ts +0 -13
- package/optimizer/custom/extended.js +0 -101
- package/optimizer/custom/extended.js.map +0 -1
- package/optimizer/custom/index.d.ts +0 -9
- package/optimizer/custom/index.js +0 -26
- package/optimizer/custom/index.js.map +0 -1
- package/renderOnlyIndex.d.ts +0 -11
- package/renderOnlyIndex.js +0 -18
- package/renderOnlyIndex.js.map +0 -1
- package/templating/eventManager.d.ts +0 -35
- package/templating/eventManager.js +0 -66
- package/templating/eventManager.js.map +0 -1
- package/templating/plugins/hdButtonPlugin.d.ts +0 -9
- package/templating/plugins/hdButtonPlugin.js +0 -21
- package/templating/plugins/hdButtonPlugin.js.map +0 -1
- package/templating/plugins/printButton.d.ts +0 -9
- package/templating/plugins/printButton.js +0 -40
- package/templating/plugins/printButton.js.map +0 -1
- package/templating/templateManager.d.ts +0 -197
- package/templating/templateManager.js +0 -561
- package/templating/templateManager.js.map +0 -1
- package/templating/viewerTemplatePlugin.d.ts +0 -21
- package/templating/viewerTemplatePlugin.js +0 -69
- package/templating/viewerTemplatePlugin.js.map +0 -1
- package/viewer/defaultViewer.d.ts +0 -130
- package/viewer/defaultViewer.js +0 -672
- package/viewer/defaultViewer.js.map +0 -1
- package/viewer/renderOnlyViewer.d.ts +0 -9
- package/viewer/renderOnlyViewer.js +0 -46
- package/viewer/renderOnlyViewer.js.map +0 -1
- package/viewer/viewer.d.ts +0 -258
- package/viewer/viewer.js +0 -783
- package/viewer/viewer.js.map +0 -1
- package/viewer/viewerManager.d.ts +0 -58
- package/viewer/viewerManager.js +0 -91
- package/viewer/viewerManager.js.map +0 -1
- package/viewer/viewerWithTemplate.d.ts +0 -9
- package/viewer/viewerWithTemplate.js +0 -20
- package/viewer/viewerWithTemplate.js.map +0 -1
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import { getConfigurationKey } from "./configuration.js";
|
|
2
|
-
/**
|
|
3
|
-
* This function will make sure the configuration file is taking deprecated fields into account
|
|
4
|
-
* and is setting them to the correct keys and values.
|
|
5
|
-
*
|
|
6
|
-
* @param configuration The configuration to process. Mutable!
|
|
7
|
-
*/
|
|
8
|
-
export function processConfigurationCompatibility(configuration) {
|
|
9
|
-
if (configuration.camera) {
|
|
10
|
-
// camera contrast -> image processing contrast
|
|
11
|
-
if (configuration.camera.contrast !== undefined) {
|
|
12
|
-
setKeyInObject(configuration, "scene.imageProcessingConfiguration.contrast", configuration.camera.contrast);
|
|
13
|
-
}
|
|
14
|
-
// camera exposure -> image processing exposure
|
|
15
|
-
if (configuration.camera.exposure !== undefined) {
|
|
16
|
-
setKeyInObject(configuration, "scene.imageProcessingConfiguration.exposure", configuration.camera.exposure);
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
if (configuration.scene) {
|
|
20
|
-
//glow
|
|
21
|
-
if (configuration.scene.glow) {
|
|
22
|
-
setKeyInObject(configuration, "lab.defaultRenderingPipelines.glowLayerEnabled", true);
|
|
23
|
-
var enabledProcessing = getConfigurationKey("scene.imageProcessingConfiguration.isEnabled", configuration);
|
|
24
|
-
if (enabledProcessing !== false) {
|
|
25
|
-
setKeyInObject(configuration, "scene.imageProcessingConfiguration.isEnabled", true);
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
if (configuration.scene.mainColor) {
|
|
29
|
-
setKeyInObject(configuration, "environmentMap.mainColor", configuration.scene.mainColor, true);
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
if (configuration.model && typeof configuration.model === "object") {
|
|
33
|
-
// castShadows === castShadow
|
|
34
|
-
if (configuration.model.castShadows !== undefined && configuration.model.castShadow === undefined) {
|
|
35
|
-
configuration.model.castShadow = configuration.model.castShadows;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
if (configuration.lab) {
|
|
39
|
-
if (configuration.lab.assetsRootURL) {
|
|
40
|
-
setKeyInObject(configuration, "scene.assetsRootURL", configuration.lab.assetsRootURL, true);
|
|
41
|
-
}
|
|
42
|
-
if (configuration.lab.environmentMap) {
|
|
43
|
-
setKeyInObject(configuration, "environmentMap", configuration.lab.environmentMap, true);
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
function setKeyInObject(object, keys, value, shouldOverwrite) {
|
|
48
|
-
var keySplit = keys.split(".");
|
|
49
|
-
if (keySplit.length === 0) {
|
|
50
|
-
return;
|
|
51
|
-
}
|
|
52
|
-
var lastKey = keySplit.pop();
|
|
53
|
-
if (!lastKey) {
|
|
54
|
-
return;
|
|
55
|
-
}
|
|
56
|
-
var curObj = object;
|
|
57
|
-
keySplit.forEach(function (key) {
|
|
58
|
-
curObj[key] = curObj[key] || {};
|
|
59
|
-
curObj = curObj[key];
|
|
60
|
-
});
|
|
61
|
-
if (curObj[lastKey] !== undefined && !shouldOverwrite) {
|
|
62
|
-
return;
|
|
63
|
-
}
|
|
64
|
-
curObj[lastKey] = value;
|
|
65
|
-
}
|
|
66
|
-
//# sourceMappingURL=configurationCompatibility.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"configurationCompatibility.js","sourceRoot":"","sources":["../../../../tools/viewer/src/configuration/configurationCompatibility.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AACtD;;;;;GAKG;AACH,MAAM,UAAU,iCAAiC,CAAC,aAAkC;IAChF,IAAI,aAAa,CAAC,MAAM,EAAE;QACtB,+CAA+C;QAC/C,IAAI,aAAa,CAAC,MAAM,CAAC,QAAQ,KAAK,SAAS,EAAE;YAC7C,cAAc,CAAC,aAAa,EAAE,6CAA6C,EAAE,aAAa,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;SAC/G;QAED,+CAA+C;QAC/C,IAAI,aAAa,CAAC,MAAM,CAAC,QAAQ,KAAK,SAAS,EAAE;YAC7C,cAAc,CAAC,aAAa,EAAE,6CAA6C,EAAE,aAAa,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;SAC/G;KACJ;IAED,IAAI,aAAa,CAAC,KAAK,EAAE;QACrB,MAAM;QACN,IAAI,aAAa,CAAC,KAAK,CAAC,IAAI,EAAE;YAC1B,cAAc,CAAC,aAAa,EAAE,gDAAgD,EAAE,IAAI,CAAC,CAAC;YACtF,IAAM,iBAAiB,GAAG,mBAAmB,CAAC,8CAA8C,EAAE,aAAa,CAAC,CAAC;YAC7G,IAAI,iBAAiB,KAAK,KAAK,EAAE;gBAC7B,cAAc,CAAC,aAAa,EAAE,8CAA8C,EAAE,IAAI,CAAC,CAAC;aACvF;SACJ;QAED,IAAI,aAAa,CAAC,KAAK,CAAC,SAAS,EAAE;YAC/B,cAAc,CAAC,aAAa,EAAE,0BAA0B,EAAE,aAAa,CAAC,KAAK,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;SAClG;KACJ;IAED,IAAI,aAAa,CAAC,KAAK,IAAI,OAAO,aAAa,CAAC,KAAK,KAAK,QAAQ,EAAE;QAChE,6BAA6B;QAC7B,IAAU,aAAa,CAAC,KAAM,CAAC,WAAW,KAAK,SAAS,IAAI,aAAa,CAAC,KAAK,CAAC,UAAU,KAAK,SAAS,EAAE;YACtG,aAAa,CAAC,KAAK,CAAC,UAAU,GAAS,aAAa,CAAC,KAAM,CAAC,WAAW,CAAC;SAC3E;KACJ;IAED,IAAI,aAAa,CAAC,GAAG,EAAE;QACnB,IAAI,aAAa,CAAC,GAAG,CAAC,aAAa,EAAE;YACjC,cAAc,CAAC,aAAa,EAAE,qBAAqB,EAAE,aAAa,CAAC,GAAG,CAAC,aAAa,EAAE,IAAI,CAAC,CAAC;SAC/F;QACD,IAAI,aAAa,CAAC,GAAG,CAAC,cAAc,EAAE;YAClC,cAAc,CAAC,aAAa,EAAE,gBAAgB,EAAE,aAAa,CAAC,GAAG,CAAC,cAAc,EAAE,IAAI,CAAC,CAAC;SAC3F;KACJ;AACL,CAAC;AAED,SAAS,cAAc,CAAC,MAAW,EAAE,IAAY,EAAE,KAAU,EAAE,eAAyB;IACpF,IAAM,QAAQ,GAAG,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;IACjC,IAAI,QAAQ,CAAC,MAAM,KAAK,CAAC,EAAE;QACvB,OAAO;KACV;IACD,IAAM,OAAO,GAAG,QAAQ,CAAC,GAAG,EAAE,CAAC;IAC/B,IAAI,CAAC,OAAO,EAAE;QACV,OAAO;KACV;IACD,IAAI,MAAM,GAAG,MAAM,CAAC;IACpB,QAAQ,CAAC,OAAO,CAAC,UAAC,GAAG;QACjB,MAAM,CAAC,GAAG,CAAC,GAAG,MAAM,CAAC,GAAG,CAAC,IAAI,EAAE,CAAC;QAChC,MAAM,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC;IACzB,CAAC,CAAC,CAAC;IACH,IAAI,MAAM,CAAC,OAAO,CAAC,KAAK,SAAS,IAAI,CAAC,eAAe,EAAE;QACnD,OAAO;KACV;IACD,MAAM,CAAC,OAAO,CAAC,GAAG,KAAK,CAAC;AAC5B,CAAC","sourcesContent":["import type { ViewerConfiguration } from \"./configuration\";\r\nimport { getConfigurationKey } from \"./configuration\";\r\n/**\r\n * This function will make sure the configuration file is taking deprecated fields into account\r\n * and is setting them to the correct keys and values.\r\n *\r\n * @param configuration The configuration to process. Mutable!\r\n */\r\nexport function processConfigurationCompatibility(configuration: ViewerConfiguration) {\r\n if (configuration.camera) {\r\n // camera contrast -> image processing contrast\r\n if (configuration.camera.contrast !== undefined) {\r\n setKeyInObject(configuration, \"scene.imageProcessingConfiguration.contrast\", configuration.camera.contrast);\r\n }\r\n\r\n // camera exposure -> image processing exposure\r\n if (configuration.camera.exposure !== undefined) {\r\n setKeyInObject(configuration, \"scene.imageProcessingConfiguration.exposure\", configuration.camera.exposure);\r\n }\r\n }\r\n\r\n if (configuration.scene) {\r\n //glow\r\n if (configuration.scene.glow) {\r\n setKeyInObject(configuration, \"lab.defaultRenderingPipelines.glowLayerEnabled\", true);\r\n const enabledProcessing = getConfigurationKey(\"scene.imageProcessingConfiguration.isEnabled\", configuration);\r\n if (enabledProcessing !== false) {\r\n setKeyInObject(configuration, \"scene.imageProcessingConfiguration.isEnabled\", true);\r\n }\r\n }\r\n\r\n if (configuration.scene.mainColor) {\r\n setKeyInObject(configuration, \"environmentMap.mainColor\", configuration.scene.mainColor, true);\r\n }\r\n }\r\n\r\n if (configuration.model && typeof configuration.model === \"object\") {\r\n // castShadows === castShadow\r\n if ((<any>configuration.model).castShadows !== undefined && configuration.model.castShadow === undefined) {\r\n configuration.model.castShadow = (<any>configuration.model).castShadows;\r\n }\r\n }\r\n\r\n if (configuration.lab) {\r\n if (configuration.lab.assetsRootURL) {\r\n setKeyInObject(configuration, \"scene.assetsRootURL\", configuration.lab.assetsRootURL, true);\r\n }\r\n if (configuration.lab.environmentMap) {\r\n setKeyInObject(configuration, \"environmentMap\", configuration.lab.environmentMap, true);\r\n }\r\n }\r\n}\r\n\r\nfunction setKeyInObject(object: any, keys: string, value: any, shouldOverwrite?: boolean) {\r\n const keySplit = keys.split(\".\");\r\n if (keySplit.length === 0) {\r\n return;\r\n }\r\n const lastKey = keySplit.pop();\r\n if (!lastKey) {\r\n return;\r\n }\r\n let curObj = object;\r\n keySplit.forEach((key) => {\r\n curObj[key] = curObj[key] || {};\r\n curObj = curObj[key];\r\n });\r\n if (curObj[lastKey] !== undefined && !shouldOverwrite) {\r\n return;\r\n }\r\n curObj[lastKey] = value;\r\n}\r\n"]}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { ViewerConfiguration } from "./configuration";
|
|
2
|
-
import { Color3 } from "@babylonjs/core/Maths/math.js";
|
|
3
|
-
import type { Scene } from "@babylonjs/core/scene.js";
|
|
4
|
-
export declare class ConfigurationContainer {
|
|
5
|
-
configuration: ViewerConfiguration;
|
|
6
|
-
viewerId: string;
|
|
7
|
-
mainColor: Color3;
|
|
8
|
-
reflectionColor: Color3;
|
|
9
|
-
scene?: Scene;
|
|
10
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { Color3 } from "@babylonjs/core/Maths/math.js";
|
|
2
|
-
var ConfigurationContainer = /** @class */ (function () {
|
|
3
|
-
function ConfigurationContainer() {
|
|
4
|
-
this.mainColor = Color3.White();
|
|
5
|
-
this.reflectionColor = Color3.White();
|
|
6
|
-
}
|
|
7
|
-
return ConfigurationContainer;
|
|
8
|
-
}());
|
|
9
|
-
export { ConfigurationContainer };
|
|
10
|
-
//# sourceMappingURL=configurationContainer.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"configurationContainer.js","sourceRoot":"","sources":["../../../../tools/viewer/src/configuration/configurationContainer.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,sCAAwB;AAGzC;IAAA;QAKW,cAAS,GAAW,MAAM,CAAC,KAAK,EAAE,CAAC;QACnC,oBAAe,GAAW,MAAM,CAAC,KAAK,EAAE,CAAC;IAEpD,CAAC;IAAD,6BAAC;AAAD,CAAC,AARD,IAQC","sourcesContent":["import type { ViewerConfiguration } from \"./configuration\";\r\nimport { Color3 } from \"core/Maths/math\";\r\nimport type { Scene } from \"core/scene\";\r\n\r\nexport class ConfigurationContainer {\r\n public configuration: ViewerConfiguration;\r\n\r\n public viewerId: string;\r\n\r\n public mainColor: Color3 = Color3.White();\r\n public reflectionColor: Color3 = Color3.White();\r\n public scene?: Scene;\r\n}\r\n"]}
|
package/configuration/globals.js
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { Engine } from "@babylonjs/core/Engines/engine.js";
|
|
2
|
-
var ViewerGlobals = /** @class */ (function () {
|
|
3
|
-
function ViewerGlobals() {
|
|
4
|
-
this.disableInit = false;
|
|
5
|
-
this.disableWebGL2Support = false;
|
|
6
|
-
}
|
|
7
|
-
Object.defineProperty(ViewerGlobals.prototype, "version", {
|
|
8
|
-
get: function () {
|
|
9
|
-
return Engine.Version;
|
|
10
|
-
},
|
|
11
|
-
enumerable: false,
|
|
12
|
-
configurable: true
|
|
13
|
-
});
|
|
14
|
-
return ViewerGlobals;
|
|
15
|
-
}());
|
|
16
|
-
export { ViewerGlobals };
|
|
17
|
-
export var viewerGlobals = new ViewerGlobals();
|
|
18
|
-
//# sourceMappingURL=globals.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"globals.js","sourceRoot":"","sources":["../../../../tools/viewer/src/configuration/globals.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,0CAA4B;AAE7C;IAAA;QACW,gBAAW,GAAY,KAAK,CAAC;QAC7B,yBAAoB,GAAY,KAAK,CAAC;IAKjD,CAAC;IAHG,sBAAW,kCAAO;aAAlB;YACI,OAAO,MAAM,CAAC,OAAO,CAAC;QAC1B,CAAC;;;OAAA;IACL,oBAAC;AAAD,CAAC,AAPD,IAOC;;AAED,MAAM,CAAC,IAAM,aAAa,GAAkB,IAAI,aAAa,EAAE,CAAC","sourcesContent":["import { Engine } from \"core/Engines/engine\";\r\n\r\nexport class ViewerGlobals {\r\n public disableInit: boolean = false;\r\n public disableWebGL2Support: boolean = false;\r\n\r\n public get version(): string {\r\n return Engine.Version;\r\n }\r\n}\r\n\r\nexport const viewerGlobals: ViewerGlobals = new ViewerGlobals();\r\n"]}
|
package/configuration/index.d.ts
DELETED
package/configuration/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../tools/viewer/src/configuration/index.ts"],"names":[],"mappings":"AAAA,+CAA+C;AAC/C,cAAc,iBAAiB,CAAC;AAChC,cAAc,oBAAoB,CAAC","sourcesContent":["/* eslint-disable import/no-internal-modules */\r\nexport * from \"./configuration\";\r\nexport * from \"./interfaces/index\";\r\n"]}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
export interface ICameraConfiguration {
|
|
2
|
-
position?: {
|
|
3
|
-
x: number;
|
|
4
|
-
y: number;
|
|
5
|
-
z: number;
|
|
6
|
-
};
|
|
7
|
-
rotation?: {
|
|
8
|
-
x: number;
|
|
9
|
-
y: number;
|
|
10
|
-
z: number;
|
|
11
|
-
w: number;
|
|
12
|
-
};
|
|
13
|
-
fov?: number;
|
|
14
|
-
fovMode?: number;
|
|
15
|
-
minZ?: number;
|
|
16
|
-
maxZ?: number;
|
|
17
|
-
inertia?: number;
|
|
18
|
-
exposure?: number;
|
|
19
|
-
pinchPrecision?: number;
|
|
20
|
-
behaviors?: {
|
|
21
|
-
[name: string]: boolean | number | ICameraBehaviorConfiguration;
|
|
22
|
-
};
|
|
23
|
-
disableCameraControl?: boolean;
|
|
24
|
-
disableCtrlForPanning?: boolean;
|
|
25
|
-
disableAutoFocus?: boolean;
|
|
26
|
-
[propName: string]: any;
|
|
27
|
-
}
|
|
28
|
-
export interface ICameraBehaviorConfiguration {
|
|
29
|
-
type: number;
|
|
30
|
-
[propName: string]: any;
|
|
31
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"cameraConfiguration.js","sourceRoot":"","sources":["../../../../../tools/viewer/src/configuration/interfaces/cameraConfiguration.ts"],"names":[],"mappings":"","sourcesContent":["export interface ICameraConfiguration {\r\n position?: { x: number; y: number; z: number };\r\n rotation?: { x: number; y: number; z: number; w: number };\r\n fov?: number;\r\n fovMode?: number;\r\n minZ?: number;\r\n maxZ?: number;\r\n inertia?: number;\r\n exposure?: number;\r\n pinchPrecision?: number;\r\n behaviors?: {\r\n [name: string]: boolean | number | ICameraBehaviorConfiguration;\r\n };\r\n disableCameraControl?: boolean;\r\n disableCtrlForPanning?: boolean;\r\n disableAutoFocus?: boolean;\r\n\r\n [propName: string]: any;\r\n}\r\n\r\nexport interface ICameraBehaviorConfiguration {\r\n type: number;\r\n [propName: string]: any;\r\n}\r\n"]}
|
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The Color Grading Configuration groups the different settings used to define the color grading used in the viewer.
|
|
3
|
-
*/
|
|
4
|
-
export interface IColorGradingConfiguration {
|
|
5
|
-
/**
|
|
6
|
-
* Transform data string, encoded as determined by transformDataFormat.
|
|
7
|
-
*/
|
|
8
|
-
transformData: string;
|
|
9
|
-
/**
|
|
10
|
-
* The encoding format of TransformData (currently only raw-base16 is supported).
|
|
11
|
-
*/
|
|
12
|
-
transformDataFormat: string;
|
|
13
|
-
/**
|
|
14
|
-
* The weight of the transform
|
|
15
|
-
*/
|
|
16
|
-
transformWeight: number;
|
|
17
|
-
/**
|
|
18
|
-
* Color curve colorFilterHueGlobal value
|
|
19
|
-
*/
|
|
20
|
-
colorFilterHueGlobal: number;
|
|
21
|
-
/**
|
|
22
|
-
* Color curve colorFilterHueShadows value
|
|
23
|
-
*/
|
|
24
|
-
colorFilterHueShadows: number;
|
|
25
|
-
/**
|
|
26
|
-
* Color curve colorFilterHueMidtones value
|
|
27
|
-
*/
|
|
28
|
-
colorFilterHueMidtones: number;
|
|
29
|
-
/**
|
|
30
|
-
* Color curve colorFilterHueHighlights value
|
|
31
|
-
*/
|
|
32
|
-
colorFilterHueHighlights: number;
|
|
33
|
-
/**
|
|
34
|
-
* Color curve colorFilterDensityGlobal value
|
|
35
|
-
*/
|
|
36
|
-
colorFilterDensityGlobal: number;
|
|
37
|
-
/**
|
|
38
|
-
* Color curve colorFilterDensityShadows value
|
|
39
|
-
*/
|
|
40
|
-
colorFilterDensityShadows: number;
|
|
41
|
-
/**
|
|
42
|
-
* Color curve colorFilterDensityMidtones value
|
|
43
|
-
*/
|
|
44
|
-
colorFilterDensityMidtones: number;
|
|
45
|
-
/**
|
|
46
|
-
* Color curve colorFilterDensityHighlights value
|
|
47
|
-
*/
|
|
48
|
-
colorFilterDensityHighlights: number;
|
|
49
|
-
/**
|
|
50
|
-
* Color curve saturationGlobal value
|
|
51
|
-
*/
|
|
52
|
-
saturationGlobal: number;
|
|
53
|
-
/**
|
|
54
|
-
* Color curve saturationShadows value
|
|
55
|
-
*/
|
|
56
|
-
saturationShadows: number;
|
|
57
|
-
/**
|
|
58
|
-
* Color curve saturationMidtones value
|
|
59
|
-
*/
|
|
60
|
-
saturationMidtones: number;
|
|
61
|
-
/**
|
|
62
|
-
* Color curve saturationHighlights value
|
|
63
|
-
*/
|
|
64
|
-
saturationHighlights: number;
|
|
65
|
-
/**
|
|
66
|
-
* Color curve exposureGlobal value
|
|
67
|
-
*/
|
|
68
|
-
exposureGlobal: number;
|
|
69
|
-
/**
|
|
70
|
-
* Color curve exposureShadows value
|
|
71
|
-
*/
|
|
72
|
-
exposureShadows: number;
|
|
73
|
-
/**
|
|
74
|
-
* Color curve exposureMidtones value
|
|
75
|
-
*/
|
|
76
|
-
exposureMidtones: number;
|
|
77
|
-
/**
|
|
78
|
-
* Color curve exposureHighlights value
|
|
79
|
-
*/
|
|
80
|
-
exposureHighlights: number;
|
|
81
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"colorGradingConfiguration.js","sourceRoot":"","sources":["../../../../../tools/viewer/src/configuration/interfaces/colorGradingConfiguration.ts"],"names":[],"mappings":"","sourcesContent":["/**\r\n * The Color Grading Configuration groups the different settings used to define the color grading used in the viewer.\r\n */\r\nexport interface IColorGradingConfiguration {\r\n /**\r\n * Transform data string, encoded as determined by transformDataFormat.\r\n */\r\n transformData: string;\r\n\r\n /**\r\n * The encoding format of TransformData (currently only raw-base16 is supported).\r\n */\r\n transformDataFormat: string;\r\n\r\n /**\r\n * The weight of the transform\r\n */\r\n transformWeight: number;\r\n\r\n /**\r\n * Color curve colorFilterHueGlobal value\r\n */\r\n colorFilterHueGlobal: number;\r\n\r\n /**\r\n * Color curve colorFilterHueShadows value\r\n */\r\n colorFilterHueShadows: number;\r\n\r\n /**\r\n * Color curve colorFilterHueMidtones value\r\n */\r\n colorFilterHueMidtones: number;\r\n\r\n /**\r\n * Color curve colorFilterHueHighlights value\r\n */\r\n colorFilterHueHighlights: number;\r\n\r\n /**\r\n * Color curve colorFilterDensityGlobal value\r\n */\r\n colorFilterDensityGlobal: number;\r\n\r\n /**\r\n * Color curve colorFilterDensityShadows value\r\n */\r\n colorFilterDensityShadows: number;\r\n\r\n /**\r\n * Color curve colorFilterDensityMidtones value\r\n */\r\n colorFilterDensityMidtones: number;\r\n\r\n /**\r\n * Color curve colorFilterDensityHighlights value\r\n */\r\n colorFilterDensityHighlights: number;\r\n\r\n /**\r\n * Color curve saturationGlobal value\r\n */\r\n saturationGlobal: number;\r\n\r\n /**\r\n * Color curve saturationShadows value\r\n */\r\n saturationShadows: number;\r\n\r\n /**\r\n * Color curve saturationMidtones value\r\n */\r\n saturationMidtones: number;\r\n\r\n /**\r\n * Color curve saturationHighlights value\r\n */\r\n saturationHighlights: number;\r\n\r\n /**\r\n * Color curve exposureGlobal value\r\n */\r\n exposureGlobal: number;\r\n\r\n /**\r\n * Color curve exposureShadows value\r\n */\r\n exposureShadows: number;\r\n\r\n /**\r\n * Color curve exposureMidtones value\r\n */\r\n exposureMidtones: number;\r\n\r\n /**\r\n * Color curve exposureHighlights value\r\n */\r\n exposureHighlights: number;\r\n}\r\n"]}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import type { DepthOfFieldEffectBlurLevel } from "@babylonjs/core/PostProcesses/depthOfFieldEffect.js";
|
|
2
|
-
export interface IDefaultRenderingPipelineConfiguration {
|
|
3
|
-
sharpenEnabled?: boolean;
|
|
4
|
-
bloomEnabled?: boolean;
|
|
5
|
-
bloomThreshold?: number;
|
|
6
|
-
depthOfFieldEnabled?: boolean;
|
|
7
|
-
depthOfFieldBlurLevel?: DepthOfFieldEffectBlurLevel;
|
|
8
|
-
fxaaEnabled?: boolean;
|
|
9
|
-
imageProcessingEnabled?: boolean;
|
|
10
|
-
defaultPipelineTextureType?: number;
|
|
11
|
-
bloomScale?: number;
|
|
12
|
-
chromaticAberrationEnabled?: boolean;
|
|
13
|
-
grainEnabled?: boolean;
|
|
14
|
-
bloomKernel?: number;
|
|
15
|
-
hardwareScaleLevel?: number;
|
|
16
|
-
bloomWeight?: number;
|
|
17
|
-
hdr?: boolean;
|
|
18
|
-
samples?: number;
|
|
19
|
-
glowLayerEnabled?: boolean;
|
|
20
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"defaultRenderingPipelineConfiguration.js","sourceRoot":"","sources":["../../../../../tools/viewer/src/configuration/interfaces/defaultRenderingPipelineConfiguration.ts"],"names":[],"mappings":"","sourcesContent":["import type { DepthOfFieldEffectBlurLevel } from \"core/PostProcesses/depthOfFieldEffect\";\r\n\r\nexport interface IDefaultRenderingPipelineConfiguration {\r\n sharpenEnabled?: boolean;\r\n bloomEnabled?: boolean;\r\n bloomThreshold?: number;\r\n depthOfFieldEnabled?: boolean;\r\n depthOfFieldBlurLevel?: DepthOfFieldEffectBlurLevel;\r\n fxaaEnabled?: boolean;\r\n imageProcessingEnabled?: boolean;\r\n defaultPipelineTextureType?: number;\r\n bloomScale?: number;\r\n chromaticAberrationEnabled?: boolean;\r\n grainEnabled?: boolean;\r\n bloomKernel?: number;\r\n hardwareScaleLevel?: number;\r\n bloomWeight?: number;\r\n hdr?: boolean;\r\n samples?: number;\r\n glowLayerEnabled?: boolean;\r\n}\r\n"]}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
export interface IEnvironmentMapConfiguration {
|
|
2
|
-
/**
|
|
3
|
-
* Environment map texture path in relative to the asset folder.
|
|
4
|
-
*/
|
|
5
|
-
texture: string;
|
|
6
|
-
/**
|
|
7
|
-
* Default rotation to apply to the environment map.
|
|
8
|
-
*/
|
|
9
|
-
rotationY: number;
|
|
10
|
-
/**
|
|
11
|
-
* Tint level of the main color on the environment map.
|
|
12
|
-
*/
|
|
13
|
-
tintLevel: number;
|
|
14
|
-
/**
|
|
15
|
-
* The environment's main color.
|
|
16
|
-
*/
|
|
17
|
-
mainColor?: {
|
|
18
|
-
r?: number;
|
|
19
|
-
g?: number;
|
|
20
|
-
b?: number;
|
|
21
|
-
};
|
|
22
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"environmentMapConfiguration.js","sourceRoot":"","sources":["../../../../../tools/viewer/src/configuration/interfaces/environmentMapConfiguration.ts"],"names":[],"mappings":"","sourcesContent":["export interface IEnvironmentMapConfiguration {\r\n /**\r\n * Environment map texture path in relative to the asset folder.\r\n */\r\n texture: string;\r\n\r\n /**\r\n * Default rotation to apply to the environment map.\r\n */\r\n rotationY: number;\r\n\r\n /**\r\n * Tint level of the main color on the environment map.\r\n */\r\n tintLevel: number;\r\n\r\n /**\r\n * The environment's main color.\r\n */\r\n mainColor?: { r?: number; g?: number; b?: number };\r\n}\r\n"]}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
export interface IGroundConfiguration {
|
|
2
|
-
size?: number;
|
|
3
|
-
receiveShadows?: boolean;
|
|
4
|
-
shadowLevel?: number;
|
|
5
|
-
/** @deprecated */ shadowOnly?: boolean;
|
|
6
|
-
mirror?: boolean | {
|
|
7
|
-
sizeRatio?: number;
|
|
8
|
-
blurKernel?: number;
|
|
9
|
-
amount?: number;
|
|
10
|
-
fresnelWeight?: number;
|
|
11
|
-
fallOffDistance?: number;
|
|
12
|
-
textureType?: number;
|
|
13
|
-
};
|
|
14
|
-
texture?: string;
|
|
15
|
-
color?: {
|
|
16
|
-
r: number;
|
|
17
|
-
g: number;
|
|
18
|
-
b: number;
|
|
19
|
-
};
|
|
20
|
-
opacity?: number;
|
|
21
|
-
material?: {
|
|
22
|
-
[propName: string]: any;
|
|
23
|
-
};
|
|
24
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"groundConfiguration.js","sourceRoot":"","sources":["../../../../../tools/viewer/src/configuration/interfaces/groundConfiguration.ts"],"names":[],"mappings":"","sourcesContent":["export interface IGroundConfiguration {\r\n size?: number;\r\n receiveShadows?: boolean;\r\n shadowLevel?: number;\r\n /** @deprecated */ shadowOnly?: boolean;\r\n mirror?:\r\n | boolean\r\n | {\r\n sizeRatio?: number;\r\n blurKernel?: number;\r\n amount?: number;\r\n fresnelWeight?: number;\r\n fallOffDistance?: number;\r\n textureType?: number;\r\n };\r\n texture?: string;\r\n color?: { r: number; g: number; b: number };\r\n opacity?: number;\r\n material?: {\r\n [propName: string]: any;\r\n };\r\n}\r\n"]}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
export interface IImageProcessingConfiguration {
|
|
2
|
-
colorGradingEnabled?: boolean;
|
|
3
|
-
colorCurvesEnabled?: boolean;
|
|
4
|
-
colorCurves?: {
|
|
5
|
-
globalHue?: number;
|
|
6
|
-
globalDensity?: number;
|
|
7
|
-
globalSaturation?: number;
|
|
8
|
-
globalExposure?: number;
|
|
9
|
-
highlightsHue?: number;
|
|
10
|
-
highlightsDensity?: number;
|
|
11
|
-
highlightsSaturation?: number;
|
|
12
|
-
highlightsExposure?: number;
|
|
13
|
-
midtonesHue?: number;
|
|
14
|
-
midtonesDensity?: number;
|
|
15
|
-
midtonesSaturation?: number;
|
|
16
|
-
midtonesExposure?: number;
|
|
17
|
-
shadowsHue?: number;
|
|
18
|
-
shadowsDensity?: number;
|
|
19
|
-
shadowsSaturation?: number;
|
|
20
|
-
shadowsExposure?: number;
|
|
21
|
-
};
|
|
22
|
-
colorGradingWithGreenDepth?: boolean;
|
|
23
|
-
colorGradingBGR?: boolean;
|
|
24
|
-
exposure?: number;
|
|
25
|
-
toneMappingEnabled?: boolean;
|
|
26
|
-
contrast?: number;
|
|
27
|
-
vignetteEnabled?: boolean;
|
|
28
|
-
vignetteStretch?: number;
|
|
29
|
-
vignetteCentreX?: number;
|
|
30
|
-
vignetteCentreY?: number;
|
|
31
|
-
vignetteCenterX?: number;
|
|
32
|
-
vignetteCenterY?: number;
|
|
33
|
-
vignetteWeight?: number;
|
|
34
|
-
vignetteColor?: {
|
|
35
|
-
r: number;
|
|
36
|
-
g: number;
|
|
37
|
-
b: number;
|
|
38
|
-
a?: number;
|
|
39
|
-
};
|
|
40
|
-
vignetteCameraFov?: number;
|
|
41
|
-
vignetteBlendMode?: number;
|
|
42
|
-
vignetteM?: boolean;
|
|
43
|
-
applyByPostProcess?: boolean;
|
|
44
|
-
isEnabled?: boolean;
|
|
45
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"imageProcessingConfiguration.js","sourceRoot":"","sources":["../../../../../tools/viewer/src/configuration/interfaces/imageProcessingConfiguration.ts"],"names":[],"mappings":"","sourcesContent":["export interface IImageProcessingConfiguration {\r\n colorGradingEnabled?: boolean;\r\n colorCurvesEnabled?: boolean;\r\n colorCurves?: {\r\n globalHue?: number;\r\n globalDensity?: number;\r\n globalSaturation?: number;\r\n globalExposure?: number;\r\n highlightsHue?: number;\r\n highlightsDensity?: number;\r\n highlightsSaturation?: number;\r\n highlightsExposure?: number;\r\n midtonesHue?: number;\r\n midtonesDensity?: number;\r\n midtonesSaturation?: number;\r\n midtonesExposure?: number;\r\n shadowsHue?: number;\r\n shadowsDensity?: number;\r\n shadowsSaturation?: number;\r\n shadowsExposure?: number;\r\n };\r\n colorGradingWithGreenDepth?: boolean;\r\n colorGradingBGR?: boolean;\r\n exposure?: number;\r\n toneMappingEnabled?: boolean;\r\n contrast?: number;\r\n vignetteEnabled?: boolean;\r\n vignetteStretch?: number;\r\n vignetteCentreX?: number;\r\n vignetteCentreY?: number;\r\n vignetteCenterX?: number;\r\n vignetteCenterY?: number;\r\n vignetteWeight?: number;\r\n vignetteColor?: { r: number; g: number; b: number; a?: number };\r\n vignetteCameraFov?: number;\r\n vignetteBlendMode?: number;\r\n vignetteM?: boolean;\r\n applyByPostProcess?: boolean;\r\n isEnabled?: boolean;\r\n}\r\n"]}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export * from "./cameraConfiguration";
|
|
2
|
-
export * from "./colorGradingConfiguration";
|
|
3
|
-
export * from "./defaultRenderingPipelineConfiguration";
|
|
4
|
-
export * from "./groundConfiguration";
|
|
5
|
-
export * from "./imageProcessingConfiguration";
|
|
6
|
-
export * from "./lightConfiguration";
|
|
7
|
-
export * from "./modelAnimationConfiguration";
|
|
8
|
-
export * from "./modelConfiguration";
|
|
9
|
-
export * from "./observersConfiguration";
|
|
10
|
-
export * from "./sceneConfiguration";
|
|
11
|
-
export * from "./sceneOptimizerConfiguration";
|
|
12
|
-
export * from "./skyboxConfiguration";
|
|
13
|
-
export * from "./templateConfiguration";
|
|
14
|
-
export * from "./vrConfiguration";
|
|
15
|
-
export * from "./environmentMapConfiguration";
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
export * from "./cameraConfiguration.js";
|
|
2
|
-
export * from "./colorGradingConfiguration.js";
|
|
3
|
-
export * from "./defaultRenderingPipelineConfiguration.js";
|
|
4
|
-
export * from "./groundConfiguration.js";
|
|
5
|
-
export * from "./imageProcessingConfiguration.js";
|
|
6
|
-
export * from "./lightConfiguration.js";
|
|
7
|
-
export * from "./modelAnimationConfiguration.js";
|
|
8
|
-
export * from "./modelConfiguration.js";
|
|
9
|
-
export * from "./observersConfiguration.js";
|
|
10
|
-
export * from "./sceneConfiguration.js";
|
|
11
|
-
export * from "./sceneOptimizerConfiguration.js";
|
|
12
|
-
export * from "./skyboxConfiguration.js";
|
|
13
|
-
export * from "./templateConfiguration.js";
|
|
14
|
-
export * from "./vrConfiguration.js";
|
|
15
|
-
export * from "./environmentMapConfiguration.js";
|
|
16
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../tools/viewer/src/configuration/interfaces/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC;AACtC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,yCAAyC,CAAC;AACxD,cAAc,uBAAuB,CAAC;AACtC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,sBAAsB,CAAC;AACrC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,sBAAsB,CAAC;AACrC,cAAc,0BAA0B,CAAC;AACzC,cAAc,sBAAsB,CAAC;AACrC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC;AACxC,cAAc,mBAAmB,CAAC;AAClC,cAAc,+BAA+B,CAAC","sourcesContent":["export * from \"./cameraConfiguration\";\r\nexport * from \"./colorGradingConfiguration\";\r\nexport * from \"./defaultRenderingPipelineConfiguration\";\r\nexport * from \"./groundConfiguration\";\r\nexport * from \"./imageProcessingConfiguration\";\r\nexport * from \"./lightConfiguration\";\r\nexport * from \"./modelAnimationConfiguration\";\r\nexport * from \"./modelConfiguration\";\r\nexport * from \"./observersConfiguration\";\r\nexport * from \"./sceneConfiguration\";\r\nexport * from \"./sceneOptimizerConfiguration\";\r\nexport * from \"./skyboxConfiguration\";\r\nexport * from \"./templateConfiguration\";\r\nexport * from \"./vrConfiguration\";\r\nexport * from \"./environmentMapConfiguration\";\r\n"]}
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
export interface ILightConfiguration {
|
|
2
|
-
type: number;
|
|
3
|
-
name?: string;
|
|
4
|
-
disabled?: boolean;
|
|
5
|
-
position?: {
|
|
6
|
-
x: number;
|
|
7
|
-
y: number;
|
|
8
|
-
z: number;
|
|
9
|
-
};
|
|
10
|
-
target?: {
|
|
11
|
-
x: number;
|
|
12
|
-
y: number;
|
|
13
|
-
z: number;
|
|
14
|
-
};
|
|
15
|
-
direction?: {
|
|
16
|
-
x: number;
|
|
17
|
-
y: number;
|
|
18
|
-
z: number;
|
|
19
|
-
};
|
|
20
|
-
diffuse?: {
|
|
21
|
-
r: number;
|
|
22
|
-
g: number;
|
|
23
|
-
b: number;
|
|
24
|
-
};
|
|
25
|
-
specular?: {
|
|
26
|
-
r: number;
|
|
27
|
-
g: number;
|
|
28
|
-
b: number;
|
|
29
|
-
};
|
|
30
|
-
intensity?: number;
|
|
31
|
-
intensityMode?: number;
|
|
32
|
-
radius?: number;
|
|
33
|
-
shadownEnabled?: boolean;
|
|
34
|
-
shadowConfig?: {
|
|
35
|
-
useBlurExponentialShadowMap?: boolean;
|
|
36
|
-
useBlurCloseExponentialShadowMap?: boolean;
|
|
37
|
-
useKernelBlur?: boolean;
|
|
38
|
-
blurKernel?: number;
|
|
39
|
-
blurScale?: number;
|
|
40
|
-
minZ?: number;
|
|
41
|
-
maxZ?: number;
|
|
42
|
-
frustumSize?: number;
|
|
43
|
-
angleScale?: number;
|
|
44
|
-
frustumEdgeFalloff?: number;
|
|
45
|
-
[propName: string]: any;
|
|
46
|
-
};
|
|
47
|
-
spotAngle?: number;
|
|
48
|
-
shadowFieldOfView?: number;
|
|
49
|
-
shadowBufferSize?: number;
|
|
50
|
-
shadowFrustumSize?: number;
|
|
51
|
-
shadowMinZ?: number;
|
|
52
|
-
shadowMaxZ?: number;
|
|
53
|
-
[propName: string]: any;
|
|
54
|
-
behaviors?: {
|
|
55
|
-
[name: string]: number | {
|
|
56
|
-
type: number;
|
|
57
|
-
[propName: string]: any;
|
|
58
|
-
};
|
|
59
|
-
};
|
|
60
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"lightConfiguration.js","sourceRoot":"","sources":["../../../../../tools/viewer/src/configuration/interfaces/lightConfiguration.ts"],"names":[],"mappings":"","sourcesContent":["export interface ILightConfiguration {\r\n type: number;\r\n name?: string;\r\n disabled?: boolean;\r\n position?: { x: number; y: number; z: number };\r\n target?: { x: number; y: number; z: number };\r\n direction?: { x: number; y: number; z: number };\r\n diffuse?: { r: number; g: number; b: number };\r\n specular?: { r: number; g: number; b: number };\r\n intensity?: number;\r\n intensityMode?: number;\r\n radius?: number;\r\n shadownEnabled?: boolean; // only on specific lights!\r\n shadowConfig?: {\r\n useBlurExponentialShadowMap?: boolean;\r\n useBlurCloseExponentialShadowMap?: boolean;\r\n useKernelBlur?: boolean;\r\n blurKernel?: number;\r\n blurScale?: number;\r\n minZ?: number;\r\n maxZ?: number;\r\n frustumSize?: number;\r\n angleScale?: number;\r\n frustumEdgeFalloff?: number;\r\n [propName: string]: any;\r\n };\r\n spotAngle?: number;\r\n shadowFieldOfView?: number;\r\n shadowBufferSize?: number;\r\n shadowFrustumSize?: number;\r\n shadowMinZ?: number;\r\n shadowMaxZ?: number;\r\n [propName: string]: any;\r\n\r\n // no behaviors for light at the moment, but allowing configuration for future reference.\r\n behaviors?: {\r\n [name: string]:\r\n | number\r\n | {\r\n type: number;\r\n [propName: string]: any;\r\n };\r\n };\r\n}\r\n"]}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Defines an animation to be applied to a model (translation, scale or rotation).
|
|
3
|
-
*/
|
|
4
|
-
export interface IModelAnimationConfiguration {
|
|
5
|
-
/**
|
|
6
|
-
* Time of animation, in seconds
|
|
7
|
-
*/
|
|
8
|
-
time?: number;
|
|
9
|
-
/**
|
|
10
|
-
* Scale to apply
|
|
11
|
-
*/
|
|
12
|
-
scaling?: {
|
|
13
|
-
x: number;
|
|
14
|
-
y: number;
|
|
15
|
-
z: number;
|
|
16
|
-
};
|
|
17
|
-
/**
|
|
18
|
-
* Easing function to apply
|
|
19
|
-
*/
|
|
20
|
-
easingFunction?: number;
|
|
21
|
-
/**
|
|
22
|
-
* An Easing mode to apply to the easing function
|
|
23
|
-
* See BABYLON.EasingFunction
|
|
24
|
-
*/
|
|
25
|
-
easingMode?: number;
|
|
26
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"modelAnimationConfiguration.js","sourceRoot":"","sources":["../../../../../tools/viewer/src/configuration/interfaces/modelAnimationConfiguration.ts"],"names":[],"mappings":"","sourcesContent":["/**\r\n * Defines an animation to be applied to a model (translation, scale or rotation).\r\n */\r\nexport interface IModelAnimationConfiguration {\r\n /**\r\n * Time of animation, in seconds\r\n */\r\n time?: number;\r\n\r\n /**\r\n * Scale to apply\r\n */\r\n scaling?: {\r\n x: number;\r\n y: number;\r\n z: number;\r\n };\r\n\r\n /**\r\n * Easing function to apply\r\n */\r\n easingFunction?: number;\r\n\r\n /**\r\n * An Easing mode to apply to the easing function\r\n * See BABYLON.EasingFunction\r\n */\r\n easingMode?: number;\r\n}\r\n"]}
|