@babylonjs/viewer 7.35.1 → 7.35.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/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-I6dGStsg.esm.min.js +2 -0
- package/dist/chunks/EXT_lights_image_based-I6dGStsg.esm.min.js.map +1 -0
- package/dist/chunks/EXT_lights_image_based-gqNsOFez.esm.js +171 -0
- package/dist/chunks/EXT_lights_image_based-gqNsOFez.esm.js.map +1 -0
- package/dist/chunks/EXT_mesh_gpu_instancing-DFS6xr5n.esm.min.js +2 -0
- package/dist/chunks/EXT_mesh_gpu_instancing-DFS6xr5n.esm.min.js.map +1 -0
- package/dist/chunks/EXT_mesh_gpu_instancing-lOryCKIX.esm.js +86 -0
- package/dist/chunks/EXT_mesh_gpu_instancing-lOryCKIX.esm.js.map +1 -0
- package/dist/chunks/EXT_meshopt_compression-BQZ0hBff.esm.js +134 -0
- package/dist/chunks/EXT_meshopt_compression-BQZ0hBff.esm.js.map +1 -0
- package/dist/chunks/EXT_meshopt_compression-Dv_WoTzw.esm.min.js +2 -0
- package/dist/chunks/EXT_meshopt_compression-Dv_WoTzw.esm.min.js.map +1 -0
- package/dist/chunks/EXT_texture_avif-BLib9ZsW.esm.js +44 -0
- package/dist/chunks/EXT_texture_avif-BLib9ZsW.esm.js.map +1 -0
- package/dist/chunks/EXT_texture_avif-BMUg03OA.esm.min.js +2 -0
- package/dist/chunks/EXT_texture_avif-BMUg03OA.esm.min.js.map +1 -0
- package/dist/chunks/EXT_texture_webp-DPJIMXIs.esm.js +43 -0
- package/dist/chunks/EXT_texture_webp-DPJIMXIs.esm.js.map +1 -0
- package/dist/chunks/EXT_texture_webp-DPzL7RO5.esm.min.js +2 -0
- package/dist/chunks/EXT_texture_webp-DPzL7RO5.esm.min.js.map +1 -0
- package/dist/chunks/ExtrasAsMetadata-CL0k4Btm.esm.js +64 -0
- package/dist/chunks/ExtrasAsMetadata-CL0k4Btm.esm.js.map +1 -0
- package/dist/chunks/ExtrasAsMetadata-O8gteBcK.esm.min.js +2 -0
- package/dist/chunks/ExtrasAsMetadata-O8gteBcK.esm.min.js.map +1 -0
- package/dist/chunks/KHR_animation_pointer-BFyC08_R.esm.js +343 -0
- package/dist/chunks/KHR_animation_pointer-BFyC08_R.esm.js.map +1 -0
- package/dist/chunks/KHR_animation_pointer-BZvneRZ7.esm.min.js +2 -0
- package/dist/chunks/KHR_animation_pointer-BZvneRZ7.esm.min.js.map +1 -0
- package/dist/chunks/KHR_draco_mesh_compression-CjzLflHM.esm.js +610 -0
- package/dist/chunks/KHR_draco_mesh_compression-CjzLflHM.esm.js.map +1 -0
- package/dist/chunks/KHR_draco_mesh_compression-sHuqiNW-.esm.min.js +2 -0
- package/dist/chunks/KHR_draco_mesh_compression-sHuqiNW-.esm.min.js.map +1 -0
- package/dist/chunks/KHR_interactivity-CA1NQ9Fc.esm.js +4033 -0
- package/dist/chunks/KHR_interactivity-CA1NQ9Fc.esm.js.map +1 -0
- package/dist/chunks/KHR_interactivity-CVvexOkD.esm.min.js +2 -0
- package/dist/chunks/KHR_interactivity-CVvexOkD.esm.min.js.map +1 -0
- package/dist/chunks/KHR_lights_punctual-CIEvgNk7.esm.js +1253 -0
- package/dist/chunks/KHR_lights_punctual-CIEvgNk7.esm.js.map +1 -0
- package/dist/chunks/KHR_lights_punctual-CTm7ey2n.esm.min.js +2 -0
- package/dist/chunks/KHR_lights_punctual-CTm7ey2n.esm.min.js.map +1 -0
- package/dist/chunks/KHR_materials_anisotropy-B8l2iZjl.esm.min.js +2 -0
- package/dist/chunks/KHR_materials_anisotropy-B8l2iZjl.esm.min.js.map +1 -0
- package/dist/chunks/KHR_materials_anisotropy-vnjucfaw.esm.js +65 -0
- package/dist/chunks/KHR_materials_anisotropy-vnjucfaw.esm.js.map +1 -0
- package/dist/chunks/KHR_materials_clearcoat-BhZGttd-.esm.js +96 -0
- package/dist/chunks/KHR_materials_clearcoat-BhZGttd-.esm.js.map +1 -0
- package/dist/chunks/KHR_materials_clearcoat-BlhYeFYN.esm.min.js +2 -0
- package/dist/chunks/KHR_materials_clearcoat-BlhYeFYN.esm.min.js.map +1 -0
- package/dist/chunks/KHR_materials_diffuse_transmission-DJiKAnah.esm.js +97 -0
- package/dist/chunks/KHR_materials_diffuse_transmission-DJiKAnah.esm.js.map +1 -0
- package/dist/chunks/KHR_materials_diffuse_transmission-DmzdysxQ.esm.min.js +2 -0
- package/dist/chunks/KHR_materials_diffuse_transmission-DmzdysxQ.esm.min.js.map +1 -0
- package/dist/chunks/KHR_materials_dispersion-B1e8i3BQ.esm.js +62 -0
- package/dist/chunks/KHR_materials_dispersion-B1e8i3BQ.esm.js.map +1 -0
- package/dist/chunks/KHR_materials_dispersion-B_uhZ_r0.esm.min.js +2 -0
- package/dist/chunks/KHR_materials_dispersion-B_uhZ_r0.esm.min.js.map +1 -0
- package/dist/chunks/KHR_materials_emissive_strength-Bdc1fhX3.esm.js +55 -0
- package/dist/chunks/KHR_materials_emissive_strength-Bdc1fhX3.esm.js.map +1 -0
- package/dist/chunks/KHR_materials_emissive_strength-CujgLUsQ.esm.min.js +2 -0
- package/dist/chunks/KHR_materials_emissive_strength-CujgLUsQ.esm.min.js.map +1 -0
- package/dist/chunks/KHR_materials_ior-DAITk5f0.esm.js +64 -0
- package/dist/chunks/KHR_materials_ior-DAITk5f0.esm.js.map +1 -0
- package/dist/chunks/KHR_materials_ior-DDjIIueh.esm.min.js +2 -0
- package/dist/chunks/KHR_materials_ior-DDjIIueh.esm.min.js.map +1 -0
- package/dist/chunks/KHR_materials_iridescence-Bs4XQdUc.esm.js +72 -0
- package/dist/chunks/KHR_materials_iridescence-Bs4XQdUc.esm.js.map +1 -0
- package/dist/chunks/KHR_materials_iridescence-CofsEJxf.esm.min.js +2 -0
- package/dist/chunks/KHR_materials_iridescence-CofsEJxf.esm.min.js.map +1 -0
- package/dist/chunks/KHR_materials_pbrSpecularGlossiness-D2cm0Qti.esm.js +81 -0
- package/dist/chunks/KHR_materials_pbrSpecularGlossiness-D2cm0Qti.esm.js.map +1 -0
- package/dist/chunks/KHR_materials_pbrSpecularGlossiness-Na22WakQ.esm.min.js +2 -0
- package/dist/chunks/KHR_materials_pbrSpecularGlossiness-Na22WakQ.esm.min.js.map +1 -0
- package/dist/chunks/KHR_materials_sheen-BCY5GSrv.esm.js +85 -0
- package/dist/chunks/KHR_materials_sheen-BCY5GSrv.esm.js.map +1 -0
- package/dist/chunks/KHR_materials_sheen-BEHiRviB.esm.min.js +2 -0
- package/dist/chunks/KHR_materials_sheen-BEHiRviB.esm.min.js.map +1 -0
- package/dist/chunks/KHR_materials_specular-BFt2dwLj.esm.js +75 -0
- package/dist/chunks/KHR_materials_specular-BFt2dwLj.esm.js.map +1 -0
- package/dist/chunks/KHR_materials_specular-BGIPQ1rQ.esm.min.js +2 -0
- package/dist/chunks/KHR_materials_specular-BGIPQ1rQ.esm.min.js.map +1 -0
- package/dist/chunks/KHR_materials_transmission-BgbdeIB3.esm.js +307 -0
- package/dist/chunks/KHR_materials_transmission-BgbdeIB3.esm.js.map +1 -0
- package/dist/chunks/KHR_materials_transmission-C-tRBJu4.esm.min.js +2 -0
- package/dist/chunks/KHR_materials_transmission-C-tRBJu4.esm.min.js.map +1 -0
- package/dist/chunks/KHR_materials_unlit-CcRsVA_x.esm.min.js +2 -0
- package/dist/chunks/KHR_materials_unlit-CcRsVA_x.esm.min.js.map +1 -0
- package/dist/chunks/KHR_materials_unlit-DNhfBz4E.esm.js +74 -0
- package/dist/chunks/KHR_materials_unlit-DNhfBz4E.esm.js.map +1 -0
- package/dist/chunks/KHR_materials_variants-77adpgBk.esm.min.js +2 -0
- package/dist/chunks/KHR_materials_variants-77adpgBk.esm.min.js.map +1 -0
- package/dist/chunks/KHR_materials_variants-CSaSbOzl.esm.js +238 -0
- package/dist/chunks/KHR_materials_variants-CSaSbOzl.esm.js.map +1 -0
- package/dist/chunks/KHR_materials_volume-AOCoYNKI.esm.min.js +2 -0
- package/dist/chunks/KHR_materials_volume-AOCoYNKI.esm.min.js.map +1 -0
- package/dist/chunks/KHR_materials_volume-BWHhpmNH.esm.js +87 -0
- package/dist/chunks/KHR_materials_volume-BWHhpmNH.esm.js.map +1 -0
- package/dist/chunks/KHR_mesh_quantization-BB7EL2M1.esm.min.js +2 -0
- package/dist/chunks/KHR_mesh_quantization-BB7EL2M1.esm.min.js.map +1 -0
- package/dist/chunks/KHR_mesh_quantization-D2-xHrHe.esm.js +26 -0
- package/dist/chunks/KHR_mesh_quantization-D2-xHrHe.esm.js.map +1 -0
- package/dist/chunks/KHR_node_visibility-Di8sseTY.esm.min.js +2 -0
- package/dist/chunks/KHR_node_visibility-Di8sseTY.esm.min.js.map +1 -0
- package/dist/chunks/KHR_node_visibility-qzuskO3u.esm.js +46 -0
- package/dist/chunks/KHR_node_visibility-qzuskO3u.esm.js.map +1 -0
- package/dist/chunks/KHR_texture_basisu-BUP7AAVF.esm.min.js +2 -0
- package/dist/chunks/KHR_texture_basisu-BUP7AAVF.esm.min.js.map +1 -0
- package/dist/chunks/KHR_texture_basisu-C60Bt2Ic.esm.js +43 -0
- package/dist/chunks/KHR_texture_basisu-C60Bt2Ic.esm.js.map +1 -0
- package/dist/chunks/KHR_texture_transform-BUOLLEYP.esm.min.js +2 -0
- package/dist/chunks/KHR_texture_transform-BUOLLEYP.esm.min.js.map +1 -0
- package/dist/chunks/KHR_texture_transform-Dg-cPDyd.esm.js +63 -0
- package/dist/chunks/KHR_texture_transform-Dg-cPDyd.esm.js.map +1 -0
- package/dist/chunks/KHR_xmp_json_ld-CsFE0gfF.esm.min.js +2 -0
- package/dist/chunks/KHR_xmp_json_ld-CsFE0gfF.esm.min.js.map +1 -0
- package/dist/chunks/KHR_xmp_json_ld-DgCKwEEO.esm.js +51 -0
- package/dist/chunks/KHR_xmp_json_ld-DgCKwEEO.esm.js.map +1 -0
- package/dist/chunks/MSFT_audio_emitter-VHBse1UH.esm.js +2207 -0
- package/dist/chunks/MSFT_audio_emitter-VHBse1UH.esm.js.map +1 -0
- package/dist/chunks/MSFT_audio_emitter-iFlly5g-.esm.min.js +2 -0
- package/dist/chunks/MSFT_audio_emitter-iFlly5g-.esm.min.js.map +1 -0
- package/dist/chunks/MSFT_lod-Bwsctx65.esm.js +337 -0
- package/dist/chunks/MSFT_lod-Bwsctx65.esm.js.map +1 -0
- package/dist/chunks/MSFT_lod-CbiRs9Kc.esm.min.js +2 -0
- package/dist/chunks/MSFT_lod-CbiRs9Kc.esm.min.js.map +1 -0
- package/dist/chunks/MSFT_minecraftMesh-Dl6WKmxG.esm.min.js +2 -0
- package/dist/chunks/MSFT_minecraftMesh-Dl6WKmxG.esm.min.js.map +1 -0
- package/dist/chunks/MSFT_minecraftMesh-MBaTkra4.esm.js +46 -0
- package/dist/chunks/MSFT_minecraftMesh-MBaTkra4.esm.js.map +1 -0
- package/dist/chunks/MSFT_sRGBFactors-DJvNL0IJ.esm.js +47 -0
- package/dist/chunks/MSFT_sRGBFactors-DJvNL0IJ.esm.js.map +1 -0
- package/dist/chunks/MSFT_sRGBFactors-Drf21tSs.esm.min.js +2 -0
- package/dist/chunks/MSFT_sRGBFactors-Drf21tSs.esm.min.js.map +1 -0
- package/dist/chunks/animationGroup-CgbfLDgX.esm.min.js +2 -0
- package/dist/chunks/animationGroup-CgbfLDgX.esm.min.js.map +1 -0
- package/dist/chunks/animationGroup-eowyl97W.esm.js +2482 -0
- package/dist/chunks/animationGroup-eowyl97W.esm.js.map +1 -0
- package/dist/chunks/assetContainer-Bsqe9swA.esm.min.js +2 -0
- package/dist/chunks/assetContainer-Bsqe9swA.esm.min.js.map +1 -0
- package/dist/chunks/assetContainer-DO29qm5j.esm.js +1720 -0
- package/dist/chunks/assetContainer-DO29qm5j.esm.js.map +1 -0
- package/dist/chunks/audioEngine-ByiWmXaG.esm.js +305 -0
- package/dist/chunks/audioEngine-ByiWmXaG.esm.js.map +1 -0
- package/dist/chunks/audioEngine-Tyl5gl5Y.esm.min.js +2 -0
- package/dist/chunks/audioEngine-Tyl5gl5Y.esm.min.js.map +1 -0
- package/dist/chunks/bakedVertexAnimation-BxUlezN-.esm.min.js +2 -0
- package/dist/chunks/bakedVertexAnimation-BxUlezN-.esm.min.js.map +1 -0
- package/dist/chunks/bakedVertexAnimation-Co7tF_AI.esm.js +114 -0
- package/dist/chunks/bakedVertexAnimation-Co7tF_AI.esm.js.map +1 -0
- package/dist/chunks/basisTextureLoader-C6h2HrT5.esm.min.js +2 -0
- package/dist/chunks/basisTextureLoader-C6h2HrT5.esm.min.js.map +1 -0
- package/dist/chunks/basisTextureLoader-CFdjlTQv.esm.js +600 -0
- package/dist/chunks/basisTextureLoader-CFdjlTQv.esm.js.map +1 -0
- package/dist/chunks/dds--AOY6KMC.esm.js +540 -0
- package/dist/chunks/dds--AOY6KMC.esm.js.map +1 -0
- package/dist/chunks/dds-mtdSIG7y.esm.min.js +2 -0
- package/dist/chunks/dds-mtdSIG7y.esm.min.js.map +1 -0
- package/dist/chunks/ddsTextureLoader-CS64tfyO.esm.min.js +2 -0
- package/dist/chunks/ddsTextureLoader-CS64tfyO.esm.min.js.map +1 -0
- package/dist/chunks/ddsTextureLoader-Cm3kvldL.esm.js +88 -0
- package/dist/chunks/ddsTextureLoader-Cm3kvldL.esm.js.map +1 -0
- package/dist/chunks/decalFragment-B_EoELPt.esm.min.js +2 -0
- package/dist/chunks/decalFragment-B_EoELPt.esm.min.js.map +1 -0
- package/dist/chunks/decalFragment-CrQo80qe.esm.js +18 -0
- package/dist/chunks/decalFragment-CrQo80qe.esm.js.map +1 -0
- package/dist/chunks/default.fragment-B7BZK7Wn.esm.js +433 -0
- package/dist/chunks/default.fragment-B7BZK7Wn.esm.js.map +1 -0
- package/dist/chunks/default.fragment-CDe0T1Vr.esm.min.js +2 -0
- package/dist/chunks/default.fragment-CDe0T1Vr.esm.min.js.map +1 -0
- package/dist/chunks/default.fragment-DE-fL82A.esm.min.js +2 -0
- package/dist/chunks/default.fragment-DE-fL82A.esm.min.js.map +1 -0
- package/dist/chunks/default.fragment-OyO2ek5x.esm.js +497 -0
- package/dist/chunks/default.fragment-OyO2ek5x.esm.js.map +1 -0
- package/dist/chunks/default.vertex-CNUfzDP1.esm.js +181 -0
- package/dist/chunks/default.vertex-CNUfzDP1.esm.js.map +1 -0
- package/dist/chunks/default.vertex-CfR6AC0W.esm.js +201 -0
- package/dist/chunks/default.vertex-CfR6AC0W.esm.js.map +1 -0
- package/dist/chunks/default.vertex-CxON4TPV.esm.min.js +2 -0
- package/dist/chunks/default.vertex-CxON4TPV.esm.min.js.map +1 -0
- package/dist/chunks/default.vertex-vn2_ZsRf.esm.min.js +2 -0
- package/dist/chunks/default.vertex-vn2_ZsRf.esm.min.js.map +1 -0
- package/dist/chunks/defaultUboDeclaration-DOEnRk8l.esm.min.js +2 -0
- package/dist/chunks/defaultUboDeclaration-DOEnRk8l.esm.min.js.map +1 -0
- package/dist/chunks/defaultUboDeclaration-D_cdCN09.esm.js +15 -0
- package/dist/chunks/defaultUboDeclaration-D_cdCN09.esm.js.map +1 -0
- package/dist/chunks/defaultUboDeclaration-DulGgNIT.esm.js +13 -0
- package/dist/chunks/defaultUboDeclaration-DulGgNIT.esm.js.map +1 -0
- package/dist/chunks/defaultUboDeclaration-DuvDKzIc.esm.min.js +2 -0
- package/dist/chunks/defaultUboDeclaration-DuvDKzIc.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-CDmW-p2A.esm.js +200 -0
- package/dist/chunks/dumpTools-CDmW-p2A.esm.js.map +1 -0
- package/dist/chunks/dumpTools-hJHAozcu.esm.min.js +2 -0
- package/dist/chunks/dumpTools-hJHAozcu.esm.min.js.map +1 -0
- package/dist/chunks/engine-CfBkxMlv.esm.min.js +2 -0
- package/dist/chunks/engine-CfBkxMlv.esm.min.js.map +1 -0
- package/dist/chunks/engine-DaA20vkg.esm.js +2187 -0
- package/dist/chunks/engine-DaA20vkg.esm.js.map +1 -0
- package/dist/chunks/engine.common-B1nX1uOv.esm.min.js +2 -0
- package/dist/chunks/engine.common-B1nX1uOv.esm.min.js.map +1 -0
- package/dist/chunks/engine.common-Da03TQs0.esm.js +1103 -0
- package/dist/chunks/engine.common-Da03TQs0.esm.js.map +1 -0
- package/dist/chunks/envTextureLoader-BRXi1pZo.esm.js +64 -0
- package/dist/chunks/envTextureLoader-BRXi1pZo.esm.js.map +1 -0
- package/dist/chunks/envTextureLoader-CS1eu96I.esm.min.js +2 -0
- package/dist/chunks/envTextureLoader-CS1eu96I.esm.min.js.map +1 -0
- package/dist/chunks/environmentTextureTools-BCSQExyv.esm.js +382 -0
- package/dist/chunks/environmentTextureTools-BCSQExyv.esm.js.map +1 -0
- package/dist/chunks/environmentTextureTools-DaBia0zg.esm.min.js +2 -0
- package/dist/chunks/environmentTextureTools-DaBia0zg.esm.min.js.map +1 -0
- package/dist/chunks/exrTextureLoader-DOcIuOg9.esm.min.js +2 -0
- package/dist/chunks/exrTextureLoader-DOcIuOg9.esm.min.js.map +1 -0
- package/dist/chunks/exrTextureLoader-NVzNFU10.esm.js +1682 -0
- package/dist/chunks/exrTextureLoader-NVzNFU10.esm.js.map +1 -0
- package/dist/chunks/fogFragment-7C9DmW8b.esm.js +102 -0
- package/dist/chunks/fogFragment-7C9DmW8b.esm.js.map +1 -0
- package/dist/chunks/fogFragment-B9F5aJAx.esm.min.js +2 -0
- package/dist/chunks/fogFragment-B9F5aJAx.esm.min.js.map +1 -0
- package/dist/chunks/fogFragment-BnQp0Spj.esm.js +101 -0
- package/dist/chunks/fogFragment-BnQp0Spj.esm.js.map +1 -0
- package/dist/chunks/fogFragment-Rqu9S2gV.esm.min.js +2 -0
- package/dist/chunks/fogFragment-Rqu9S2gV.esm.min.js.map +1 -0
- package/dist/chunks/fresnelFunction--bGC1bW6.esm.min.js +2 -0
- package/dist/chunks/fresnelFunction--bGC1bW6.esm.min.js.map +1 -0
- package/dist/chunks/fresnelFunction-YurpC61U.esm.js +12 -0
- package/dist/chunks/fresnelFunction-YurpC61U.esm.js.map +1 -0
- package/dist/chunks/glTFLoader--eb4oZZe.esm.min.js +2 -0
- package/dist/chunks/glTFLoader--eb4oZZe.esm.min.js.map +1 -0
- package/dist/chunks/glTFLoader-DDABr3tc.esm.js +7595 -0
- package/dist/chunks/glTFLoader-DDABr3tc.esm.js.map +1 -0
- package/dist/chunks/glTFLoaderAnimation-C_jvKQZc.esm.min.js +2 -0
- package/dist/chunks/glTFLoaderAnimation-C_jvKQZc.esm.min.js.map +1 -0
- package/dist/chunks/glTFLoaderAnimation-Ce1T-HK4.esm.js +77 -0
- package/dist/chunks/glTFLoaderAnimation-Ce1T-HK4.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-BVJDExzF.esm.js +35 -0
- package/dist/chunks/harmonicsFunctions-BVJDExzF.esm.js.map +1 -0
- package/dist/chunks/harmonicsFunctions-Cpf19SYh.esm.min.js +2 -0
- package/dist/chunks/harmonicsFunctions-Cpf19SYh.esm.min.js.map +1 -0
- package/dist/chunks/harmonicsFunctions-EwGi7mvH.esm.js +34 -0
- package/dist/chunks/harmonicsFunctions-EwGi7mvH.esm.js.map +1 -0
- package/dist/chunks/harmonicsFunctions-sCDYMnE7.esm.min.js +2 -0
- package/dist/chunks/harmonicsFunctions-sCDYMnE7.esm.min.js.map +1 -0
- package/dist/chunks/hdrTextureLoader-CHt5g_Ro.esm.js +252 -0
- package/dist/chunks/hdrTextureLoader-CHt5g_Ro.esm.js.map +1 -0
- package/dist/chunks/hdrTextureLoader-CcljcQGM.esm.min.js +2 -0
- package/dist/chunks/hdrTextureLoader-CcljcQGM.esm.min.js.map +1 -0
- package/dist/chunks/helperFunctions-BLQP90J_.esm.min.js +2 -0
- package/dist/chunks/helperFunctions-BLQP90J_.esm.min.js.map +1 -0
- package/dist/chunks/helperFunctions-BeWEDUrw.esm.js +108 -0
- package/dist/chunks/helperFunctions-BeWEDUrw.esm.js.map +1 -0
- package/dist/chunks/helperFunctions-CkmR3WUA.esm.min.js +2 -0
- package/dist/chunks/helperFunctions-CkmR3WUA.esm.min.js.map +1 -0
- package/dist/chunks/helperFunctions-Vnio5Zy4.esm.js +80 -0
- package/dist/chunks/helperFunctions-Vnio5Zy4.esm.js.map +1 -0
- package/dist/chunks/index-CVMH5-nD.esm.js +74148 -0
- package/dist/chunks/index-CVMH5-nD.esm.js.map +1 -0
- package/dist/chunks/index-bkYfr-SD.esm.min.js +57 -0
- package/dist/chunks/index-bkYfr-SD.esm.min.js.map +1 -0
- package/dist/chunks/ktxTextureLoader-CmYn3AjU.esm.min.js +2 -0
- package/dist/chunks/ktxTextureLoader-CmYn3AjU.esm.min.js.map +1 -0
- package/dist/chunks/ktxTextureLoader-Ct4ygDpl.esm.js +814 -0
- package/dist/chunks/ktxTextureLoader-Ct4ygDpl.esm.js.map +1 -0
- package/dist/chunks/logDepthDeclaration-CCVJgklB.esm.js +11 -0
- package/dist/chunks/logDepthDeclaration-CCVJgklB.esm.js.map +1 -0
- package/dist/chunks/logDepthDeclaration-CmefuysH.esm.min.js +2 -0
- package/dist/chunks/logDepthDeclaration-CmefuysH.esm.min.js.map +1 -0
- package/dist/chunks/logDepthDeclaration-kbT8jgiS.esm.js +35 -0
- package/dist/chunks/logDepthDeclaration-kbT8jgiS.esm.js.map +1 -0
- package/dist/chunks/logDepthDeclaration-utQE6RQm.esm.min.js +2 -0
- package/dist/chunks/logDepthDeclaration-utQE6RQm.esm.min.js.map +1 -0
- package/dist/chunks/logDepthVertex-BwAXuZcJ.esm.js +77 -0
- package/dist/chunks/logDepthVertex-BwAXuZcJ.esm.js.map +1 -0
- package/dist/chunks/logDepthVertex-CIU5ihJc.esm.min.js +2 -0
- package/dist/chunks/logDepthVertex-CIU5ihJc.esm.min.js.map +1 -0
- package/dist/chunks/logDepthVertex-DBdj3JQF.esm.js +77 -0
- package/dist/chunks/logDepthVertex-DBdj3JQF.esm.js.map +1 -0
- package/dist/chunks/logDepthVertex-L5SVOP7a.esm.min.js +2 -0
- package/dist/chunks/logDepthVertex-L5SVOP7a.esm.min.js.map +1 -0
- package/dist/chunks/mainUVVaryingDeclaration-BjN3rZcV.esm.js +11 -0
- package/dist/chunks/mainUVVaryingDeclaration-BjN3rZcV.esm.js.map +1 -0
- package/dist/chunks/mainUVVaryingDeclaration-CS8fR4k6.esm.min.js +2 -0
- package/dist/chunks/mainUVVaryingDeclaration-CS8fR4k6.esm.min.js.map +1 -0
- package/dist/chunks/mainUVVaryingDeclaration-F_ldv7kC.esm.min.js +2 -0
- package/dist/chunks/mainUVVaryingDeclaration-F_ldv7kC.esm.min.js.map +1 -0
- package/dist/chunks/mainUVVaryingDeclaration-JJ1eiwN7.esm.js +11 -0
- package/dist/chunks/mainUVVaryingDeclaration-JJ1eiwN7.esm.js.map +1 -0
- package/dist/chunks/meshUboDeclaration-Cqhjf76p.esm.min.js +2 -0
- package/dist/chunks/meshUboDeclaration-Cqhjf76p.esm.min.js.map +1 -0
- package/dist/chunks/meshUboDeclaration-TC3Qb9qA.esm.js +24 -0
- package/dist/chunks/meshUboDeclaration-TC3Qb9qA.esm.js.map +1 -0
- package/dist/chunks/objFileLoader-DUbUzdM7.esm.js +1338 -0
- package/dist/chunks/objFileLoader-DUbUzdM7.esm.js.map +1 -0
- package/dist/chunks/objFileLoader-cuX0R9Ll.esm.min.js +2 -0
- package/dist/chunks/objFileLoader-cuX0R9Ll.esm.min.js.map +1 -0
- package/dist/chunks/oitFragment-BuvtdYuN.esm.min.js +2 -0
- package/dist/chunks/oitFragment-BuvtdYuN.esm.min.js.map +1 -0
- package/dist/chunks/oitFragment-CsHXm-hs.esm.min.js +2 -0
- package/dist/chunks/oitFragment-CsHXm-hs.esm.min.js.map +1 -0
- package/dist/chunks/oitFragment-Jsj4VCRm.esm.js +1051 -0
- package/dist/chunks/oitFragment-Jsj4VCRm.esm.js.map +1 -0
- package/dist/chunks/oitFragment-bE1j7vLE.esm.js +1210 -0
- package/dist/chunks/oitFragment-bE1j7vLE.esm.js.map +1 -0
- package/dist/chunks/pass.fragment-7Tm4v4I5.esm.min.js +2 -0
- package/dist/chunks/pass.fragment-7Tm4v4I5.esm.min.js.map +1 -0
- package/dist/chunks/pass.fragment-Bim4VPEO.esm.js +15 -0
- package/dist/chunks/pass.fragment-Bim4VPEO.esm.js.map +1 -0
- package/dist/chunks/pass.fragment-CYz9acmH.esm.js +15 -0
- package/dist/chunks/pass.fragment-CYz9acmH.esm.js.map +1 -0
- package/dist/chunks/pass.fragment-CzPpw3iK.esm.min.js +2 -0
- package/dist/chunks/pass.fragment-CzPpw3iK.esm.min.js.map +1 -0
- package/dist/chunks/pbr.fragment-C0EyEtjU.esm.js +3218 -0
- package/dist/chunks/pbr.fragment-C0EyEtjU.esm.js.map +1 -0
- package/dist/chunks/pbr.fragment-D7KGHlr3.esm.min.js +2 -0
- package/dist/chunks/pbr.fragment-D7KGHlr3.esm.min.js.map +1 -0
- package/dist/chunks/pbr.fragment-DRo704mz.esm.js +3164 -0
- package/dist/chunks/pbr.fragment-DRo704mz.esm.js.map +1 -0
- package/dist/chunks/pbr.fragment-Dw30RsZq.esm.min.js +2 -0
- package/dist/chunks/pbr.fragment-Dw30RsZq.esm.min.js.map +1 -0
- package/dist/chunks/pbr.vertex-BFjD6j1a.esm.min.js +2 -0
- package/dist/chunks/pbr.vertex-BFjD6j1a.esm.min.js.map +1 -0
- package/dist/chunks/pbr.vertex-BNL0Ih3S.esm.js +214 -0
- package/dist/chunks/pbr.vertex-BNL0Ih3S.esm.js.map +1 -0
- package/dist/chunks/pbr.vertex-DCYsZj4K.esm.js +338 -0
- package/dist/chunks/pbr.vertex-DCYsZj4K.esm.js.map +1 -0
- package/dist/chunks/pbr.vertex-DQWB7B3n.esm.min.js +2 -0
- package/dist/chunks/pbr.vertex-DQWB7B3n.esm.min.js.map +1 -0
- package/dist/chunks/postprocess.vertex-BKTxzIr3.esm.js +20 -0
- package/dist/chunks/postprocess.vertex-BKTxzIr3.esm.js.map +1 -0
- package/dist/chunks/postprocess.vertex-BLM-tBsI.esm.min.js +2 -0
- package/dist/chunks/postprocess.vertex-BLM-tBsI.esm.min.js.map +1 -0
- package/dist/chunks/rawTexture-B4sxPzau.esm.js +191 -0
- package/dist/chunks/rawTexture-B4sxPzau.esm.js.map +1 -0
- package/dist/chunks/rawTexture-C8eTjsTL.esm.min.js +2 -0
- package/dist/chunks/rawTexture-C8eTjsTL.esm.min.js.map +1 -0
- package/dist/chunks/rgbdDecode.fragment-B1JRUB2c.esm.js +17 -0
- package/dist/chunks/rgbdDecode.fragment-B1JRUB2c.esm.js.map +1 -0
- package/dist/chunks/rgbdDecode.fragment-BQDhe3Gm.esm.min.js +2 -0
- package/dist/chunks/rgbdDecode.fragment-BQDhe3Gm.esm.min.js.map +1 -0
- package/dist/chunks/rgbdDecode.fragment-Bqwzk3c0.esm.js +17 -0
- package/dist/chunks/rgbdDecode.fragment-Bqwzk3c0.esm.js.map +1 -0
- package/dist/chunks/rgbdDecode.fragment-De929itq.esm.min.js +2 -0
- package/dist/chunks/rgbdDecode.fragment-De929itq.esm.min.js.map +1 -0
- package/dist/chunks/rgbdEncode.fragment-B2mbOgZ1.esm.js +17 -0
- package/dist/chunks/rgbdEncode.fragment-B2mbOgZ1.esm.js.map +1 -0
- package/dist/chunks/rgbdEncode.fragment-BR4bMAPw.esm.min.js +2 -0
- package/dist/chunks/rgbdEncode.fragment-BR4bMAPw.esm.min.js.map +1 -0
- package/dist/chunks/rgbdEncode.fragment-CnnkzvSU.esm.min.js +2 -0
- package/dist/chunks/rgbdEncode.fragment-CnnkzvSU.esm.min.js.map +1 -0
- package/dist/chunks/rgbdEncode.fragment-DdsDf_tZ.esm.js +17 -0
- package/dist/chunks/rgbdEncode.fragment-DdsDf_tZ.esm.js.map +1 -0
- package/dist/chunks/splatFileLoader-ByV2g6RW.esm.js +3947 -0
- package/dist/chunks/splatFileLoader-ByV2g6RW.esm.js.map +1 -0
- package/dist/chunks/splatFileLoader-DZtkydoO.esm.min.js +2 -0
- package/dist/chunks/splatFileLoader-DZtkydoO.esm.min.js.map +1 -0
- package/dist/chunks/standardMaterial-DUti--Yk.esm.js +1805 -0
- package/dist/chunks/standardMaterial-DUti--Yk.esm.js.map +1 -0
- package/dist/chunks/standardMaterial-DxPZ0yEO.esm.min.js +2 -0
- package/dist/chunks/standardMaterial-DxPZ0yEO.esm.min.js.map +1 -0
- package/dist/chunks/stlFileLoader-BddM0ohC.esm.js +238 -0
- package/dist/chunks/stlFileLoader-BddM0ohC.esm.js.map +1 -0
- package/dist/chunks/stlFileLoader-Daj_Ow9k.esm.min.js +2 -0
- package/dist/chunks/stlFileLoader-Daj_Ow9k.esm.min.js.map +1 -0
- package/dist/chunks/tgaTextureLoader-DDmm8z9e.esm.js +349 -0
- package/dist/chunks/tgaTextureLoader-DDmm8z9e.esm.js.map +1 -0
- package/dist/chunks/tgaTextureLoader-NZ1m7gDb.esm.min.js +2 -0
- package/dist/chunks/tgaTextureLoader-NZ1m7gDb.esm.min.js.map +1 -0
- package/dist/chunks/thinEngine-CvGTeAY9.esm.js +3723 -0
- package/dist/chunks/thinEngine-CvGTeAY9.esm.js.map +1 -0
- package/dist/chunks/thinEngine-Czvj0W_2.esm.min.js +2 -0
- package/dist/chunks/thinEngine-Czvj0W_2.esm.min.js.map +1 -0
- package/dist/chunks/thinInstanceMesh-BGeYKYJu.esm.js +314 -0
- package/dist/chunks/thinInstanceMesh-BGeYKYJu.esm.js.map +1 -0
- package/dist/chunks/thinInstanceMesh-Byk1sPWi.esm.min.js +2 -0
- package/dist/chunks/thinInstanceMesh-Byk1sPWi.esm.min.js.map +1 -0
- package/dist/chunks/vertexColorMixing-5MVqrbuQ.esm.js +412 -0
- package/dist/chunks/vertexColorMixing-5MVqrbuQ.esm.js.map +1 -0
- package/dist/chunks/vertexColorMixing-BTHtPksv.esm.min.js +2 -0
- package/dist/chunks/vertexColorMixing-BTHtPksv.esm.min.js.map +1 -0
- package/dist/chunks/vertexColorMixing-C-JxO1th.esm.js +522 -0
- package/dist/chunks/vertexColorMixing-C-JxO1th.esm.js.map +1 -0
- package/dist/chunks/vertexColorMixing-DpW1_vsz.esm.min.js +2 -0
- package/dist/chunks/vertexColorMixing-DpW1_vsz.esm.min.js.map +1 -0
- package/dist/chunks/webgpuEngine-Dz_96swZ.esm.min.js +2 -0
- package/dist/chunks/webgpuEngine-Dz_96swZ.esm.min.js.map +1 -0
- package/dist/chunks/webgpuEngine-iwYQqIrX.esm.js +11465 -0
- package/dist/chunks/webgpuEngine-iwYQqIrX.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 +534 -0
- package/lib/index.js +1939 -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 -193
- 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 -351
- 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 -202
- 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 -22
- package/templating/plugins/hdButtonPlugin.js.map +0 -1
- package/templating/plugins/printButton.d.ts +0 -9
- package/templating/plugins/printButton.js +0 -41
- 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
package/readme.md
CHANGED
|
@@ -1,40 +1,164 @@
|
|
|
1
1
|
# BabylonJS Viewer
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
Online docs: https://doc.babylonjs.com/features/featuresDeepDive/babylonViewer/viewerExamples
|
|
3
|
+
The Babylon Viewer aims to simplify a specific but common Babylon.js use case: loading, viewing, and interacting with a 3D model.
|
|
5
4
|
|
|
6
|
-
|
|
5
|
+

