@babylonjs/viewer 7.26.1 → 7.26.2-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/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-CNg2Rp4v.esm.js +171 -0
- package/dist/chunks/EXT_lights_image_based-CNg2Rp4v.esm.js.map +1 -0
- package/dist/chunks/EXT_lights_image_based-CQ8Oku4R.esm.min.js +2 -0
- package/dist/chunks/EXT_lights_image_based-CQ8Oku4R.esm.min.js.map +1 -0
- package/dist/chunks/EXT_mesh_gpu_instancing-BQcWoLFk.esm.min.js +2 -0
- package/dist/chunks/EXT_mesh_gpu_instancing-BQcWoLFk.esm.min.js.map +1 -0
- package/dist/chunks/EXT_mesh_gpu_instancing-CYvF9_eh.esm.js +86 -0
- package/dist/chunks/EXT_mesh_gpu_instancing-CYvF9_eh.esm.js.map +1 -0
- package/dist/chunks/EXT_meshopt_compression-Ce2BqF3w.esm.min.js +2 -0
- package/dist/chunks/EXT_meshopt_compression-Ce2BqF3w.esm.min.js.map +1 -0
- package/dist/chunks/EXT_meshopt_compression-Dd70YaK8.esm.js +134 -0
- package/dist/chunks/EXT_meshopt_compression-Dd70YaK8.esm.js.map +1 -0
- package/dist/chunks/EXT_texture_avif-BHJoSxVO.esm.js +44 -0
- package/dist/chunks/EXT_texture_avif-BHJoSxVO.esm.js.map +1 -0
- package/dist/chunks/EXT_texture_avif-yOegs1IF.esm.min.js +2 -0
- package/dist/chunks/EXT_texture_avif-yOegs1IF.esm.min.js.map +1 -0
- package/dist/chunks/EXT_texture_webp-BZsEja6i.esm.js +43 -0
- package/dist/chunks/EXT_texture_webp-BZsEja6i.esm.js.map +1 -0
- package/dist/chunks/EXT_texture_webp-Cr_ddeL9.esm.min.js +2 -0
- package/dist/chunks/EXT_texture_webp-Cr_ddeL9.esm.min.js.map +1 -0
- package/dist/chunks/ExtrasAsMetadata-BxWnrlp2.esm.js +64 -0
- package/dist/chunks/ExtrasAsMetadata-BxWnrlp2.esm.js.map +1 -0
- package/dist/chunks/ExtrasAsMetadata-CKf_ztMa.esm.min.js +2 -0
- package/dist/chunks/ExtrasAsMetadata-CKf_ztMa.esm.min.js.map +1 -0
- package/dist/chunks/KHR_animation_pointer-Dby0cnen.esm.min.js +2 -0
- package/dist/chunks/KHR_animation_pointer-Dby0cnen.esm.min.js.map +1 -0
- package/dist/chunks/KHR_animation_pointer-E7GV-VIU.esm.js +343 -0
- package/dist/chunks/KHR_animation_pointer-E7GV-VIU.esm.js.map +1 -0
- package/dist/chunks/KHR_draco_mesh_compression-DQIzxKIY.esm.js +610 -0
- package/dist/chunks/KHR_draco_mesh_compression-DQIzxKIY.esm.js.map +1 -0
- package/dist/chunks/KHR_draco_mesh_compression-XyzbGenQ.esm.min.js +2 -0
- package/dist/chunks/KHR_draco_mesh_compression-XyzbGenQ.esm.min.js.map +1 -0
- package/dist/chunks/KHR_interactivity-Dg40iiiG.esm.js +4033 -0
- package/dist/chunks/KHR_interactivity-Dg40iiiG.esm.js.map +1 -0
- package/dist/chunks/KHR_interactivity-G1OB80wH.esm.min.js +2 -0
- package/dist/chunks/KHR_interactivity-G1OB80wH.esm.min.js.map +1 -0
- package/dist/chunks/KHR_lights_punctual-B8-Ep0SD.esm.min.js +2 -0
- package/dist/chunks/KHR_lights_punctual-B8-Ep0SD.esm.min.js.map +1 -0
- package/dist/chunks/KHR_lights_punctual-VxM1eAMB.esm.js +1253 -0
- package/dist/chunks/KHR_lights_punctual-VxM1eAMB.esm.js.map +1 -0
- package/dist/chunks/KHR_materials_anisotropy-BiAJ9otI.esm.min.js +2 -0
- package/dist/chunks/KHR_materials_anisotropy-BiAJ9otI.esm.min.js.map +1 -0
- package/dist/chunks/KHR_materials_anisotropy-Djlt8Jy6.esm.js +64 -0
- package/dist/chunks/KHR_materials_anisotropy-Djlt8Jy6.esm.js.map +1 -0
- package/dist/chunks/KHR_materials_clearcoat-C7sB47jF.esm.min.js +2 -0
- package/dist/chunks/KHR_materials_clearcoat-C7sB47jF.esm.min.js.map +1 -0
- package/dist/chunks/KHR_materials_clearcoat-CwAjqc83.esm.js +96 -0
- package/dist/chunks/KHR_materials_clearcoat-CwAjqc83.esm.js.map +1 -0
- package/dist/chunks/KHR_materials_diffuse_transmission-BDEbkXSj.esm.js +97 -0
- package/dist/chunks/KHR_materials_diffuse_transmission-BDEbkXSj.esm.js.map +1 -0
- package/dist/chunks/KHR_materials_diffuse_transmission-BY6d1Md4.esm.min.js +2 -0
- package/dist/chunks/KHR_materials_diffuse_transmission-BY6d1Md4.esm.min.js.map +1 -0
- package/dist/chunks/KHR_materials_dispersion-60wgK_Oc.esm.js +62 -0
- package/dist/chunks/KHR_materials_dispersion-60wgK_Oc.esm.js.map +1 -0
- package/dist/chunks/KHR_materials_dispersion-BI0C1-uq.esm.min.js +2 -0
- package/dist/chunks/KHR_materials_dispersion-BI0C1-uq.esm.min.js.map +1 -0
- package/dist/chunks/KHR_materials_emissive_strength-DHYj5M_Q.esm.min.js +2 -0
- package/dist/chunks/KHR_materials_emissive_strength-DHYj5M_Q.esm.min.js.map +1 -0
- package/dist/chunks/KHR_materials_emissive_strength-DOVYo6Ha.esm.js +55 -0
- package/dist/chunks/KHR_materials_emissive_strength-DOVYo6Ha.esm.js.map +1 -0
- package/dist/chunks/KHR_materials_ior-B6op65B3.esm.min.js +2 -0
- package/dist/chunks/KHR_materials_ior-B6op65B3.esm.min.js.map +1 -0
- package/dist/chunks/KHR_materials_ior-DCHqinVc.esm.js +64 -0
- package/dist/chunks/KHR_materials_ior-DCHqinVc.esm.js.map +1 -0
- package/dist/chunks/KHR_materials_iridescence-DG1EHbj3.esm.min.js +2 -0
- package/dist/chunks/KHR_materials_iridescence-DG1EHbj3.esm.min.js.map +1 -0
- package/dist/chunks/KHR_materials_iridescence-DqEqPueH.esm.js +72 -0
- package/dist/chunks/KHR_materials_iridescence-DqEqPueH.esm.js.map +1 -0
- package/dist/chunks/KHR_materials_pbrSpecularGlossiness-CfGIXhKX.esm.js +81 -0
- package/dist/chunks/KHR_materials_pbrSpecularGlossiness-CfGIXhKX.esm.js.map +1 -0
- package/dist/chunks/KHR_materials_pbrSpecularGlossiness-DWZLL-h_.esm.min.js +2 -0
- package/dist/chunks/KHR_materials_pbrSpecularGlossiness-DWZLL-h_.esm.min.js.map +1 -0
- package/dist/chunks/KHR_materials_sheen-CTwg9nE8.esm.min.js +2 -0
- package/dist/chunks/KHR_materials_sheen-CTwg9nE8.esm.min.js.map +1 -0
- package/dist/chunks/KHR_materials_sheen-GJ8DK94m.esm.js +85 -0
- package/dist/chunks/KHR_materials_sheen-GJ8DK94m.esm.js.map +1 -0
- package/dist/chunks/KHR_materials_specular-C4ZmIR4p.esm.js +75 -0
- package/dist/chunks/KHR_materials_specular-C4ZmIR4p.esm.js.map +1 -0
- package/dist/chunks/KHR_materials_specular-Dt0ObSSF.esm.min.js +2 -0
- package/dist/chunks/KHR_materials_specular-Dt0ObSSF.esm.min.js.map +1 -0
- package/dist/chunks/KHR_materials_transmission-C3sHC984.esm.min.js +2 -0
- package/dist/chunks/KHR_materials_transmission-C3sHC984.esm.min.js.map +1 -0
- package/dist/chunks/KHR_materials_transmission-D0CIRDm4.esm.js +307 -0
- package/dist/chunks/KHR_materials_transmission-D0CIRDm4.esm.js.map +1 -0
- package/dist/chunks/KHR_materials_unlit-CuIg6OT1.esm.js +74 -0
- package/dist/chunks/KHR_materials_unlit-CuIg6OT1.esm.js.map +1 -0
- package/dist/chunks/KHR_materials_unlit-o4Jrl8G9.esm.min.js +2 -0
- package/dist/chunks/KHR_materials_unlit-o4Jrl8G9.esm.min.js.map +1 -0
- package/dist/chunks/KHR_materials_variants-DRnhSOqW.esm.min.js +2 -0
- package/dist/chunks/KHR_materials_variants-DRnhSOqW.esm.min.js.map +1 -0
- package/dist/chunks/KHR_materials_variants-GW8dzhHH.esm.js +238 -0
- package/dist/chunks/KHR_materials_variants-GW8dzhHH.esm.js.map +1 -0
- package/dist/chunks/KHR_materials_volume-CncGUgLE.esm.js +87 -0
- package/dist/chunks/KHR_materials_volume-CncGUgLE.esm.js.map +1 -0
- package/dist/chunks/KHR_materials_volume-DngRk2cO.esm.min.js +2 -0
- package/dist/chunks/KHR_materials_volume-DngRk2cO.esm.min.js.map +1 -0
- package/dist/chunks/KHR_mesh_quantization-BCKMBvPB.esm.min.js +2 -0
- package/dist/chunks/KHR_mesh_quantization-BCKMBvPB.esm.min.js.map +1 -0
- package/dist/chunks/KHR_mesh_quantization-C0zeNt-L.esm.js +26 -0
- package/dist/chunks/KHR_mesh_quantization-C0zeNt-L.esm.js.map +1 -0
- package/dist/chunks/KHR_texture_basisu-BkKc9peN.esm.min.js +2 -0
- package/dist/chunks/KHR_texture_basisu-BkKc9peN.esm.min.js.map +1 -0
- package/dist/chunks/KHR_texture_basisu-D6kThGUf.esm.js +43 -0
- package/dist/chunks/KHR_texture_basisu-D6kThGUf.esm.js.map +1 -0
- package/dist/chunks/KHR_texture_transform-8QCxyLia.esm.min.js +2 -0
- package/dist/chunks/KHR_texture_transform-8QCxyLia.esm.min.js.map +1 -0
- package/dist/chunks/KHR_texture_transform-d1FveNcv.esm.js +63 -0
- package/dist/chunks/KHR_texture_transform-d1FveNcv.esm.js.map +1 -0
- package/dist/chunks/KHR_xmp_json_ld-BLP_bda9.esm.js +51 -0
- package/dist/chunks/KHR_xmp_json_ld-BLP_bda9.esm.js.map +1 -0
- package/dist/chunks/KHR_xmp_json_ld-BnL6yGSX.esm.min.js +2 -0
- package/dist/chunks/KHR_xmp_json_ld-BnL6yGSX.esm.min.js.map +1 -0
- package/dist/chunks/MSFT_audio_emitter-CjY-F16E.esm.min.js +2 -0
- package/dist/chunks/MSFT_audio_emitter-CjY-F16E.esm.min.js.map +1 -0
- package/dist/chunks/MSFT_audio_emitter-DfT_GDvo.esm.js +2236 -0
- package/dist/chunks/MSFT_audio_emitter-DfT_GDvo.esm.js.map +1 -0
- package/dist/chunks/MSFT_lod-BxamUcp1.esm.min.js +2 -0
- package/dist/chunks/MSFT_lod-BxamUcp1.esm.min.js.map +1 -0
- package/dist/chunks/MSFT_lod-d--0Qtev.esm.js +337 -0
- package/dist/chunks/MSFT_lod-d--0Qtev.esm.js.map +1 -0
- package/dist/chunks/MSFT_minecraftMesh-C7d396dB.esm.min.js +2 -0
- package/dist/chunks/MSFT_minecraftMesh-C7d396dB.esm.min.js.map +1 -0
- package/dist/chunks/MSFT_minecraftMesh-Dy2ErzJS.esm.js +46 -0
- package/dist/chunks/MSFT_minecraftMesh-Dy2ErzJS.esm.js.map +1 -0
- package/dist/chunks/MSFT_sRGBFactors-CsJNvMjl.esm.min.js +2 -0
- package/dist/chunks/MSFT_sRGBFactors-CsJNvMjl.esm.min.js.map +1 -0
- package/dist/chunks/MSFT_sRGBFactors-vT79Vb5y.esm.js +47 -0
- package/dist/chunks/MSFT_sRGBFactors-vT79Vb5y.esm.js.map +1 -0
- package/dist/chunks/assetContainer-BwuApxBZ.esm.js +1598 -0
- package/dist/chunks/assetContainer-BwuApxBZ.esm.js.map +1 -0
- package/dist/chunks/assetContainer-D8Lwfguz.esm.min.js +2 -0
- package/dist/chunks/assetContainer-D8Lwfguz.esm.min.js.map +1 -0
- package/dist/chunks/audioEngine-0atsHcSZ.esm.min.js +2 -0
- package/dist/chunks/audioEngine-0atsHcSZ.esm.min.js.map +1 -0
- package/dist/chunks/audioEngine-CMiSBE4C.esm.js +305 -0
- package/dist/chunks/audioEngine-CMiSBE4C.esm.js.map +1 -0
- package/dist/chunks/bakedVertexAnimation-Bguy28Jz.esm.js +119 -0
- package/dist/chunks/bakedVertexAnimation-Bguy28Jz.esm.js.map +1 -0
- package/dist/chunks/bakedVertexAnimation-CDA_Jawu.esm.min.js +2 -0
- package/dist/chunks/bakedVertexAnimation-CDA_Jawu.esm.min.js.map +1 -0
- package/dist/chunks/basisTextureLoader-BcMbNOSg.esm.min.js +2 -0
- package/dist/chunks/basisTextureLoader-BcMbNOSg.esm.min.js.map +1 -0
- package/dist/chunks/basisTextureLoader-Chlgb7BW.esm.js +600 -0
- package/dist/chunks/basisTextureLoader-Chlgb7BW.esm.js.map +1 -0
- package/dist/chunks/dds-1PbCkCh-.esm.min.js +2 -0
- package/dist/chunks/dds-1PbCkCh-.esm.min.js.map +1 -0
- package/dist/chunks/dds-BdSAKZ5K.esm.js +540 -0
- package/dist/chunks/dds-BdSAKZ5K.esm.js.map +1 -0
- package/dist/chunks/ddsTextureLoader-Bomt6EQt.esm.min.js +2 -0
- package/dist/chunks/ddsTextureLoader-Bomt6EQt.esm.min.js.map +1 -0
- package/dist/chunks/ddsTextureLoader-CeShQhRs.esm.js +88 -0
- package/dist/chunks/ddsTextureLoader-CeShQhRs.esm.js.map +1 -0
- package/dist/chunks/decalFragment-BmVrLaOk.esm.min.js +2 -0
- package/dist/chunks/decalFragment-BmVrLaOk.esm.min.js.map +1 -0
- package/dist/chunks/decalFragment-W7m_lNmA.esm.js +18 -0
- package/dist/chunks/decalFragment-W7m_lNmA.esm.js.map +1 -0
- package/dist/chunks/default.fragment-6Q1rT7KR.esm.min.js +2 -0
- package/dist/chunks/default.fragment-6Q1rT7KR.esm.min.js.map +1 -0
- package/dist/chunks/default.fragment-BPDRqL-N.esm.js +515 -0
- package/dist/chunks/default.fragment-BPDRqL-N.esm.js.map +1 -0
- package/dist/chunks/default.fragment-CJTzOMsr.esm.js +449 -0
- package/dist/chunks/default.fragment-CJTzOMsr.esm.js.map +1 -0
- package/dist/chunks/default.fragment-D850oFzS.esm.min.js +2 -0
- package/dist/chunks/default.fragment-D850oFzS.esm.min.js.map +1 -0
- package/dist/chunks/default.vertex-BOawVkjb.esm.min.js +2 -0
- package/dist/chunks/default.vertex-BOawVkjb.esm.min.js.map +1 -0
- package/dist/chunks/default.vertex-BvLsHfBn.esm.js +180 -0
- package/dist/chunks/default.vertex-BvLsHfBn.esm.js.map +1 -0
- package/dist/chunks/default.vertex-CayNX4kv.esm.min.js +2 -0
- package/dist/chunks/default.vertex-CayNX4kv.esm.min.js.map +1 -0
- package/dist/chunks/default.vertex-cVKjFGsz.esm.js +199 -0
- package/dist/chunks/default.vertex-cVKjFGsz.esm.js.map +1 -0
- package/dist/chunks/defaultUboDeclaration-BQTmxnsc.esm.js +13 -0
- package/dist/chunks/defaultUboDeclaration-BQTmxnsc.esm.js.map +1 -0
- package/dist/chunks/defaultUboDeclaration-Cmre14vv.esm.min.js +2 -0
- package/dist/chunks/defaultUboDeclaration-Cmre14vv.esm.min.js.map +1 -0
- package/dist/chunks/defaultUboDeclaration-DUFqYKGC.esm.js +15 -0
- package/dist/chunks/defaultUboDeclaration-DUFqYKGC.esm.js.map +1 -0
- package/dist/chunks/defaultUboDeclaration-bUrcO1aj.esm.min.js +2 -0
- package/dist/chunks/defaultUboDeclaration-bUrcO1aj.esm.min.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-C5Y9czmW.esm.min.js +2 -0
- package/dist/chunks/dumpTools-C5Y9czmW.esm.min.js.map +1 -0
- package/dist/chunks/dumpTools-CtwrWqfJ.esm.js +400 -0
- package/dist/chunks/dumpTools-CtwrWqfJ.esm.js.map +1 -0
- package/dist/chunks/engine-BuE5xKe9.esm.min.js +2 -0
- package/dist/chunks/engine-BuE5xKe9.esm.min.js.map +1 -0
- package/dist/chunks/engine-DsFcyUrk.esm.js +2174 -0
- package/dist/chunks/engine-DsFcyUrk.esm.js.map +1 -0
- package/dist/chunks/engine.common-CGXpa_x4.esm.js +1088 -0
- package/dist/chunks/engine.common-CGXpa_x4.esm.js.map +1 -0
- package/dist/chunks/engine.common-DwMZ1wlZ.esm.min.js +2 -0
- package/dist/chunks/engine.common-DwMZ1wlZ.esm.min.js.map +1 -0
- package/dist/chunks/envTextureLoader-B0JK7iTc.esm.js +64 -0
- package/dist/chunks/envTextureLoader-B0JK7iTc.esm.js.map +1 -0
- package/dist/chunks/envTextureLoader-CqFeybJV.esm.min.js +2 -0
- package/dist/chunks/envTextureLoader-CqFeybJV.esm.min.js.map +1 -0
- package/dist/chunks/environmentTextureTools-DMj4Ized.esm.min.js +2 -0
- package/dist/chunks/environmentTextureTools-DMj4Ized.esm.min.js.map +1 -0
- package/dist/chunks/environmentTextureTools-DwbjflOA.esm.js +382 -0
- package/dist/chunks/environmentTextureTools-DwbjflOA.esm.js.map +1 -0
- package/dist/chunks/exrTextureLoader-CovKDYJN.esm.js +1682 -0
- package/dist/chunks/exrTextureLoader-CovKDYJN.esm.js.map +1 -0
- package/dist/chunks/exrTextureLoader-DtqDxskW.esm.min.js +2 -0
- package/dist/chunks/exrTextureLoader-DtqDxskW.esm.min.js.map +1 -0
- package/dist/chunks/fogFragment-CZNLS-bf.esm.min.js +2 -0
- package/dist/chunks/fogFragment-CZNLS-bf.esm.min.js.map +1 -0
- package/dist/chunks/fogFragment-DMzIUECz.esm.js +102 -0
- package/dist/chunks/fogFragment-DMzIUECz.esm.js.map +1 -0
- package/dist/chunks/fresnelFunction-CTWDOzTc.esm.js +12 -0
- package/dist/chunks/fresnelFunction-CTWDOzTc.esm.js.map +1 -0
- package/dist/chunks/fresnelFunction-D_ITMQOA.esm.min.js +2 -0
- package/dist/chunks/fresnelFunction-D_ITMQOA.esm.min.js.map +1 -0
- package/dist/chunks/glTFLoader-BsbWcuWa.esm.js +7552 -0
- package/dist/chunks/glTFLoader-BsbWcuWa.esm.js.map +1 -0
- package/dist/chunks/glTFLoader-DI-Aue90.esm.min.js +2 -0
- package/dist/chunks/glTFLoader-DI-Aue90.esm.min.js.map +1 -0
- package/dist/chunks/glTFLoaderAnimation-Cx6JsK0e.esm.min.js +2 -0
- package/dist/chunks/glTFLoaderAnimation-Cx6JsK0e.esm.min.js.map +1 -0
- package/dist/chunks/glTFLoaderAnimation-DiqLpSy9.esm.js +77 -0
- package/dist/chunks/glTFLoaderAnimation-DiqLpSy9.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-BjXW3Vw8.esm.js +35 -0
- package/dist/chunks/harmonicsFunctions-BjXW3Vw8.esm.js.map +1 -0
- package/dist/chunks/harmonicsFunctions-DuqdGW8L.esm.min.js +2 -0
- package/dist/chunks/harmonicsFunctions-DuqdGW8L.esm.min.js.map +1 -0
- package/dist/chunks/harmonicsFunctions-HZ_DRoGx.esm.min.js +2 -0
- package/dist/chunks/harmonicsFunctions-HZ_DRoGx.esm.min.js.map +1 -0
- package/dist/chunks/harmonicsFunctions-LNpOh5RU.esm.js +34 -0
- package/dist/chunks/harmonicsFunctions-LNpOh5RU.esm.js.map +1 -0
- package/dist/chunks/hdrTextureLoader-CDg_kukr.esm.min.js +2 -0
- package/dist/chunks/hdrTextureLoader-CDg_kukr.esm.min.js.map +1 -0
- package/dist/chunks/hdrTextureLoader-CGqILVTV.esm.js +252 -0
- package/dist/chunks/hdrTextureLoader-CGqILVTV.esm.js.map +1 -0
- package/dist/chunks/helperFunctions-0_rIXWe3.esm.min.js +2 -0
- package/dist/chunks/helperFunctions-0_rIXWe3.esm.min.js.map +1 -0
- package/dist/chunks/helperFunctions-CGLK7ZTd.esm.js +108 -0
- package/dist/chunks/helperFunctions-CGLK7ZTd.esm.js.map +1 -0
- package/dist/chunks/helperFunctions-CRKE-ovL.esm.min.js +2 -0
- package/dist/chunks/helperFunctions-CRKE-ovL.esm.min.js.map +1 -0
- package/dist/chunks/helperFunctions-DhDm1jwb.esm.js +80 -0
- package/dist/chunks/helperFunctions-DhDm1jwb.esm.js.map +1 -0
- package/dist/chunks/index-BswJvJ7o.esm.js +73918 -0
- package/dist/chunks/index-BswJvJ7o.esm.js.map +1 -0
- package/dist/chunks/index-DtrRAdfQ.esm.min.js +57 -0
- package/dist/chunks/index-DtrRAdfQ.esm.min.js.map +1 -0
- package/dist/chunks/ktxTextureLoader-BcbIsr1Y.esm.min.js +2 -0
- package/dist/chunks/ktxTextureLoader-BcbIsr1Y.esm.min.js.map +1 -0
- package/dist/chunks/ktxTextureLoader-Dvge85fo.esm.js +814 -0
- package/dist/chunks/ktxTextureLoader-Dvge85fo.esm.js.map +1 -0
- package/dist/chunks/logDepthDeclaration-0mCqE1ll.esm.js +35 -0
- package/dist/chunks/logDepthDeclaration-0mCqE1ll.esm.js.map +1 -0
- package/dist/chunks/logDepthDeclaration-CODGm-OD.esm.js +20 -0
- package/dist/chunks/logDepthDeclaration-CODGm-OD.esm.js.map +1 -0
- package/dist/chunks/logDepthDeclaration-CshzxKKt.esm.min.js +2 -0
- package/dist/chunks/logDepthDeclaration-CshzxKKt.esm.min.js.map +1 -0
- package/dist/chunks/logDepthDeclaration-HPii4STX.esm.min.js +2 -0
- package/dist/chunks/logDepthDeclaration-HPii4STX.esm.min.js.map +1 -0
- package/dist/chunks/logDepthVertex-2XeVI3M6.esm.js +77 -0
- package/dist/chunks/logDepthVertex-2XeVI3M6.esm.js.map +1 -0
- package/dist/chunks/logDepthVertex-ALpGtnie.esm.min.js +2 -0
- package/dist/chunks/logDepthVertex-ALpGtnie.esm.min.js.map +1 -0
- package/dist/chunks/logDepthVertex-DxjvLMxM.esm.js +488 -0
- package/dist/chunks/logDepthVertex-DxjvLMxM.esm.js.map +1 -0
- package/dist/chunks/logDepthVertex-FT9QiUEN.esm.min.js +2 -0
- package/dist/chunks/logDepthVertex-FT9QiUEN.esm.min.js.map +1 -0
- package/dist/chunks/mainUVVaryingDeclaration-CuCgPb-U.esm.js +11 -0
- package/dist/chunks/mainUVVaryingDeclaration-CuCgPb-U.esm.js.map +1 -0
- package/dist/chunks/mainUVVaryingDeclaration-itp_97hQ.esm.min.js +2 -0
- package/dist/chunks/mainUVVaryingDeclaration-itp_97hQ.esm.min.js.map +1 -0
- package/dist/chunks/meshUboDeclaration-H2rPalTR.esm.min.js +2 -0
- package/dist/chunks/meshUboDeclaration-H2rPalTR.esm.min.js.map +1 -0
- package/dist/chunks/meshUboDeclaration-ygu7ogv3.esm.js +24 -0
- package/dist/chunks/meshUboDeclaration-ygu7ogv3.esm.js.map +1 -0
- package/dist/chunks/objFileLoader-Bkze7wF-.esm.min.js +2 -0
- package/dist/chunks/objFileLoader-Bkze7wF-.esm.min.js.map +1 -0
- package/dist/chunks/objFileLoader-NZ8W05FK.esm.js +1280 -0
- package/dist/chunks/objFileLoader-NZ8W05FK.esm.js.map +1 -0
- package/dist/chunks/oitFragment-B1X1PrU7.esm.js +1150 -0
- package/dist/chunks/oitFragment-B1X1PrU7.esm.js.map +1 -0
- package/dist/chunks/oitFragment-DhXkhj5v.esm.min.js +2 -0
- package/dist/chunks/oitFragment-DhXkhj5v.esm.min.js.map +1 -0
- package/dist/chunks/oitFragment-DiH_UZD7.esm.js +1210 -0
- package/dist/chunks/oitFragment-DiH_UZD7.esm.js.map +1 -0
- package/dist/chunks/oitFragment-m2Jgmx6r.esm.min.js +2 -0
- package/dist/chunks/oitFragment-m2Jgmx6r.esm.min.js.map +1 -0
- package/dist/chunks/pass.fragment-BSa5C2-B.esm.min.js +2 -0
- package/dist/chunks/pass.fragment-BSa5C2-B.esm.min.js.map +1 -0
- package/dist/chunks/pass.fragment-CFCduH3Q.esm.js +15 -0
- package/dist/chunks/pass.fragment-CFCduH3Q.esm.js.map +1 -0
- package/dist/chunks/pass.fragment-DmsgJ5u-.esm.js +15 -0
- package/dist/chunks/pass.fragment-DmsgJ5u-.esm.js.map +1 -0
- package/dist/chunks/pass.fragment-IG4CJzLQ.esm.min.js +2 -0
- package/dist/chunks/pass.fragment-IG4CJzLQ.esm.min.js.map +1 -0
- package/dist/chunks/pbr.fragment-B03vgFZa.esm.min.js +2 -0
- package/dist/chunks/pbr.fragment-B03vgFZa.esm.min.js.map +1 -0
- package/dist/chunks/pbr.fragment-BEPOMijt.esm.js +3219 -0
- package/dist/chunks/pbr.fragment-BEPOMijt.esm.js.map +1 -0
- package/dist/chunks/pbr.fragment-Bv-iKu4E.esm.min.js +2 -0
- package/dist/chunks/pbr.fragment-Bv-iKu4E.esm.min.js.map +1 -0
- package/dist/chunks/pbr.fragment-RAhoypST.esm.js +3165 -0
- package/dist/chunks/pbr.fragment-RAhoypST.esm.js.map +1 -0
- package/dist/chunks/pbr.vertex-CN3d32f2.esm.js +210 -0
- package/dist/chunks/pbr.vertex-CN3d32f2.esm.js.map +1 -0
- package/dist/chunks/pbr.vertex-ChoyrUVS.esm.min.js +2 -0
- package/dist/chunks/pbr.vertex-ChoyrUVS.esm.min.js.map +1 -0
- package/dist/chunks/pbr.vertex-DPSgNBa8.esm.min.js +2 -0
- package/dist/chunks/pbr.vertex-DPSgNBa8.esm.min.js.map +1 -0
- package/dist/chunks/pbr.vertex-Z3Aa2PVu.esm.js +335 -0
- package/dist/chunks/pbr.vertex-Z3Aa2PVu.esm.js.map +1 -0
- package/dist/chunks/postprocess.vertex-BpfpaFnK.esm.min.js +2 -0
- package/dist/chunks/postprocess.vertex-BpfpaFnK.esm.min.js.map +1 -0
- package/dist/chunks/postprocess.vertex-DZfuzI7l.esm.min.js +2 -0
- package/dist/chunks/postprocess.vertex-DZfuzI7l.esm.min.js.map +1 -0
- package/dist/chunks/postprocess.vertex-DzEvpRtu.esm.js +18 -0
- package/dist/chunks/postprocess.vertex-DzEvpRtu.esm.js.map +1 -0
- package/dist/chunks/postprocess.vertex-ciKOO10a.esm.js +20 -0
- package/dist/chunks/postprocess.vertex-ciKOO10a.esm.js.map +1 -0
- package/dist/chunks/rawTexture-CpVg-HXY.esm.min.js +2 -0
- package/dist/chunks/rawTexture-CpVg-HXY.esm.min.js.map +1 -0
- package/dist/chunks/rawTexture-P-EonAa7.esm.js +191 -0
- package/dist/chunks/rawTexture-P-EonAa7.esm.js.map +1 -0
- package/dist/chunks/rgbdDecode.fragment-C9Z_a9Yj.esm.js +17 -0
- package/dist/chunks/rgbdDecode.fragment-C9Z_a9Yj.esm.js.map +1 -0
- package/dist/chunks/rgbdDecode.fragment-CpsAYngN.esm.min.js +2 -0
- package/dist/chunks/rgbdDecode.fragment-CpsAYngN.esm.min.js.map +1 -0
- package/dist/chunks/rgbdDecode.fragment-D4lYzfTB.esm.min.js +2 -0
- package/dist/chunks/rgbdDecode.fragment-D4lYzfTB.esm.min.js.map +1 -0
- package/dist/chunks/rgbdDecode.fragment-SZwKzTRJ.esm.js +17 -0
- package/dist/chunks/rgbdDecode.fragment-SZwKzTRJ.esm.js.map +1 -0
- package/dist/chunks/rgbdEncode.fragment-BGNunMeA.esm.js +17 -0
- package/dist/chunks/rgbdEncode.fragment-BGNunMeA.esm.js.map +1 -0
- package/dist/chunks/rgbdEncode.fragment-BYb41FOm.esm.min.js +2 -0
- package/dist/chunks/rgbdEncode.fragment-BYb41FOm.esm.min.js.map +1 -0
- package/dist/chunks/rgbdEncode.fragment-C4KOZmqz.esm.js +17 -0
- package/dist/chunks/rgbdEncode.fragment-C4KOZmqz.esm.js.map +1 -0
- package/dist/chunks/rgbdEncode.fragment-Dt2mG0ym.esm.min.js +2 -0
- package/dist/chunks/rgbdEncode.fragment-Dt2mG0ym.esm.min.js.map +1 -0
- package/dist/chunks/splatFileLoader-Bl8MZZ_A.esm.min.js +2 -0
- package/dist/chunks/splatFileLoader-Bl8MZZ_A.esm.min.js.map +1 -0
- package/dist/chunks/splatFileLoader-DhXmbuXf.esm.js +3190 -0
- package/dist/chunks/splatFileLoader-DhXmbuXf.esm.js.map +1 -0
- package/dist/chunks/standardMaterial-BrtQgsUc.esm.min.js +2 -0
- package/dist/chunks/standardMaterial-BrtQgsUc.esm.min.js.map +1 -0
- package/dist/chunks/standardMaterial-CtYGXO07.esm.js +1809 -0
- package/dist/chunks/standardMaterial-CtYGXO07.esm.js.map +1 -0
- package/dist/chunks/stlFileLoader-BMS-LXhX.esm.js +237 -0
- package/dist/chunks/stlFileLoader-BMS-LXhX.esm.js.map +1 -0
- package/dist/chunks/stlFileLoader-OqkYFeZB.esm.min.js +2 -0
- package/dist/chunks/stlFileLoader-OqkYFeZB.esm.min.js.map +1 -0
- package/dist/chunks/tgaTextureLoader-C3iBLBBK.esm.min.js +2 -0
- package/dist/chunks/tgaTextureLoader-C3iBLBBK.esm.min.js.map +1 -0
- package/dist/chunks/tgaTextureLoader-CmVmvXWK.esm.js +349 -0
- package/dist/chunks/tgaTextureLoader-CmVmvXWK.esm.js.map +1 -0
- package/dist/chunks/thinEngine-CwVu15uj.esm.min.js +2 -0
- package/dist/chunks/thinEngine-CwVu15uj.esm.min.js.map +1 -0
- package/dist/chunks/thinEngine-SNNQJq4m.esm.js +3721 -0
- package/dist/chunks/thinEngine-SNNQJq4m.esm.js.map +1 -0
- package/dist/chunks/thinInstanceMesh-BH1rBCc0.esm.min.js +2 -0
- package/dist/chunks/thinInstanceMesh-BH1rBCc0.esm.min.js.map +1 -0
- package/dist/chunks/thinInstanceMesh-C_-XHCGF.esm.js +314 -0
- package/dist/chunks/thinInstanceMesh-C_-XHCGF.esm.js.map +1 -0
- package/dist/chunks/vertexColorMixing-Bh-3q8Pu.esm.min.js +2 -0
- package/dist/chunks/vertexColorMixing-Bh-3q8Pu.esm.min.js.map +1 -0
- package/dist/chunks/vertexColorMixing-DL1lKEy3.esm.js +528 -0
- package/dist/chunks/vertexColorMixing-DL1lKEy3.esm.js.map +1 -0
- package/dist/chunks/webgpuEngine-BPS_ipjq.esm.js +11170 -0
- package/dist/chunks/webgpuEngine-BPS_ipjq.esm.js.map +1 -0
- package/dist/chunks/webgpuEngine-CguOAIiJ.esm.min.js +2 -0
- package/dist/chunks/webgpuEngine-CguOAIiJ.esm.min.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/lib/index.d.ts +281 -0
- package/lib/index.js +965 -0
- package/lib/index.js.map +1 -0
- package/package.json +17 -27
- package/readme.md +35 -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 -675
- 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,30 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The render only default configuration of the viewer, including templates (canvas, overly, loading screen)
|
|
3
|
-
* This configuration doesn't hold specific parameters, and only defines objects that are needed for the render only viewer viewer to fully work correctly.
|
|
4
|
-
*/
|
|
5
|
-
export declare const renderOnlyDefaultConfiguration: {
|
|
6
|
-
version: string;
|
|
7
|
-
camera: {
|
|
8
|
-
behaviors: {
|
|
9
|
-
autoRotate: {
|
|
10
|
-
type: number;
|
|
11
|
-
};
|
|
12
|
-
framing: {
|
|
13
|
-
type: number;
|
|
14
|
-
zoomOnBoundingInfo: boolean;
|
|
15
|
-
zoomStopsAnimation: boolean;
|
|
16
|
-
};
|
|
17
|
-
bouncing: {
|
|
18
|
-
type: number;
|
|
19
|
-
};
|
|
20
|
-
};
|
|
21
|
-
};
|
|
22
|
-
skybox: {};
|
|
23
|
-
ground: {
|
|
24
|
-
receiveShadows: boolean;
|
|
25
|
-
};
|
|
26
|
-
engine: {
|
|
27
|
-
antialiasing: boolean;
|
|
28
|
-
};
|
|
29
|
-
scene: {};
|
|
30
|
-
};
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The render only default configuration of the viewer, including templates (canvas, overly, loading screen)
|
|
3
|
-
* This configuration doesn't hold specific parameters, and only defines objects that are needed for the render only viewer viewer to fully work correctly.
|
|
4
|
-
*/
|
|
5
|
-
export var renderOnlyDefaultConfiguration = {
|
|
6
|
-
version: "3.2.0-alpha4",
|
|
7
|
-
camera: {
|
|
8
|
-
behaviors: {
|
|
9
|
-
autoRotate: {
|
|
10
|
-
type: 0,
|
|
11
|
-
},
|
|
12
|
-
framing: {
|
|
13
|
-
type: 2,
|
|
14
|
-
zoomOnBoundingInfo: true,
|
|
15
|
-
zoomStopsAnimation: false,
|
|
16
|
-
},
|
|
17
|
-
bouncing: {
|
|
18
|
-
type: 1,
|
|
19
|
-
},
|
|
20
|
-
},
|
|
21
|
-
},
|
|
22
|
-
skybox: {},
|
|
23
|
-
ground: {
|
|
24
|
-
receiveShadows: true,
|
|
25
|
-
},
|
|
26
|
-
engine: {
|
|
27
|
-
antialiasing: true,
|
|
28
|
-
},
|
|
29
|
-
scene: {},
|
|
30
|
-
};
|
|
31
|
-
//# sourceMappingURL=renderOnlyDefault.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"renderOnlyDefault.js","sourceRoot":"","sources":["../../../../../tools/viewer/src/configuration/types/renderOnlyDefault.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,CAAC,IAAM,8BAA8B,GAAG;IAC1C,OAAO,EAAE,cAAc;IACvB,MAAM,EAAE;QACJ,SAAS,EAAE;YACP,UAAU,EAAE;gBACR,IAAI,EAAE,CAAC;aACV;YACD,OAAO,EAAE;gBACL,IAAI,EAAE,CAAC;gBACP,kBAAkB,EAAE,IAAI;gBACxB,kBAAkB,EAAE,KAAK;aAC5B;YACD,QAAQ,EAAE;gBACN,IAAI,EAAE,CAAC;aACV;SACJ;KACJ;IACD,MAAM,EAAE,EAAE;IACV,MAAM,EAAE;QACJ,cAAc,EAAE,IAAI;KACvB;IACD,MAAM,EAAE;QACJ,YAAY,EAAE,IAAI;KACrB;IACD,KAAK,EAAE,EAAE;CACZ,CAAC","sourcesContent":["/**\r\n * The render only default configuration of the viewer, including templates (canvas, overly, loading screen)\r\n * This configuration doesn't hold specific parameters, and only defines objects that are needed for the render only viewer viewer to fully work correctly.\r\n */\r\nexport const renderOnlyDefaultConfiguration = {\r\n version: \"3.2.0-alpha4\",\r\n camera: {\r\n behaviors: {\r\n autoRotate: {\r\n type: 0,\r\n },\r\n framing: {\r\n type: 2,\r\n zoomOnBoundingInfo: true,\r\n zoomStopsAnimation: false,\r\n },\r\n bouncing: {\r\n type: 1,\r\n },\r\n },\r\n },\r\n skybox: {},\r\n ground: {\r\n receiveShadows: true,\r\n },\r\n engine: {\r\n antialiasing: true,\r\n },\r\n scene: {},\r\n};\r\n"]}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { ViewerConfiguration } from "./../configuration";
|
|
2
|
-
/**
|
|
3
|
-
* Defines a default directional shadow light for normalized objects (!)
|
|
4
|
-
*/
|
|
5
|
-
export declare const shadowDirectionalLightConfiguration: ViewerConfiguration;
|
|
6
|
-
/**
|
|
7
|
-
* Defines a default shadow-enabled spot light for normalized objects.
|
|
8
|
-
*/
|
|
9
|
-
export declare const shadowSpotlLightConfiguration: ViewerConfiguration;
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Defines a default directional shadow light for normalized objects (!)
|
|
3
|
-
*/
|
|
4
|
-
export var shadowDirectionalLightConfiguration = {
|
|
5
|
-
model: {
|
|
6
|
-
receiveShadows: true,
|
|
7
|
-
castShadow: true,
|
|
8
|
-
},
|
|
9
|
-
ground: {
|
|
10
|
-
receiveShadows: true,
|
|
11
|
-
},
|
|
12
|
-
lights: {
|
|
13
|
-
shadowDirectionalLight: {
|
|
14
|
-
type: 1,
|
|
15
|
-
shadowEnabled: true,
|
|
16
|
-
target: { x: 0, y: 0, z: 0.5 },
|
|
17
|
-
position: { x: 1.49, y: 2.39, z: -1.33 },
|
|
18
|
-
diffuse: { r: 0.867, g: 0.816, b: 0.788 },
|
|
19
|
-
intensity: 4.887,
|
|
20
|
-
intensityMode: 0,
|
|
21
|
-
shadowBufferSize: 1024,
|
|
22
|
-
shadowFrustumSize: 6.0,
|
|
23
|
-
shadowFieldOfView: 50.977,
|
|
24
|
-
shadowMinZ: 0.1,
|
|
25
|
-
shadowMaxZ: 10.0,
|
|
26
|
-
shadowConfig: {
|
|
27
|
-
blurKernel: 32,
|
|
28
|
-
useBlurCloseExponentialShadowMap: true,
|
|
29
|
-
},
|
|
30
|
-
},
|
|
31
|
-
},
|
|
32
|
-
};
|
|
33
|
-
/**
|
|
34
|
-
* Defines a default shadow-enabled spot light for normalized objects.
|
|
35
|
-
*/
|
|
36
|
-
export var shadowSpotlLightConfiguration = {
|
|
37
|
-
model: {
|
|
38
|
-
receiveShadows: true,
|
|
39
|
-
castShadow: true,
|
|
40
|
-
},
|
|
41
|
-
ground: {
|
|
42
|
-
receiveShadows: true,
|
|
43
|
-
},
|
|
44
|
-
lights: {
|
|
45
|
-
shadowSpotLight: {
|
|
46
|
-
type: 2,
|
|
47
|
-
intensity: 2,
|
|
48
|
-
shadowEnabled: true,
|
|
49
|
-
target: { x: 0, y: 0, z: 0.5 },
|
|
50
|
-
position: { x: 0, y: 3.5, z: 3.7 },
|
|
51
|
-
angle: 1,
|
|
52
|
-
shadowOrthoScale: 0.5,
|
|
53
|
-
shadowBufferSize: 1024,
|
|
54
|
-
shadowMinZ: 0.1,
|
|
55
|
-
shadowMaxZ: 50.0,
|
|
56
|
-
shadowConfig: {
|
|
57
|
-
frustumEdgeFalloff: 0.5,
|
|
58
|
-
blurKernel: 32,
|
|
59
|
-
useBlurExponentialShadowMap: true,
|
|
60
|
-
},
|
|
61
|
-
},
|
|
62
|
-
},
|
|
63
|
-
};
|
|
64
|
-
//# sourceMappingURL=shadowLight.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"shadowLight.js","sourceRoot":"","sources":["../../../../../tools/viewer/src/configuration/types/shadowLight.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,CAAC,IAAM,mCAAmC,GAAwB;IACpE,KAAK,EAAE;QACH,cAAc,EAAE,IAAI;QACpB,UAAU,EAAE,IAAI;KACnB;IACD,MAAM,EAAE;QACJ,cAAc,EAAE,IAAI;KACvB;IACD,MAAM,EAAE;QACJ,sBAAsB,EAAE;YACpB,IAAI,EAAE,CAAC;YACP,aAAa,EAAE,IAAI;YACnB,MAAM,EAAE,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,GAAG,EAAE;YAC9B,QAAQ,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,CAAC,IAAI,EAAE;YACxC,OAAO,EAAE,EAAE,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,KAAK,EAAE;YACzC,SAAS,EAAE,KAAK;YAChB,aAAa,EAAE,CAAC;YAChB,gBAAgB,EAAE,IAAI;YACtB,iBAAiB,EAAE,GAAG;YACtB,iBAAiB,EAAE,MAAM;YACzB,UAAU,EAAE,GAAG;YACf,UAAU,EAAE,IAAI;YAChB,YAAY,EAAE;gBACV,UAAU,EAAE,EAAE;gBACd,gCAAgC,EAAE,IAAI;aACzC;SACJ;KACJ;CACJ,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,IAAM,6BAA6B,GAAwB;IAC9D,KAAK,EAAE;QACH,cAAc,EAAE,IAAI;QACpB,UAAU,EAAE,IAAI;KACnB;IACD,MAAM,EAAE;QACJ,cAAc,EAAE,IAAI;KACvB;IACD,MAAM,EAAE;QACJ,eAAe,EAAE;YACb,IAAI,EAAE,CAAC;YACP,SAAS,EAAE,CAAC;YACZ,aAAa,EAAE,IAAI;YACnB,MAAM,EAAE,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,GAAG,EAAE;YAC9B,QAAQ,EAAE,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,GAAG,EAAE;YAClC,KAAK,EAAE,CAAC;YACR,gBAAgB,EAAE,GAAG;YACrB,gBAAgB,EAAE,IAAI;YACtB,UAAU,EAAE,GAAG;YACf,UAAU,EAAE,IAAI;YAChB,YAAY,EAAE;gBACV,kBAAkB,EAAE,GAAG;gBACvB,UAAU,EAAE,EAAE;gBACd,2BAA2B,EAAE,IAAI;aACpC;SACJ;KACJ;CACJ,CAAC","sourcesContent":["import type { ViewerConfiguration } from \"./../configuration\";\r\n\r\n/**\r\n * Defines a default directional shadow light for normalized objects (!)\r\n */\r\nexport const shadowDirectionalLightConfiguration: ViewerConfiguration = {\r\n model: {\r\n receiveShadows: true,\r\n castShadow: true,\r\n },\r\n ground: {\r\n receiveShadows: true,\r\n },\r\n lights: {\r\n shadowDirectionalLight: {\r\n type: 1,\r\n shadowEnabled: true,\r\n target: { x: 0, y: 0, z: 0.5 },\r\n position: { x: 1.49, y: 2.39, z: -1.33 },\r\n diffuse: { r: 0.867, g: 0.816, b: 0.788 },\r\n intensity: 4.887,\r\n intensityMode: 0,\r\n shadowBufferSize: 1024,\r\n shadowFrustumSize: 6.0,\r\n shadowFieldOfView: 50.977,\r\n shadowMinZ: 0.1,\r\n shadowMaxZ: 10.0,\r\n shadowConfig: {\r\n blurKernel: 32,\r\n useBlurCloseExponentialShadowMap: true,\r\n },\r\n },\r\n },\r\n};\r\n\r\n/**\r\n * Defines a default shadow-enabled spot light for normalized objects.\r\n */\r\nexport const shadowSpotlLightConfiguration: ViewerConfiguration = {\r\n model: {\r\n receiveShadows: true,\r\n castShadow: true,\r\n },\r\n ground: {\r\n receiveShadows: true,\r\n },\r\n lights: {\r\n shadowSpotLight: {\r\n type: 2,\r\n intensity: 2,\r\n shadowEnabled: true,\r\n target: { x: 0, y: 0, z: 0.5 },\r\n position: { x: 0, y: 3.5, z: 3.7 },\r\n angle: 1,\r\n shadowOrthoScale: 0.5,\r\n shadowBufferSize: 1024,\r\n shadowMinZ: 0.1,\r\n shadowMaxZ: 50.0,\r\n shadowConfig: {\r\n frustumEdgeFalloff: 0.5,\r\n blurKernel: 32,\r\n useBlurExponentialShadowMap: true,\r\n },\r\n },\r\n },\r\n};\r\n"]}
|
package/helper/index.d.ts
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
declare const expDm: Ideepmerge;
|
|
2
|
-
export { expDm as deepmerge };
|
|
3
|
-
/**
|
|
4
|
-
* Is the provided string a URL?
|
|
5
|
-
*
|
|
6
|
-
* @param urlToCheck the url to inspect
|
|
7
|
-
* @returns true if the string is a URL
|
|
8
|
-
*/
|
|
9
|
-
export declare function isUrl(urlToCheck: string): boolean;
|
|
10
|
-
/**
|
|
11
|
-
* Convert a string from kebab-case to camelCase
|
|
12
|
-
* @param s string to convert
|
|
13
|
-
* @returns the converted string
|
|
14
|
-
*/
|
|
15
|
-
export declare function kebabToCamel(s: string): string;
|
|
16
|
-
/**
|
|
17
|
-
* Convert a string from camelCase to kebab-case
|
|
18
|
-
* @param str string to convert
|
|
19
|
-
* @returns the converted string
|
|
20
|
-
*/
|
|
21
|
-
export declare function camelToKebab(str: string): string | null;
|
|
22
|
-
/**
|
|
23
|
-
* This will extend an object with configuration values.
|
|
24
|
-
* What it practically does it take the keys from the configuration and set them on the object.
|
|
25
|
-
* If the configuration is a tree, it will traverse into the tree.
|
|
26
|
-
* @param object the object to extend
|
|
27
|
-
* @param config the configuration object that will extend the object
|
|
28
|
-
*/
|
|
29
|
-
export declare function extendClassWithConfig(object: any, config: any): void;
|
package/helper/index.js
DELETED
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import * as deepmerge from "deepmerge";
|
|
2
|
-
var expDm = deepmerge["default"];
|
|
3
|
-
export { expDm as deepmerge };
|
|
4
|
-
/**
|
|
5
|
-
* Is the provided string a URL?
|
|
6
|
-
*
|
|
7
|
-
* @param urlToCheck the url to inspect
|
|
8
|
-
* @returns true if the string is a URL
|
|
9
|
-
*/
|
|
10
|
-
export function isUrl(urlToCheck) {
|
|
11
|
-
if (urlToCheck.indexOf("http") === 0 || urlToCheck.indexOf("/") === 0 || urlToCheck.indexOf("./") === 0 || urlToCheck.indexOf("../") === 0) {
|
|
12
|
-
return true;
|
|
13
|
-
}
|
|
14
|
-
return false;
|
|
15
|
-
}
|
|
16
|
-
/**
|
|
17
|
-
* Convert a string from kebab-case to camelCase
|
|
18
|
-
* @param s string to convert
|
|
19
|
-
* @returns the converted string
|
|
20
|
-
*/
|
|
21
|
-
export function kebabToCamel(s) {
|
|
22
|
-
return s.replace(/(-\w)/g, function (m) {
|
|
23
|
-
return m[1].toUpperCase();
|
|
24
|
-
});
|
|
25
|
-
}
|
|
26
|
-
//https://gist.github.com/youssman/745578062609e8acac9f
|
|
27
|
-
/**
|
|
28
|
-
* Convert a string from camelCase to kebab-case
|
|
29
|
-
* @param str string to convert
|
|
30
|
-
* @returns the converted string
|
|
31
|
-
*/
|
|
32
|
-
export function camelToKebab(str) {
|
|
33
|
-
return !str
|
|
34
|
-
? null
|
|
35
|
-
: str.replace(/([A-Z])/g, function (g) {
|
|
36
|
-
return "-" + g[0].toLowerCase();
|
|
37
|
-
});
|
|
38
|
-
}
|
|
39
|
-
/**
|
|
40
|
-
* This will extend an object with configuration values.
|
|
41
|
-
* What it practically does it take the keys from the configuration and set them on the object.
|
|
42
|
-
* If the configuration is a tree, it will traverse into the tree.
|
|
43
|
-
* @param object the object to extend
|
|
44
|
-
* @param config the configuration object that will extend the object
|
|
45
|
-
*/
|
|
46
|
-
export function extendClassWithConfig(object, config) {
|
|
47
|
-
if (!config || typeof config !== "object") {
|
|
48
|
-
return;
|
|
49
|
-
}
|
|
50
|
-
Object.keys(config).forEach(function (key) {
|
|
51
|
-
if (key in object && typeof object[key] !== "function") {
|
|
52
|
-
// if (typeof object[key] === 'function') return;
|
|
53
|
-
// if it is an object, iterate internally until reaching basic types
|
|
54
|
-
// but null is an object so if its null and config[key] is not an object eg. number, the number should be set
|
|
55
|
-
if (typeof object[key] === "object" && (object[key] !== null || typeof config[key] === "object")) {
|
|
56
|
-
extendClassWithConfig(object[key], config[key]);
|
|
57
|
-
}
|
|
58
|
-
else {
|
|
59
|
-
if (config[key] !== undefined) {
|
|
60
|
-
object[key] = config[key];
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
});
|
|
65
|
-
}
|
|
66
|
-
//# sourceMappingURL=index.js.map
|
package/helper/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../tools/viewer/src/helper/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,SAAS,MAAM,WAAW,CAAC;AAEvC,IAAM,KAAK,GAAG,SAAS,CAAC,SAAS,CAAC,CAAC;AACnC,OAAO,EAAE,KAAK,IAAI,SAAS,EAAE,CAAC;AAE9B;;;;;GAKG;AACH,MAAM,UAAU,KAAK,CAAC,UAAkB;IACpC,IAAI,UAAU,CAAC,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,IAAI,UAAU,CAAC,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,IAAI,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,UAAU,CAAC,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE;QACxI,OAAO,IAAI,CAAC;KACf;IACD,OAAO,KAAK,CAAC;AACjB,CAAC;AAED;;;;GAIG;AACH,MAAM,UAAU,YAAY,CAAC,CAAS;IAClC,OAAO,CAAC,CAAC,OAAO,CAAC,QAAQ,EAAE,UAAU,CAAC;QAClC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC;IAC9B,CAAC,CAAC,CAAC;AACP,CAAC;AAED,uDAAuD;AACvD;;;;GAIG;AACH,MAAM,UAAU,YAAY,CAAC,GAAW;IACpC,OAAO,CAAC,GAAG;QACP,CAAC,CAAC,IAAI;QACN,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,UAAU,EAAE,UAAU,CAAC;YAC/B,OAAO,GAAG,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC;QACpC,CAAC,CAAC,CAAC;AACb,CAAC;AAED;;;;;;GAMG;AACH,MAAM,UAAU,qBAAqB,CAAC,MAAW,EAAE,MAAW;IAC1D,IAAI,CAAC,MAAM,IAAI,OAAO,MAAM,KAAK,QAAQ,EAAE;QACvC,OAAO;KACV;IACD,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC,UAAU,GAAG;QACrC,IAAI,GAAG,IAAI,MAAM,IAAI,OAAO,MAAM,CAAC,GAAG,CAAC,KAAK,UAAU,EAAE;YACpD,iDAAiD;YACjD,oEAAoE;YACpE,6GAA6G;YAC7G,IAAI,OAAO,MAAM,CAAC,GAAG,CAAC,KAAK,QAAQ,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,KAAK,IAAI,IAAI,OAAO,MAAM,CAAC,GAAG,CAAC,KAAK,QAAQ,CAAC,EAAE;gBAC9F,qBAAqB,CAAC,MAAM,CAAC,GAAG,CAAC,EAAE,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC;aACnD;iBAAM;gBACH,IAAI,MAAM,CAAC,GAAG,CAAC,KAAK,SAAS,EAAE;oBAC3B,MAAM,CAAC,GAAG,CAAC,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC;iBAC7B;aACJ;SACJ;IACL,CAAC,CAAC,CAAC;AACP,CAAC","sourcesContent":["import * as deepmerge from \"deepmerge\";\r\n\r\nconst expDm = deepmerge[\"default\"];\r\nexport { expDm as deepmerge };\r\n\r\n/**\r\n * Is the provided string a URL?\r\n *\r\n * @param urlToCheck the url to inspect\r\n * @returns true if the string is a URL\r\n */\r\nexport function isUrl(urlToCheck: string): boolean {\r\n if (urlToCheck.indexOf(\"http\") === 0 || urlToCheck.indexOf(\"/\") === 0 || urlToCheck.indexOf(\"./\") === 0 || urlToCheck.indexOf(\"../\") === 0) {\r\n return true;\r\n }\r\n return false;\r\n}\r\n\r\n/**\r\n * Convert a string from kebab-case to camelCase\r\n * @param s string to convert\r\n * @returns the converted string\r\n */\r\nexport function kebabToCamel(s: string) {\r\n return s.replace(/(-\\w)/g, function (m) {\r\n return m[1].toUpperCase();\r\n });\r\n}\r\n\r\n//https://gist.github.com/youssman/745578062609e8acac9f\r\n/**\r\n * Convert a string from camelCase to kebab-case\r\n * @param str string to convert\r\n * @returns the converted string\r\n */\r\nexport function camelToKebab(str: string) {\r\n return !str\r\n ? null\r\n : str.replace(/([A-Z])/g, function (g) {\r\n return \"-\" + g[0].toLowerCase();\r\n });\r\n}\r\n\r\n/**\r\n * This will extend an object with configuration values.\r\n * What it practically does it take the keys from the configuration and set them on the object.\r\n * If the configuration is a tree, it will traverse into the tree.\r\n * @param object the object to extend\r\n * @param config the configuration object that will extend the object\r\n */\r\nexport function extendClassWithConfig(object: any, config: any) {\r\n if (!config || typeof config !== \"object\") {\r\n return;\r\n }\r\n Object.keys(config).forEach(function (key) {\r\n if (key in object && typeof object[key] !== \"function\") {\r\n // if (typeof object[key] === 'function') return;\r\n // if it is an object, iterate internally until reaching basic types\r\n // but null is an object so if its null and config[key] is not an object eg. number, the number should be set\r\n if (typeof object[key] === \"object\" && (object[key] !== null || typeof config[key] === \"object\")) {\r\n extendClassWithConfig(object[key], config[key]);\r\n } else {\r\n if (config[key] !== undefined) {\r\n object[key] = config[key];\r\n }\r\n }\r\n }\r\n });\r\n}\r\n"]}
|
package/index.d.ts
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { mapperManager } from "./configuration/mappers";
|
|
2
|
-
import { viewerGlobals } from "./configuration/globals";
|
|
3
|
-
import { viewerManager } from "./viewer/viewerManager";
|
|
4
|
-
import { DefaultViewer } from "./viewer/defaultViewer";
|
|
5
|
-
import { AbstractViewer } from "./viewer/viewer";
|
|
6
|
-
import { telemetryManager } from "./managers/telemetryManager";
|
|
7
|
-
import { ModelLoader } from "./loader/modelLoader";
|
|
8
|
-
import { ViewerModel, ModelState } from "./model/viewerModel";
|
|
9
|
-
import { AnimationPlayMode, AnimationState } from "./model/modelAnimation";
|
|
10
|
-
import { ILoaderPlugin } from "./loader/plugins/loaderPlugin";
|
|
11
|
-
import { AbstractViewerNavbarButton } from "./templating/viewerTemplatePlugin";
|
|
12
|
-
import { registerCustomOptimizer } from "./optimizer/custom/index";
|
|
13
|
-
/**
|
|
14
|
-
* BabylonJS Viewer
|
|
15
|
-
*
|
|
16
|
-
* An HTML-Based viewer for 3D models, based on BabylonJS and its extensions.
|
|
17
|
-
*/
|
|
18
|
-
import * as BABYLON from "@babylonjs/core/index.js";
|
|
19
|
-
import "@babylonjs/loaders/index.js";
|
|
20
|
-
import "pepjs";
|
|
21
|
-
import { InitTags } from "./initializer";
|
|
22
|
-
declare const disableInit: boolean;
|
|
23
|
-
/**
|
|
24
|
-
* Dispose all viewers currently registered
|
|
25
|
-
*/
|
|
26
|
-
declare function disposeAll(): void;
|
|
27
|
-
declare const Version: string;
|
|
28
|
-
export { BABYLON, Version, InitTags, DefaultViewer, AbstractViewer, viewerGlobals, telemetryManager, disableInit, viewerManager, mapperManager, disposeAll, ModelLoader, ViewerModel, AnimationPlayMode, AnimationState, ModelState, ILoaderPlugin, AbstractViewerNavbarButton, registerCustomOptimizer, };
|
|
29
|
-
export { GLTF2 } from "@babylonjs/loaders/glTF/index.js";
|
|
30
|
-
export * from "./configuration/index";
|
package/index.js
DELETED
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import { mapperManager } from "./configuration/mappers.js";
|
|
2
|
-
import { viewerGlobals } from "./configuration/globals.js";
|
|
3
|
-
import { viewerManager } from "./viewer/viewerManager.js";
|
|
4
|
-
import { DefaultViewer } from "./viewer/defaultViewer.js";
|
|
5
|
-
import { AbstractViewer } from "./viewer/viewer.js";
|
|
6
|
-
import { telemetryManager } from "./managers/telemetryManager.js";
|
|
7
|
-
import { ModelLoader } from "./loader/modelLoader.js";
|
|
8
|
-
import { ViewerModel, ModelState } from "./model/viewerModel.js";
|
|
9
|
-
import { AnimationPlayMode, AnimationState } from "./model/modelAnimation.js";
|
|
10
|
-
import { AbstractViewerNavbarButton } from "./templating/viewerTemplatePlugin.js";
|
|
11
|
-
// eslint-disable-next-line import/no-internal-modules
|
|
12
|
-
import { registerCustomOptimizer } from "./optimizer/custom/index.js";
|
|
13
|
-
import { Logger } from "@babylonjs/core/Misc/logger.js";
|
|
14
|
-
/**
|
|
15
|
-
* BabylonJS Viewer
|
|
16
|
-
*
|
|
17
|
-
* An HTML-Based viewer for 3D models, based on BabylonJS and its extensions.
|
|
18
|
-
*/
|
|
19
|
-
// eslint-disable-next-line import/no-internal-modules
|
|
20
|
-
import * as BABYLON from "@babylonjs/core/index.js";
|
|
21
|
-
// load needed modules.
|
|
22
|
-
// eslint-disable-next-line import/no-internal-modules
|
|
23
|
-
import "@babylonjs/loaders/index.js";
|
|
24
|
-
import "pepjs";
|
|
25
|
-
import { initListeners, InitTags } from "./initializer.js";
|
|
26
|
-
initListeners();
|
|
27
|
-
//deprecated, here for backwards compatibility
|
|
28
|
-
var disableInit = viewerGlobals.disableInit;
|
|
29
|
-
/**
|
|
30
|
-
* Dispose all viewers currently registered
|
|
31
|
-
*/
|
|
32
|
-
function disposeAll() {
|
|
33
|
-
viewerManager.dispose();
|
|
34
|
-
mapperManager.dispose();
|
|
35
|
-
telemetryManager.dispose();
|
|
36
|
-
}
|
|
37
|
-
var Version = viewerGlobals.version;
|
|
38
|
-
Logger.Log("Babylon.js viewer (v" + Version + ")");
|
|
39
|
-
// public API for initialization
|
|
40
|
-
export { BABYLON, Version, InitTags, DefaultViewer, AbstractViewer, viewerGlobals, telemetryManager, disableInit, viewerManager, mapperManager, disposeAll, ModelLoader, ViewerModel, AnimationPlayMode, AnimationState, ModelState, AbstractViewerNavbarButton, registerCustomOptimizer, };
|
|
41
|
-
// eslint-disable-next-line import/no-internal-modules
|
|
42
|
-
export { GLTF2 } from "@babylonjs/loaders/glTF/index.js";
|
|
43
|
-
// export publicliy all configuration interfaces
|
|
44
|
-
// eslint-disable-next-line import/no-internal-modules
|
|
45
|
-
export * from "./configuration/index.js";
|
|
46
|
-
//# sourceMappingURL=index.js.map
|
package/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../tools/viewer/src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AACxD,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AACxD,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAC/D,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAC9D,OAAO,EAAE,iBAAiB,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAE3E,OAAO,EAAE,0BAA0B,EAAE,MAAM,mCAAmC,CAAC;AAC/E,sDAAsD;AACtD,OAAO,EAAE,uBAAuB,EAAE,MAAM,0BAA0B,CAAC;AACnE,OAAO,EAAE,MAAM,EAAE,uCAAyB;AAE1C;;;;GAIG;AAEH,sDAAsD;AACtD,OAAO,KAAK,OAAO,iCAAmB;AAEtC,uBAAuB;AACvB,sDAAsD;AACtD,qCAAuB;AACvB,OAAO,OAAO,CAAC;AAEf,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAExD,aAAa,EAAE,CAAC;AAEhB,8CAA8C;AAC9C,IAAM,WAAW,GAAY,aAAa,CAAC,WAAW,CAAC;AAEvD;;GAEG;AACH,SAAS,UAAU;IACf,aAAa,CAAC,OAAO,EAAE,CAAC;IACxB,aAAa,CAAC,OAAO,EAAE,CAAC;IACxB,gBAAgB,CAAC,OAAO,EAAE,CAAC;AAC/B,CAAC;AAED,IAAM,OAAO,GAAG,aAAa,CAAC,OAAO,CAAC;AAEtC,MAAM,CAAC,GAAG,CAAC,sBAAsB,GAAG,OAAO,GAAG,GAAG,CAAC,CAAC;AAEnD,gCAAgC;AAChC,OAAO,EACH,OAAO,EACP,OAAO,EACP,QAAQ,EACR,aAAa,EACb,cAAc,EACd,aAAa,EACb,gBAAgB,EAChB,WAAW,EACX,aAAa,EACb,aAAa,EACb,UAAU,EACV,WAAW,EACX,WAAW,EACX,iBAAiB,EACjB,cAAc,EACd,UAAU,EAEV,0BAA0B,EAC1B,uBAAuB,GAC1B,CAAC;AACF,sDAAsD;AACtD,OAAO,EAAE,KAAK,EAAE,yCAA2B;AAC3C,gDAAgD;AAChD,sDAAsD;AACtD,cAAc,uBAAuB,CAAC","sourcesContent":["import { mapperManager } from \"./configuration/mappers\";\r\nimport { viewerGlobals } from \"./configuration/globals\";\r\nimport { viewerManager } from \"./viewer/viewerManager\";\r\nimport { DefaultViewer } from \"./viewer/defaultViewer\";\r\nimport { AbstractViewer } from \"./viewer/viewer\";\r\nimport { telemetryManager } from \"./managers/telemetryManager\";\r\nimport { ModelLoader } from \"./loader/modelLoader\";\r\nimport { ViewerModel, ModelState } from \"./model/viewerModel\";\r\nimport { AnimationPlayMode, AnimationState } from \"./model/modelAnimation\";\r\nimport { ILoaderPlugin } from \"./loader/plugins/loaderPlugin\";\r\nimport { AbstractViewerNavbarButton } from \"./templating/viewerTemplatePlugin\";\r\n// eslint-disable-next-line import/no-internal-modules\r\nimport { registerCustomOptimizer } from \"./optimizer/custom/index\";\r\nimport { Logger } from \"core/Misc/logger\";\r\n\r\n/**\r\n * BabylonJS Viewer\r\n *\r\n * An HTML-Based viewer for 3D models, based on BabylonJS and its extensions.\r\n */\r\n\r\n// eslint-disable-next-line import/no-internal-modules\r\nimport * as BABYLON from \"core/index\";\r\n\r\n// load needed modules.\r\n// eslint-disable-next-line import/no-internal-modules\r\nimport \"loaders/index\";\r\nimport \"pepjs\";\r\n\r\nimport { initListeners, InitTags } from \"./initializer\";\r\n\r\ninitListeners();\r\n\r\n//deprecated, here for backwards compatibility\r\nconst disableInit: boolean = viewerGlobals.disableInit;\r\n\r\n/**\r\n * Dispose all viewers currently registered\r\n */\r\nfunction disposeAll() {\r\n viewerManager.dispose();\r\n mapperManager.dispose();\r\n telemetryManager.dispose();\r\n}\r\n\r\nconst Version = viewerGlobals.version;\r\n\r\nLogger.Log(\"Babylon.js viewer (v\" + Version + \")\");\r\n\r\n// public API for initialization\r\nexport {\r\n BABYLON,\r\n Version,\r\n InitTags,\r\n DefaultViewer,\r\n AbstractViewer,\r\n viewerGlobals,\r\n telemetryManager,\r\n disableInit,\r\n viewerManager,\r\n mapperManager,\r\n disposeAll,\r\n ModelLoader,\r\n ViewerModel,\r\n AnimationPlayMode,\r\n AnimationState,\r\n ModelState,\r\n ILoaderPlugin,\r\n AbstractViewerNavbarButton,\r\n registerCustomOptimizer,\r\n};\r\n// eslint-disable-next-line import/no-internal-modules\r\nexport { GLTF2 } from \"loaders/glTF/index\";\r\n// export publicliy all configuration interfaces\r\n// eslint-disable-next-line import/no-internal-modules\r\nexport * from \"./configuration/index\";\r\n"]}
|
package/initializer.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Will attach an init function the DOMContentLoaded event.
|
|
3
|
-
* The init function will be removed automatically after the event was triggered.
|
|
4
|
-
*/
|
|
5
|
-
export declare function initListeners(): void;
|
|
6
|
-
/**
|
|
7
|
-
* Select all HTML tags on the page that match the selector and initialize a viewer
|
|
8
|
-
*
|
|
9
|
-
* @param selector the selector to initialize the viewer on (default is 'babylon')
|
|
10
|
-
*/
|
|
11
|
-
export declare function InitTags(selector?: string): void;
|
package/initializer.js
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { DefaultViewer } from "./viewer/defaultViewer.js";
|
|
2
|
-
import { mapperManager } from "./configuration/mappers.js";
|
|
3
|
-
import { viewerGlobals } from "./configuration/globals.js";
|
|
4
|
-
/**
|
|
5
|
-
* Will attach an init function the DOMContentLoaded event.
|
|
6
|
-
* The init function will be removed automatically after the event was triggered.
|
|
7
|
-
*/
|
|
8
|
-
export function initListeners() {
|
|
9
|
-
document.addEventListener("DOMContentLoaded", init);
|
|
10
|
-
function init() {
|
|
11
|
-
document.removeEventListener("DOMContentLoaded", init);
|
|
12
|
-
if (viewerGlobals.disableInit) {
|
|
13
|
-
return;
|
|
14
|
-
}
|
|
15
|
-
InitTags();
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
/**
|
|
19
|
-
* Select all HTML tags on the page that match the selector and initialize a viewer
|
|
20
|
-
*
|
|
21
|
-
* @param selector the selector to initialize the viewer on (default is 'babylon')
|
|
22
|
-
*/
|
|
23
|
-
export function InitTags(selector) {
|
|
24
|
-
if (selector === void 0) { selector = "babylon"; }
|
|
25
|
-
var elements = document.querySelectorAll(selector);
|
|
26
|
-
for (var i = 0; i < elements.length; ++i) {
|
|
27
|
-
var element = elements.item(i);
|
|
28
|
-
// get the html configuration
|
|
29
|
-
var configMapper = mapperManager.getMapper("dom");
|
|
30
|
-
var config = configMapper.map(element);
|
|
31
|
-
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
32
|
-
new DefaultViewer(element, config);
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
//# sourceMappingURL=initializer.js.map
|
package/initializer.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"initializer.js","sourceRoot":"","sources":["../../../tools/viewer/src/initializer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AACxD,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAExD;;;GAGG;AACH,MAAM,UAAU,aAAa;IACzB,QAAQ,CAAC,gBAAgB,CAAC,kBAAkB,EAAE,IAAI,CAAC,CAAC;IACpD,SAAS,IAAI;QACT,QAAQ,CAAC,mBAAmB,CAAC,kBAAkB,EAAE,IAAI,CAAC,CAAC;QACvD,IAAI,aAAa,CAAC,WAAW,EAAE;YAC3B,OAAO;SACV;QACD,QAAQ,EAAE,CAAC;IACf,CAAC;AACL,CAAC;AAED;;;;GAIG;AACH,MAAM,UAAU,QAAQ,CAAC,QAA4B;IAA5B,yBAAA,EAAA,oBAA4B;IACjD,IAAM,QAAQ,GAAG,QAAQ,CAAC,gBAAgB,CAAC,QAAQ,CAAC,CAAC;IACrD,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,QAAQ,CAAC,MAAM,EAAE,EAAE,CAAC,EAAE;QACtC,IAAM,OAAO,GAAG,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;QAEjC,6BAA6B;QAC7B,IAAM,YAAY,GAAG,aAAa,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;QACpD,IAAM,MAAM,GAAG,YAAY,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;QAEzC,6DAA6D;QAC7D,IAAI,aAAa,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC;KACtC;AACL,CAAC","sourcesContent":["import { DefaultViewer } from \"./viewer/defaultViewer\";\r\nimport { mapperManager } from \"./configuration/mappers\";\r\nimport { viewerGlobals } from \"./configuration/globals\";\r\n\r\n/**\r\n * Will attach an init function the DOMContentLoaded event.\r\n * The init function will be removed automatically after the event was triggered.\r\n */\r\nexport function initListeners() {\r\n document.addEventListener(\"DOMContentLoaded\", init);\r\n function init() {\r\n document.removeEventListener(\"DOMContentLoaded\", init);\r\n if (viewerGlobals.disableInit) {\r\n return;\r\n }\r\n InitTags();\r\n }\r\n}\r\n\r\n/**\r\n * Select all HTML tags on the page that match the selector and initialize a viewer\r\n *\r\n * @param selector the selector to initialize the viewer on (default is 'babylon')\r\n */\r\nexport function InitTags(selector: string = \"babylon\") {\r\n const elements = document.querySelectorAll(selector);\r\n for (let i = 0; i < elements.length; ++i) {\r\n const element = elements.item(i);\r\n\r\n // get the html configuration\r\n const configMapper = mapperManager.getMapper(\"dom\");\r\n const config = configMapper.map(element);\r\n\r\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\r\n new DefaultViewer(element, config);\r\n }\r\n}\r\n"]}
|
package/interfaces.d.ts
DELETED
package/interfaces.js
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export var CameraBehavior;
|
|
2
|
-
(function (CameraBehavior) {
|
|
3
|
-
CameraBehavior[CameraBehavior["AUTOROTATION"] = 0] = "AUTOROTATION";
|
|
4
|
-
CameraBehavior[CameraBehavior["BOUNCING"] = 1] = "BOUNCING";
|
|
5
|
-
CameraBehavior[CameraBehavior["FRAMING"] = 2] = "FRAMING";
|
|
6
|
-
})(CameraBehavior || (CameraBehavior = {}));
|
|
7
|
-
//# sourceMappingURL=interfaces.js.map
|
package/interfaces.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../tools/viewer/src/interfaces.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAkB,cAIjB;AAJD,WAAkB,cAAc;IAC5B,mEAAY,CAAA;IACZ,2DAAQ,CAAA;IACR,yDAAO,CAAA;AACX,CAAC,EAJiB,cAAc,KAAd,cAAc,QAI/B","sourcesContent":["export const enum CameraBehavior {\r\n AUTOROTATION,\r\n BOUNCING,\r\n FRAMING,\r\n}\r\n"]}
|
|
@@ -1,126 +0,0 @@
|
|
|
1
|
-
import { Vector3 } from "@babylonjs/core/Maths/math.js";
|
|
2
|
-
import { TextureCube } from "./texture";
|
|
3
|
-
/**
|
|
4
|
-
* Spherical polynomial coefficients (counter part to spherical harmonic coefficients used in shader irradiance calculation)
|
|
5
|
-
* @ignoreChildren
|
|
6
|
-
*/
|
|
7
|
-
export interface SphericalPolynomalCoefficients {
|
|
8
|
-
x: Vector3;
|
|
9
|
-
y: Vector3;
|
|
10
|
-
z: Vector3;
|
|
11
|
-
xx: Vector3;
|
|
12
|
-
yy: Vector3;
|
|
13
|
-
zz: Vector3;
|
|
14
|
-
yz: Vector3;
|
|
15
|
-
zx: Vector3;
|
|
16
|
-
xy: Vector3;
|
|
17
|
-
}
|
|
18
|
-
/**
|
|
19
|
-
* Wraps data and maps required for environments with physically based rendering
|
|
20
|
-
*/
|
|
21
|
-
export interface PBREnvironment {
|
|
22
|
-
/**
|
|
23
|
-
* Spherical Polynomial Coefficients representing an irradiance map
|
|
24
|
-
*/
|
|
25
|
-
irradiancePolynomialCoefficients: SphericalPolynomalCoefficients;
|
|
26
|
-
/**
|
|
27
|
-
* Specular cubemap
|
|
28
|
-
*/
|
|
29
|
-
specularTexture?: TextureCube;
|
|
30
|
-
/**
|
|
31
|
-
* A scale factor applied to RGB values after reading from environment maps
|
|
32
|
-
*/
|
|
33
|
-
textureIntensityScale: number;
|
|
34
|
-
}
|
|
35
|
-
/**
|
|
36
|
-
* Environment map representations: layouts, projections and approximations
|
|
37
|
-
*/
|
|
38
|
-
export type MapType = "irradiance_sh_coefficients_9" | "cubemap_faces";
|
|
39
|
-
/**
|
|
40
|
-
* Image type used for environment map
|
|
41
|
-
*/
|
|
42
|
-
export type ImageType = "png";
|
|
43
|
-
/**
|
|
44
|
-
* A generic field in JSON that report's its type
|
|
45
|
-
*/
|
|
46
|
-
export interface TypedObject<T> {
|
|
47
|
-
type: T;
|
|
48
|
-
}
|
|
49
|
-
/**
|
|
50
|
-
* Describes a range of bytes starting at byte pos (inclusive) and finishing at byte pos + length - 1
|
|
51
|
-
*/
|
|
52
|
-
export interface ByteRange {
|
|
53
|
-
pos: number;
|
|
54
|
-
length: number;
|
|
55
|
-
}
|
|
56
|
-
/**
|
|
57
|
-
* Complete Spectre Environment JSON Descriptor
|
|
58
|
-
*/
|
|
59
|
-
export interface EnvJsonDescriptor {
|
|
60
|
-
radiance: TypedObject<MapType>;
|
|
61
|
-
irradiance: TypedObject<MapType>;
|
|
62
|
-
specular: TypedObject<MapType>;
|
|
63
|
-
}
|
|
64
|
-
/**
|
|
65
|
-
* Spherical harmonic coefficients to provide an irradiance map
|
|
66
|
-
*/
|
|
67
|
-
export interface IrradianceSHCoefficients9 extends TypedObject<MapType> {
|
|
68
|
-
l00: Array<number>;
|
|
69
|
-
l1_1: Array<number>;
|
|
70
|
-
l10: Array<number>;
|
|
71
|
-
l11: Array<number>;
|
|
72
|
-
l2_2: Array<number>;
|
|
73
|
-
l2_1: Array<number>;
|
|
74
|
-
l20: Array<number>;
|
|
75
|
-
l21: Array<number>;
|
|
76
|
-
l22: Array<number>;
|
|
77
|
-
}
|
|
78
|
-
/**
|
|
79
|
-
* A generic set of images, where the image content is specified by byte ranges in the mipmaps field
|
|
80
|
-
*/
|
|
81
|
-
export interface ImageSet<T> extends TypedObject<MapType> {
|
|
82
|
-
imageType: ImageType;
|
|
83
|
-
width: number;
|
|
84
|
-
height: number;
|
|
85
|
-
mipmaps: Array<T>;
|
|
86
|
-
multiplier: number;
|
|
87
|
-
}
|
|
88
|
-
/**
|
|
89
|
-
* A set of cubemap faces
|
|
90
|
-
*/
|
|
91
|
-
export type CubemapFaces = ImageSet<Array<ByteRange>>;
|
|
92
|
-
/**
|
|
93
|
-
* A single image containing an atlas of equirectangular-projection maps across all mip levels
|
|
94
|
-
*/
|
|
95
|
-
export type EquirectangularMipmapAtlas = ImageSet<ByteRange>;
|
|
96
|
-
/**
|
|
97
|
-
* A static class proving methods to aid parsing Spectre environment files
|
|
98
|
-
*/
|
|
99
|
-
export declare class EnvironmentDeserializer {
|
|
100
|
-
/**
|
|
101
|
-
* Parses an arraybuffer into a new PBREnvironment object
|
|
102
|
-
* @param arrayBuffer The arraybuffer of the Spectre environment file
|
|
103
|
-
* @returns a PBREnvironment object
|
|
104
|
-
*/
|
|
105
|
-
static Parse(arrayBuffer: ArrayBuffer): PBREnvironment;
|
|
106
|
-
/**
|
|
107
|
-
* Convert from irradiance to outgoing radiance for Lambertian BDRF, suitable for efficient shader evaluation.
|
|
108
|
-
* L = (1/pi) * E * rho
|
|
109
|
-
*
|
|
110
|
-
* This is done by an additional scale by 1/pi, so is a fairly trivial operation but important conceptually.
|
|
111
|
-
* @param harmonics Spherical harmonic coefficients (9)
|
|
112
|
-
*/
|
|
113
|
-
private static _ConvertSHIrradianceToLambertianRadiance;
|
|
114
|
-
/**
|
|
115
|
-
* Convert spherical harmonics to spherical polynomial coefficients
|
|
116
|
-
* @param harmonics Spherical harmonic coefficients (9)
|
|
117
|
-
* @param outPolynomialCoefficents Polynomial coefficients (9) object to store result
|
|
118
|
-
*/
|
|
119
|
-
private static _ConvertSHToSP;
|
|
120
|
-
/**
|
|
121
|
-
* Multiplies harmonic coefficients in place
|
|
122
|
-
* @param harmonics Spherical harmonic coefficients (9)
|
|
123
|
-
* @param scaleFactor Value to multiply by
|
|
124
|
-
*/
|
|
125
|
-
private static _ScaleSH;
|
|
126
|
-
}
|