|
|
6
|
+
|
|
7
|
+
`Viewer` is a lower level JavaScript class that implements the bulk of the features, and can be used in any babylonjs context (in the browser using pure HTML, in the browser using React, or even in Babylon Native).
|
|
8
|
+
|
|
9
|
+
`HTML3DElement` is a custom HTML element that wraps the `Viewer` class and provides a declarative way to use it specifically in HTML via the custom element `<babylon-viewer>`.
|
|
10
|
+
|
|
11
|
+
## Using with a Bundler
|
|
7
12
|
|
|
8
13
|
Install the package using npm:
|
|
9
14
|
|
|
10
15
|
```bash
|
|
11
|
-
npm install @babylonjs/viewer --save
|
|
16
|
+
npm install @babylonjs/viewer@preview --save
|
|
12
17
|
```
|
|
13
18
|
|
|
14
|
-
|
|
19
|
+
If you want to use the lower level `Viewer` directly in JavaScript code, you can import it and use it like this:
|
|
15
20
|
|
|
16
21
|
```bash
|
|
17
|
-
import
|
|
22
|
+
import { Engine } from '@babylonjs/core';
|
|
23
|
+
import { Viewer } from '@babylonjs/viewer';
|
|
24
|
+
|
|
25
|
+
const engine = new Engine(canvas);
|
|
26
|
+
const viewer = new Viewer(engine);
|
|
27
|
+
viewer.loadModel("https://playground.babylonjs.com/scenes/BoomBox.glb");
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
To use the higher level `HTML3DElement` you can import the `@babylonjs/viewer` module and then reference the `<babylon-viewer>` element in your HTML like this:
|
|
31
|
+
|
|
32
|
+
```html
|
|
33
|
+
<html lang="en">
|
|
34
|
+
<body>
|
|
35
|
+
<!-- If you already import @babylonjs/viewer somewhere in your JavaScript, you don't need this script import. -->
|
|
36
|
+
<script type="module">
|
|
37
|
+
import '@babylonjs/viewer';
|
|
38
|
+
</script>
|
|
39
|
+
<babylon-viewer source="https://playground.babylonjs.com/scenes/BoomBox.glb"></babylon-viewer>
|
|
40
|
+
</body>
|
|
41
|
+
</html>
|
|
18
42
|
```
|
|
19
43
|
|
|
20
|
-
|
|
44
|
+
## Using Directly in a Browser
|
|
45
|
+
|
|
46
|
+
If you want to use the viewer directly in a browser without any build tools, you can use the self-contained ESM bundle (which includes all dependencies) through a CDN such as [UNPKG](https://unpkg.com/) or [jsDelivr](https://www.jsdelivr.com/) like this:
|
|
21
47
|
|
|
22
48
|
```html
|
|
23
|
-
<
|
|
49
|
+
<html lang="en">
|
|
50
|
+
<body>
|
|
51
|
+
<script type="module" src="https://unpkg.com/@babylonjs/viewer@preview/dist/babylon-viewer.esm.min.js"></script>
|
|
52
|
+
<babylon-viewer source="https://playground.babylonjs.com/scenes/BoomBox.glb"></babylon-viewer>
|
|
53
|
+
</body>
|
|
54
|
+
</html>
|
|
24
55
|
```
|
|
25
56
|
|
|
26
|
-
|
|
57
|
+
See the [codesandbox.io](https://codesandbox.io/p/sandbox/babylon-viewer-ws82xr) example for a live demo.
|
|
58
|
+
|
|
59
|
+
## Features
|
|
60
|
+
|
|
61
|
+
The Babylon Viewer is under active development and new features are continuously being added. You can request a specific feature in the [Babylon Forum](https://forum.babylonjs.com/c/features/11).
|
|
62
|
+
|
|
63
|
+
**⚠️ NOTE**: While the Babylon Viewer is production ready in terms of performance, reliability, etc., the `@preview` tag and `-alpha` suffix are used to indicate that the API is still subject to change.
|
|
27
64
|
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
65
|
+
### Formats, Capabilities, and Dynamic Imports
|
|
66
|
+
|
|
67
|
+
The Babylon Viewer supports all the formats that Babylon.js supports, as well as many capabilities such as animation and audio. However, the Babylon Viewer (with support from various Babylon.js libraries) uses dynamic imports to defer loading formats and capabilities until a model is loaded of a specific type or that uses a specific capability. This reduces the download burden on the end user and reduces the time to get something on the screen.
|
|
68
|
+
|
|
69
|
+
### Advanced Usage and Customization
|
|
70
|
+
|
|
71
|
+
While the Babylon Viewer is specifically designed to make viewing a single 3D model easy, it also exposes the underlying Babylon.js components so that you can customize it for your specific scenario and needs.
|
|
72
|
+
|
|
73
|
+
The `HTML3DElement` exposes a `viewerDetails` property and a `viewerready` event that you can use to access the underlying `Viewer` object, the `Scene` object, and the loaded model (`AssetContainer`).
|
|
74
|
+
|
|
75
|
+
### WebGL and WebGPU
|
|
76
|
+
|
|
77
|
+
`HTML3DElement` will choose an underlying engine by default, and how it chooses will change over time. You can use the `engine` attribute to specify a specific engine, such as `WebGL` or `WebGPU`.
|
|
78
|
+
|
|
79
|
+
### Lighting / Environment
|
|
80
|
+
|
|
81
|
+
A Babylon.js environment file can be applied to the a `<babylon-viewer>` through the `environment` attribute. For example:
|
|
82
|
+
|
|
83
|
+
```html
|
|
84
|
+
<babylon-viewer
|
|
85
|
+
source="https://playground.babylonjs.com/scenes/BoomBox.glb"
|
|
86
|
+
environment="https://unpkg.com/@babylonjs/viewer@preview/assets/photoStudio.env">
|
|
87
|
+
</babylon-viewer>
|
|
40
88
|
```
|
|
89
|
+
|
|
90
|
+
The environment is automatically used as the skybox, and also used for image-based lighting (IBL) when a model is loaded that uses PBR materials (such as glTF), unless the model provides its own lights. When IBL is not used and the model does not provide its own lights, default lighting is applied using Babylon.js lights.
|
|
91
|
+
|
|
92
|
+
### Styling
|
|
93
|
+
|
|
94
|
+
`HTML3DElement` includes default UI for various capabilities, such as animation. You can customize the UI in a number of ways:
|
|
95
|
+
|
|
96
|
+
#### CSS Variables
|
|
97
|
+
|
|
98
|
+
Various CSS variables can be set to customize the appearance of the viewer. These variables are applied to the `babylon-viewer` element and are inherited by all UI elements within the viewer.
|
|
99
|
+
|
|
100
|
+
| Variable | Description |
|
|
101
|
+
| ----------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
102
|
+
| `--ui-foreground-color` | The default color for the foreground of all UI elements. |
|
|
103
|
+
| `--ui-background-hue` | The default hue for the background of all UI elements. |
|
|
104
|
+
| `--ui-background-saturation` | The default saturation for the background of all UI elements. |
|
|
105
|
+
| `--ui-background-lightness` | The default lightness for the background of all UI elements. |
|
|
106
|
+
| `--ui-background-opacity` | The default opacity for the background of all UI elements. |
|
|
107
|
+
| `--ui-background-color` | The default color for the background of all UI elements (derived from the background hue, saturation, lightness, and opacity). |
|
|
108
|
+
| `--ui-background-color-hover` | The default color for the background of all UI elements when hovered (derived from the background hue, saturation, lightness, and opacity). |
|
|
109
|
+
|
|
110
|
+
As an example, if you wanted UI elements with a moderately saturated bluish background, you could apply the following CSS variables on the `babylon-viewer` element:
|
|
111
|
+
|
|
112
|
+
```css
|
|
113
|
+
babylon-viewer {
|
|
114
|
+
--ui-background-hue: 200;
|
|
115
|
+
--ui-background-saturation: 70%;
|
|
116
|
+
}
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+

|
|
120
|
+
|
|
121
|
+
#### Parts
|
|
122
|
+
|
|
123
|
+
Various parts of the viewer can be styled using CSS part selectors. The following parts are available:
|
|
124
|
+
|
|
125
|
+
| Part Name | Description |
|
|
126
|
+
| ---------- | ---------------------------------------- |
|
|
127
|
+
| `tool-bar` | The toolbar used for animation controls. |
|
|
128
|
+
|
|
129
|
+
As an example, if you wanted to style the toolbar to move it to the top and remove the rounded corners and margin, you could apply the following CSS on the `babylon-viewer` element:
|
|
130
|
+
|
|
131
|
+
```css
|
|
132
|
+
babylon-viewer::part(tool-bar) {
|
|
133
|
+
border-radius: 0;
|
|
134
|
+
left: 0;
|
|
135
|
+
right: 0;
|
|
136
|
+
bottom: unset;
|
|
137
|
+
top: 0;
|
|
138
|
+
width: unset;
|
|
139
|
+
max-width: unset;
|
|
140
|
+
transform: unset;
|
|
141
|
+
}
|
|
142
|
+
```
|
|
143
|
+
|
|
144
|
+

|
|
145
|
+
|
|
146
|
+
#### Slots
|
|
147
|
+
|
|
148
|
+
Various slots are defined that allow entire sections of the UI to be replaced. The following slots are available:
|
|
149
|
+
|
|
150
|
+
| Slot Name | Description |
|
|
151
|
+
| ---------- | ---------------------------------------- |
|
|
152
|
+
| `tool-bar` | The toolbar used for animation controls. |
|
|
153
|
+
|
|
154
|
+
As an example, if you wanted to replace the toolbar with a custom button that just toggles animation play/pause state, you could do so with the following:
|
|
155
|
+
|
|
156
|
+
```html
|
|
157
|
+
<babylon-viewer source="https://raw.githubusercontent.com/BabylonJS/Assets/master/meshes/ufo.glb">
|
|
158
|
+
<div slot="tool-bar" style="position: absolute; top: 12px; left: 12px; width: 100px; height: 36px">
|
|
159
|
+
<button onclick="document.querySelector('babylon-viewer').toggleAnimation()">Toggle Animation</button>
|
|
160
|
+
</div>
|
|
161
|
+
</babylon-viewer>
|
|
162
|
+
```
|
|
163
|
+
|
|
164
|
+

|
|
@@ -1,107 +0,0 @@
|
|
|
1
|
-
import type { IEnvironmentMapConfiguration } from "./interfaces/environmentMapConfiguration";
|
|
2
|
-
import type { EngineOptions } from "@babylonjs/core/Engines/thinEngine.js";
|
|
3
|
-
import type { IObserversConfiguration } from "./interfaces/observersConfiguration";
|
|
4
|
-
import type { IModelConfiguration } from "./interfaces/modelConfiguration";
|
|
5
|
-
import type { ISceneConfiguration } from "./interfaces/sceneConfiguration";
|
|
6
|
-
import type { ISceneOptimizerConfiguration } from "./interfaces/sceneOptimizerConfiguration";
|
|
7
|
-
import type { ICameraConfiguration } from "./interfaces/cameraConfiguration";
|
|
8
|
-
import type { ISkyboxConfiguration } from "./interfaces/skyboxConfiguration";
|
|
9
|
-
import type { IGroundConfiguration } from "./interfaces/groundConfiguration";
|
|
10
|
-
import type { ILightConfiguration } from "./interfaces/lightConfiguration";
|
|
11
|
-
import type { ITemplateConfiguration } from "./interfaces/templateConfiguration";
|
|
12
|
-
import type { IVRConfiguration } from "./interfaces/vrConfiguration";
|
|
13
|
-
import type { IDefaultRenderingPipelineConfiguration } from "./interfaces/defaultRenderingPipelineConfiguration";
|
|
14
|
-
export declare function getConfigurationKey(key: string, configObject: any): any;
|
|
15
|
-
export interface ViewerConfiguration {
|
|
16
|
-
version?: string;
|
|
17
|
-
extends?: string;
|
|
18
|
-
pageUrl?: string;
|
|
19
|
-
configuration?: string | {
|
|
20
|
-
url?: string;
|
|
21
|
-
payload?: any;
|
|
22
|
-
mapper?: string;
|
|
23
|
-
};
|
|
24
|
-
observers?: IObserversConfiguration;
|
|
25
|
-
canvasElement?: string;
|
|
26
|
-
model?: IModelConfiguration | string;
|
|
27
|
-
scene?: ISceneConfiguration;
|
|
28
|
-
optimizer?: ISceneOptimizerConfiguration | boolean;
|
|
29
|
-
camera?: ICameraConfiguration;
|
|
30
|
-
skybox?: boolean | ISkyboxConfiguration;
|
|
31
|
-
ground?: boolean | IGroundConfiguration;
|
|
32
|
-
lights?: {
|
|
33
|
-
[name: string]: number | boolean | ILightConfiguration;
|
|
34
|
-
};
|
|
35
|
-
engine?: {
|
|
36
|
-
renderInBackground?: boolean;
|
|
37
|
-
antialiasing?: boolean;
|
|
38
|
-
disableResize?: boolean;
|
|
39
|
-
engineOptions?: EngineOptions;
|
|
40
|
-
adaptiveQuality?: boolean;
|
|
41
|
-
hdEnabled?: boolean;
|
|
42
|
-
};
|
|
43
|
-
templates?: {
|
|
44
|
-
main: ITemplateConfiguration;
|
|
45
|
-
[key: string]: ITemplateConfiguration;
|
|
46
|
-
};
|
|
47
|
-
customShaders?: {
|
|
48
|
-
shaders?: {
|
|
49
|
-
[key: string]: string;
|
|
50
|
-
};
|
|
51
|
-
includes?: {
|
|
52
|
-
[key: string]: string;
|
|
53
|
-
};
|
|
54
|
-
};
|
|
55
|
-
loaderPlugins?: {
|
|
56
|
-
extendedMaterial?: boolean;
|
|
57
|
-
msftLod?: boolean;
|
|
58
|
-
telemetry?: boolean;
|
|
59
|
-
minecraft?: boolean;
|
|
60
|
-
[propName: string]: boolean | undefined;
|
|
61
|
-
};
|
|
62
|
-
environmentMap?: IEnvironmentMapConfiguration;
|
|
63
|
-
vr?: IVRConfiguration;
|
|
64
|
-
"3dCommerceCertified"?: boolean;
|
|
65
|
-
lab?: {
|
|
66
|
-
flashlight?: boolean | {
|
|
67
|
-
exponent?: number;
|
|
68
|
-
angle?: number;
|
|
69
|
-
intensity?: number;
|
|
70
|
-
diffuse?: {
|
|
71
|
-
r: number;
|
|
72
|
-
g: number;
|
|
73
|
-
b: number;
|
|
74
|
-
};
|
|
75
|
-
specular?: {
|
|
76
|
-
r: number;
|
|
77
|
-
g: number;
|
|
78
|
-
b: number;
|
|
79
|
-
};
|
|
80
|
-
};
|
|
81
|
-
hideLoadingDelay?: number;
|
|
82
|
-
/** @deprecated */
|
|
83
|
-
assetsRootURL?: string;
|
|
84
|
-
environmentMainColor?: {
|
|
85
|
-
r: number;
|
|
86
|
-
g: number;
|
|
87
|
-
b: number;
|
|
88
|
-
};
|
|
89
|
-
/** @deprecated */
|
|
90
|
-
environmentMap?: {
|
|
91
|
-
/**
|
|
92
|
-
* Environment map texture path in relative to the asset folder.
|
|
93
|
-
*/
|
|
94
|
-
texture: string;
|
|
95
|
-
/**
|
|
96
|
-
* Default rotation to apply to the environment map.
|
|
97
|
-
*/
|
|
98
|
-
rotationY: number;
|
|
99
|
-
/**
|
|
100
|
-
* Tint level of the main color on the environment map.
|
|
101
|
-
*/
|
|
102
|
-
tintLevel: number;
|
|
103
|
-
};
|
|
104
|
-
defaultRenderingPipelines?: boolean | IDefaultRenderingPipelineConfiguration;
|
|
105
|
-
globalLightRotation?: number;
|
|
106
|
-
};
|
|
107
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
export function getConfigurationKey(key, configObject) {
|
|
2
|
-
var splits = key.split(".");
|
|
3
|
-
if (splits.length === 0 || !configObject) {
|
|
4
|
-
return;
|
|
5
|
-
}
|
|
6
|
-
else if (splits.length === 1) {
|
|
7
|
-
if (configObject[key] !== undefined) {
|
|
8
|
-
return configObject[key];
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
else {
|
|
12
|
-
var firstKey = splits.shift();
|
|
13
|
-
return getConfigurationKey(splits.join("."), configObject[firstKey]);
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
//# sourceMappingURL=configuration.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"configuration.js","sourceRoot":"","sources":["../../../../tools/viewer/src/configuration/configuration.ts"],"names":[],"mappings":"AAeA,MAAM,UAAU,mBAAmB,CAAC,GAAW,EAAE,YAAiB;IAC9D,IAAM,MAAM,GAAG,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;IAE9B,IAAI,MAAM,CAAC,MAAM,KAAK,CAAC,IAAI,CAAC,YAAY,EAAE,CAAC;QACvC,OAAO;IACX,CAAC;SAAM,IAAI,MAAM,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QAC7B,IAAI,YAAY,CAAC,GAAG,CAAC,KAAK,SAAS,EAAE,CAAC;YAClC,OAAO,YAAY,CAAC,GAAG,CAAC,CAAC;QAC7B,CAAC;IACL,CAAC;SAAM,CAAC;QACJ,IAAM,QAAQ,GAAG,MAAM,CAAC,KAAK,EAAE,CAAC;QAChC,OAAO,mBAAmB,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,YAAY,CAAC,QAAS,CAAC,CAAC,CAAC;IAC1E,CAAC;AACL,CAAC","sourcesContent":["/* eslint-disable @typescript-eslint/naming-convention */\r\nimport type { IEnvironmentMapConfiguration } from \"./interfaces/environmentMapConfiguration\";\r\nimport type { EngineOptions } from \"core/Engines/thinEngine\";\r\nimport type { IObserversConfiguration } from \"./interfaces/observersConfiguration\";\r\nimport type { IModelConfiguration } from \"./interfaces/modelConfiguration\";\r\nimport type { ISceneConfiguration } from \"./interfaces/sceneConfiguration\";\r\nimport type { ISceneOptimizerConfiguration } from \"./interfaces/sceneOptimizerConfiguration\";\r\nimport type { ICameraConfiguration } from \"./interfaces/cameraConfiguration\";\r\nimport type { ISkyboxConfiguration } from \"./interfaces/skyboxConfiguration\";\r\nimport type { IGroundConfiguration } from \"./interfaces/groundConfiguration\";\r\nimport type { ILightConfiguration } from \"./interfaces/lightConfiguration\";\r\nimport type { ITemplateConfiguration } from \"./interfaces/templateConfiguration\";\r\nimport type { IVRConfiguration } from \"./interfaces/vrConfiguration\";\r\nimport type { IDefaultRenderingPipelineConfiguration } from \"./interfaces/defaultRenderingPipelineConfiguration\";\r\n\r\nexport function getConfigurationKey(key: string, configObject: any): any {\r\n const splits = key.split(\".\");\r\n\r\n if (splits.length === 0 || !configObject) {\r\n return;\r\n } else if (splits.length === 1) {\r\n if (configObject[key] !== undefined) {\r\n return configObject[key];\r\n }\r\n } else {\r\n const firstKey = splits.shift();\r\n return getConfigurationKey(splits.join(\".\"), configObject[firstKey!]);\r\n }\r\n}\r\n\r\nexport interface ViewerConfiguration {\r\n // configuration version\r\n version?: string;\r\n extends?: string; // is this configuration extending an existing configuration?\r\n\r\n pageUrl?: string; // will be used for sharing and other fun stuff. This is the page showing the model (not the model's url!)\r\n\r\n configuration?:\r\n | string\r\n | {\r\n url?: string;\r\n payload?: any;\r\n mapper?: string; // json (default), html, yaml, xml, etc'. if not provided, file extension will be used.\r\n };\r\n\r\n // names of functions in the window context.\r\n observers?: IObserversConfiguration;\r\n\r\n canvasElement?: string; // if there is a need to override the standard implementation - ID of HTMLCanvasElement\r\n\r\n model?: IModelConfiguration | string;\r\n\r\n scene?: ISceneConfiguration;\r\n optimizer?: ISceneOptimizerConfiguration | boolean;\r\n // at the moment, support only a single camera.\r\n camera?: ICameraConfiguration;\r\n skybox?: boolean | ISkyboxConfiguration;\r\n\r\n ground?: boolean | IGroundConfiguration;\r\n lights?: {\r\n //globalRotation: number,\r\n [name: string]: number | boolean | ILightConfiguration;\r\n };\r\n // engine configuration. optional!\r\n engine?: {\r\n renderInBackground?: boolean;\r\n antialiasing?: boolean;\r\n disableResize?: boolean;\r\n engineOptions?: EngineOptions;\r\n adaptiveQuality?: boolean;\r\n hdEnabled?: boolean;\r\n };\r\n //templateStructure?: ITemplateStructure,\r\n templates?: {\r\n main: ITemplateConfiguration;\r\n [key: string]: ITemplateConfiguration;\r\n };\r\n\r\n customShaders?: {\r\n shaders?: {\r\n [key: string]: string;\r\n };\r\n includes?: {\r\n [key: string]: string;\r\n };\r\n };\r\n\r\n loaderPlugins?: {\r\n extendedMaterial?: boolean;\r\n msftLod?: boolean;\r\n telemetry?: boolean;\r\n minecraft?: boolean;\r\n\r\n [propName: string]: boolean | undefined;\r\n };\r\n\r\n environmentMap?: IEnvironmentMapConfiguration;\r\n\r\n vr?: IVRConfiguration;\r\n \"3dCommerceCertified\"?: boolean;\r\n\r\n // features that are being tested.\r\n // those features' syntax will change and move out!\r\n // Don't use in production (or be ready to make the changes :) )\r\n lab?: {\r\n flashlight?:\r\n | boolean\r\n | {\r\n exponent?: number;\r\n angle?: number;\r\n intensity?: number;\r\n diffuse?: { r: number; g: number; b: number };\r\n specular?: { r: number; g: number; b: number };\r\n };\r\n hideLoadingDelay?: number;\r\n /** @deprecated */\r\n assetsRootURL?: string;\r\n environmentMainColor?: { r: number; g: number; b: number };\r\n /** @deprecated */\r\n environmentMap?: {\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 defaultRenderingPipelines?: boolean | IDefaultRenderingPipelineConfiguration;\r\n globalLightRotation?: number;\r\n };\r\n}\r\n"]}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { ViewerConfiguration } from "./configuration";
|
|
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 declare function processConfigurationCompatibility(configuration: ViewerConfiguration): void;
|
|
@@ -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,CAAC;QACvB,+CAA+C;QAC/C,IAAI,aAAa,CAAC,MAAM,CAAC,QAAQ,KAAK,SAAS,EAAE,CAAC;YAC9C,cAAc,CAAC,aAAa,EAAE,6CAA6C,EAAE,aAAa,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;QAChH,CAAC;QAED,+CAA+C;QAC/C,IAAI,aAAa,CAAC,MAAM,CAAC,QAAQ,KAAK,SAAS,EAAE,CAAC;YAC9C,cAAc,CAAC,aAAa,EAAE,6CAA6C,EAAE,aAAa,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;QAChH,CAAC;IACL,CAAC;IAED,IAAI,aAAa,CAAC,KAAK,EAAE,CAAC;QACtB,MAAM;QACN,IAAI,aAAa,CAAC,KAAK,CAAC,IAAI,EAAE,CAAC;YAC3B,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,CAAC;gBAC9B,cAAc,CAAC,aAAa,EAAE,8CAA8C,EAAE,IAAI,CAAC,CAAC;YACxF,CAAC;QACL,CAAC;QAED,IAAI,aAAa,CAAC,KAAK,CAAC,SAAS,EAAE,CAAC;YAChC,cAAc,CAAC,aAAa,EAAE,0BAA0B,EAAE,aAAa,CAAC,KAAK,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;QACnG,CAAC;IACL,CAAC;IAED,IAAI,aAAa,CAAC,KAAK,IAAI,OAAO,aAAa,CAAC,KAAK,KAAK,QAAQ,EAAE,CAAC;QACjE,6BAA6B;QAC7B,IAAU,aAAa,CAAC,KAAM,CAAC,WAAW,KAAK,SAAS,IAAI,aAAa,CAAC,KAAK,CAAC,UAAU,KAAK,SAAS,EAAE,CAAC;YACvG,aAAa,CAAC,KAAK,CAAC,UAAU,GAAS,aAAa,CAAC,KAAM,CAAC,WAAW,CAAC;QAC5E,CAAC;IACL,CAAC;IAED,IAAI,aAAa,CAAC,GAAG,EAAE,CAAC;QACpB,IAAI,aAAa,CAAC,GAAG,CAAC,aAAa,EAAE,CAAC;YAClC,cAAc,CAAC,aAAa,EAAE,qBAAqB,EAAE,aAAa,CAAC,GAAG,CAAC,aAAa,EAAE,IAAI,CAAC,CAAC;QAChG,CAAC;QACD,IAAI,aAAa,CAAC,GAAG,CAAC,cAAc,EAAE,CAAC;YACnC,cAAc,CAAC,aAAa,EAAE,gBAAgB,EAAE,aAAa,CAAC,GAAG,CAAC,cAAc,EAAE,IAAI,CAAC,CAAC;QAC5F,CAAC;IACL,CAAC;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,CAAC;QACxB,OAAO;IACX,CAAC;IACD,IAAM,OAAO,GAAG,QAAQ,CAAC,GAAG,EAAE,CAAC;IAC/B,IAAI,CAAC,OAAO,EAAE,CAAC;QACX,OAAO;IACX,CAAC;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,CAAC;QACpD,OAAO;IACX,CAAC;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
|
-
}
|