@woosh/meep-engine 3.70.0 → 3.71.1
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/CHANGELOG.md +15 -0
- package/MIGRATION_2_TO_3.md +1 -1
- package/package.json +1 -1
- package/src/engine/graphics3/VolumetricLightMapSystem.d.ts +1 -1
- package/src/engine/graphics3/VolumetricLightMapSystem.js +261 -261
- package/src/engine/input/devices/PointerDevice.d.ts +12 -1
- package/src/engine/input/devices/PointerDevice.d.ts.map +1 -1
- package/src/engine/input/devices/PointerDevice.js +266 -24
- package/src/engine/input/devices/mouse/MouseButtons.d.ts +1 -2
- package/src/engine/input/devices/mouse/MouseButtons.d.ts.map +1 -1
- package/src/engine/input/devices/mouse/MouseButtons.js +1 -2
- package/src/engine/input/devices/mouse/mouseButtonToEventButtonsMask.d.ts +13 -0
- package/src/engine/input/devices/mouse/mouseButtonToEventButtonsMask.d.ts.map +1 -0
- package/src/engine/input/devices/mouse/mouseButtonToEventButtonsMask.js +24 -0
- package/src/engine/network/orchestrator/ServerAuthoritativeClient.d.ts.map +1 -1
- package/src/engine/network/orchestrator/ServerAuthoritativeClient.js +3 -1
- package/src/engine/physics/fluid/ecs/FluidObstacleSystem.d.ts +4 -4
- package/src/engine/sound/simulation/probe/probe_place_sdf_cover.d.ts +1 -2
- package/src/engine/sound/simulation/probe/probe_place_sdf_cover.d.ts.map +1 -1
- package/src/engine/sound/simulation/probe/probe_place_sdf_cover.js +1 -2
- package/src/shade/renderer/Renderer.d.ts +0 -12
- package/src/shade/renderer/Renderer.d.ts.map +1 -1
- package/src/shade/renderer/Renderer.js +0 -101
- package/src/shade/renderer/ShadeIndirectLightingMode.d.ts +0 -1
- package/src/shade/renderer/ShadeIndirectLightingMode.js +0 -2
- package/src/shade/renderer/atmosphere/ATMOSPHERE_PARAMETERS_STRUCT.d.ts.map +1 -1
- package/src/shade/renderer/atmosphere/ATMOSPHERE_PARAMETERS_STRUCT.js +7 -0
- package/src/shade/renderer/atmosphere/shader_sky_irradiance_lut.d.ts.map +1 -1
- package/src/shade/renderer/atmosphere/shader_sky_irradiance_lut.js +1 -4
- package/src/shade/renderer/fluid/GPUFluidCascade.d.ts +3 -3
- package/src/shade/renderer/fluid/GPUFluidCascadeStack.d.ts +1 -1
- package/src/shade/renderer/fluid/forcing/GPUFluidForcing.d.ts +7 -7
- package/src/shade/renderer/fluid/pressure/GPUFluidPressureSolve.d.ts +1 -1
- package/src/shade/renderer/fluid/query/GPUFluidQueries.d.ts +1 -1
- package/src/shade/renderer/global_illumination/probe_clipmap/GPUProbeClipmapGI.d.ts +1 -1
- package/src/shade/renderer/light/GPULightCollection.d.ts +3 -2
- package/src/shade/renderer/light/GPULightCollection.d.ts.map +1 -1
- package/src/shade/renderer/light/GPULightCollection.js +28 -2
- package/src/shade/renderer/light/environment/shader_project_environment_sh.d.ts +2 -2
- package/src/shade/renderer/light/environment/shader_project_environment_sh.js +2 -2
- package/src/shade/renderer/light/make_sunlight.d.ts +14 -0
- package/src/shade/renderer/light/make_sunlight.d.ts.map +1 -1
- package/src/shade/renderer/light/make_sunlight.js +16 -2
- package/src/shade/renderer/light/model/DirectionalLight.d.ts +9 -0
- package/src/shade/renderer/light/model/DirectionalLight.d.ts.map +1 -1
- package/src/shade/renderer/light/model/DirectionalLight.js +10 -1
- package/src/shade/renderer/light/model/Light.d.ts +4 -2
- package/src/shade/renderer/light/model/Light.d.ts.map +1 -1
- package/src/shade/renderer/light/model/Light.js +4 -2
- package/src/shade/renderer/light/model/io/light_record_directional.d.ts.map +1 -1
- package/src/shade/renderer/light/model/io/light_record_directional.js +3 -0
- package/src/shade/renderer/light/shader_refresh_light_poses.d.ts +16 -1
- package/src/shade/renderer/light/shader_refresh_light_poses.d.ts.map +1 -1
- package/src/shade/renderer/light/shader_refresh_light_poses.js +211 -154
- package/src/shade/renderer/loader/gltf/tiny-gltf.d.ts +1 -1
- package/src/shade/renderer/postprocess/nss/NSS.d.ts +1 -1
- package/src/shade/renderer/postprocess/ssr/SSR.d.ts +2 -5
- package/src/shade/renderer/postprocess/ssr/SSR.d.ts.map +1 -1
- package/src/shade/renderer/postprocess/ssr/SSR.js +1 -13
- package/src/shade/renderer/postprocess/ssr/resolve/chunk_ssr_add_hit_irradiance.d.ts +2 -9
- package/src/shade/renderer/postprocess/ssr/resolve/chunk_ssr_add_hit_irradiance.d.ts.map +1 -1
- package/src/shade/renderer/postprocess/ssr/resolve/chunk_ssr_add_hit_irradiance.js +2 -38
- package/src/shade/renderer/postprocess/ssr/resolve/chunk_ssr_sample_radiance.d.ts +0 -5
- package/src/shade/renderer/postprocess/ssr/resolve/chunk_ssr_sample_radiance.d.ts.map +1 -1
- package/src/shade/renderer/postprocess/ssr/resolve/chunk_ssr_sample_radiance.js +0 -16
- package/src/shade/renderer/postprocess/ssr/resolve/ssr_resolve_shader.d.ts.map +1 -1
- package/src/shade/renderer/postprocess/ssr/resolve/ssr_resolve_shader.js +3 -10
- package/src/shade/renderer/rasterize/forward/chunk_forward_sample_indirect.d.ts +0 -2
- package/src/shade/renderer/rasterize/forward/chunk_forward_sample_indirect.d.ts.map +1 -1
- package/src/shade/renderer/rasterize/forward/chunk_forward_sample_indirect.js +0 -3
- package/src/shade/renderer/scene/GPUSceneContext.d.ts +0 -6
- package/src/shade/renderer/scene/GPUSceneContext.d.ts.map +1 -1
- package/src/shade/renderer/scene/GPUSceneContext.js +0 -19
- package/src/shade/renderer/scene/Scene.d.ts +1 -7
- package/src/shade/renderer/scene/Scene.d.ts.map +1 -1
- package/src/shade/renderer/scene/Scene.js +1 -8
- package/src/shade/renderer/scene/bvh/sdf_build_from_scene.d.ts.map +1 -0
- package/src/shade/renderer/{global_illumination/lpv/placement/software → scene/bvh}/sdf_build_from_scene.js +6 -6
- package/src/shade/renderer/scene/bvh/sdf_find_local_maxima.d.ts.map +1 -0
- package/src/shade/renderer/{global_illumination/lpv/placement/software → scene/bvh}/sdf_find_local_maxima.js +1 -1
- package/src/shade/renderer/shader/chunk/light/DIRECTIONAL_LIGHT_STRUCT.d.ts.map +1 -1
- package/src/shade/renderer/shader/chunk/light/DIRECTIONAL_LIGHT_STRUCT.js +12 -2
- package/src/shade/renderer/shader/chunk/light/io/chunk_point_lights_iterate.d.ts +1 -1
- package/src/shade/renderer/shader/chunk/light/io/chunk_point_lights_iterate.js +1 -1
- package/src/shade/renderer/{global_illumination/probe/octahedral/sample → shader/chunk/light/probe}/chunk_parallax_correct_spherical_probe.d.ts +1 -1
- package/src/shade/renderer/shader/chunk/light/probe/chunk_parallax_correct_spherical_probe.d.ts.map +1 -0
- package/src/shade/renderer/{global_illumination/probe/octahedral/sample → shader/chunk/light/probe}/chunk_parallax_correct_spherical_probe.js +2 -2
- package/src/shade/renderer/shader/chunk/light/probe/chunk_probe_visibility_weight.d.ts +1 -1
- package/src/shade/renderer/shader/chunk/light/probe/chunk_probe_visibility_weight.js +1 -1
- package/src/shade/renderer/shader/chunk/spherical_harmonics/dering/chunk_sh2_dering_optimize_positive.d.ts +1 -2
- package/src/shade/renderer/shader/chunk/spherical_harmonics/dering/chunk_sh2_dering_optimize_positive.d.ts.map +1 -1
- package/src/shade/renderer/shader/chunk/spherical_harmonics/dering/chunk_sh2_dering_optimize_positive.js +1 -2
- package/src/shade/renderer/trails/GPUTrailSystem.d.ts +4 -0
- package/src/shade/renderer/trails/GPUTrailSystem.d.ts.map +1 -1
- package/src/shade/renderer/trails/GPUTrailSystem.js +9 -3
- package/src/shade/renderer/volumetrics/GPUViewVolumetrics.d.ts +1 -3
- package/src/shade/renderer/volumetrics/GPUViewVolumetrics.d.ts.map +1 -1
- package/src/shade/renderer/volumetrics/GPUViewVolumetrics.js +0 -3
- package/src/shade/renderer/volumetrics/chunk_volumetrics_irradiance_sh.d.ts +2 -2
- package/src/shade/renderer/volumetrics/chunk_volumetrics_irradiance_sh.js +2 -2
- package/src/shade/renderer/volumetrics/irradiance_clipmap/GPUIrradianceClipmap.d.ts +1 -3
- package/src/shade/renderer/volumetrics/irradiance_clipmap/GPUIrradianceClipmap.d.ts.map +1 -1
- package/src/shade/renderer/volumetrics/irradiance_clipmap/GPUIrradianceClipmap.js +0 -9
- package/src/shade/renderer/volumetrics/irradiance_clipmap/chunk_irradiance_clipmap_gi_sample.d.ts +0 -5
- package/src/shade/renderer/volumetrics/irradiance_clipmap/chunk_irradiance_clipmap_gi_sample.d.ts.map +1 -1
- package/src/shade/renderer/volumetrics/irradiance_clipmap/chunk_irradiance_clipmap_gi_sample.js +0 -29
- package/src/shade/renderer/volumetrics/irradiance_clipmap/shader_irradiance_clipmap_build.d.ts.map +1 -1
- package/src/shade/renderer/volumetrics/irradiance_clipmap/shader_irradiance_clipmap_build.js +0 -2
- package/src/shade/renderer/volumetrics/shader_volumetrics_build_lighting.d.ts.map +1 -1
- package/src/shade/renderer/volumetrics/shader_volumetrics_build_lighting.js +11 -6
- package/src/shade/renderer/volumetrics/shader_volumetrics_build_scattering_lut.d.ts.map +1 -1
- package/src/shade/renderer/volumetrics/shader_volumetrics_build_scattering_lut.js +10 -4
- package/src/shade/renderer/water/chunk_water_gi.d.ts +1 -1
- package/src/shade/renderer/water/chunk_water_gi.d.ts.map +1 -1
- package/src/shade/renderer/water/chunk_water_gi.js +1 -3
- package/src/shade/renderer/water/query/GPUWaterQueries.d.ts +1 -1
- package/src/shade/renderer/wind/GPUSceneWind.d.ts +1 -1
- package/src/shade/renderer/deferred/indirect/chunk_gi_sample_lpv_cache.d.ts +0 -3
- package/src/shade/renderer/deferred/indirect/chunk_gi_sample_lpv_cache.d.ts.map +0 -1
- package/src/shade/renderer/deferred/indirect/chunk_gi_sample_lpv_cache.js +0 -41
- package/src/shade/renderer/deferred/indirect/chunk_lpv_2d_cache_sample_irradiance.d.ts +0 -6
- package/src/shade/renderer/deferred/indirect/chunk_lpv_2d_cache_sample_irradiance.d.ts.map +0 -1
- package/src/shade/renderer/deferred/indirect/chunk_lpv_2d_cache_sample_irradiance.js +0 -108
- package/src/shade/renderer/deferred/indirect/chunk_lpv_sample_light.d.ts +0 -6
- package/src/shade/renderer/deferred/indirect/chunk_lpv_sample_light.d.ts.map +0 -1
- package/src/shade/renderer/deferred/indirect/chunk_lpv_sample_light.js +0 -100
- package/src/shade/renderer/global_illumination/lpv/GPULightProbeVolume.d.ts +0 -51
- package/src/shade/renderer/global_illumination/lpv/GPULightProbeVolume.d.ts.map +0 -1
- package/src/shade/renderer/global_illumination/lpv/GPULightProbeVolume.js +0 -384
- package/src/shade/renderer/global_illumination/lpv/LIGHT_PROBE_STRUCT.d.ts +0 -3
- package/src/shade/renderer/global_illumination/lpv/LIGHT_PROBE_STRUCT.d.ts.map +0 -1
- package/src/shade/renderer/global_illumination/lpv/LIGHT_PROBE_STRUCT.js +0 -20
- package/src/shade/renderer/global_illumination/lpv/LIGHT_PROBE_VOLUME_METADATA_STRUCT.d.ts +0 -3
- package/src/shade/renderer/global_illumination/lpv/LIGHT_PROBE_VOLUME_METADATA_STRUCT.d.ts.map +0 -1
- package/src/shade/renderer/global_illumination/lpv/LIGHT_PROBE_VOLUME_METADATA_STRUCT.js +0 -10
- package/src/shade/renderer/global_illumination/lpv/LightProbeVolume.d.ts +0 -63
- package/src/shade/renderer/global_illumination/lpv/LightProbeVolume.d.ts.map +0 -1
- package/src/shade/renderer/global_illumination/lpv/LightProbeVolume.js +0 -177
- package/src/shade/renderer/global_illumination/lpv/TETRAHEDRAL_MESH_CELL_STRUCT.d.ts +0 -3
- package/src/shade/renderer/global_illumination/lpv/TETRAHEDRAL_MESH_CELL_STRUCT.d.ts.map +0 -1
- package/src/shade/renderer/global_illumination/lpv/TETRAHEDRAL_MESH_CELL_STRUCT.js +0 -7
- package/src/shade/renderer/global_illumination/lpv/bake/GPULightProbeVolumeRenderer.d.ts +0 -68
- package/src/shade/renderer/global_illumination/lpv/bake/GPULightProbeVolumeRenderer.d.ts.map +0 -1
- package/src/shade/renderer/global_illumination/lpv/bake/GPULightProbeVolumeRenderer.js +0 -410
- package/src/shade/renderer/global_illumination/lpv/bake/PROBE_RAYS_PER_WORKGROUP.d.ts +0 -2
- package/src/shade/renderer/global_illumination/lpv/bake/PROBE_RAYS_PER_WORKGROUP.d.ts.map +0 -1
- package/src/shade/renderer/global_illumination/lpv/bake/PROBE_RAYS_PER_WORKGROUP.js +0 -1
- package/src/shade/renderer/global_illumination/lpv/debug/shader_visualize_probe_depth.d.ts +0 -3
- package/src/shade/renderer/global_illumination/lpv/debug/shader_visualize_probe_depth.d.ts.map +0 -1
- package/src/shade/renderer/global_illumination/lpv/debug/shader_visualize_probe_depth.js +0 -38
- package/src/shade/renderer/global_illumination/lpv/deprecated/LIGHT_PROBE_DEPTH_RESOLUTION.d.ts +0 -8
- package/src/shade/renderer/global_illumination/lpv/deprecated/LIGHT_PROBE_DEPTH_RESOLUTION.d.ts.map +0 -1
- package/src/shade/renderer/global_illumination/lpv/deprecated/LIGHT_PROBE_DEPTH_RESOLUTION.js +0 -7
- package/src/shade/renderer/global_illumination/lpv/deprecated/LIGHT_PROBE_DEPTH_STRUCT.d.ts +0 -3
- package/src/shade/renderer/global_illumination/lpv/deprecated/LIGHT_PROBE_DEPTH_STRUCT.d.ts.map +0 -1
- package/src/shade/renderer/global_illumination/lpv/deprecated/LIGHT_PROBE_DEPTH_STRUCT.js +0 -8
- package/src/shade/renderer/global_illumination/lpv/deprecated/chunk_lpv_get_visibility_mask.d.ts +0 -3
- package/src/shade/renderer/global_illumination/lpv/deprecated/chunk_lpv_get_visibility_mask.d.ts.map +0 -1
- package/src/shade/renderer/global_illumination/lpv/deprecated/chunk_lpv_get_visibility_mask.js +0 -48
- package/src/shade/renderer/global_illumination/lpv/deprecated/chunk_lpv_probe_depth_coordinate_to_address.d.ts +0 -3
- package/src/shade/renderer/global_illumination/lpv/deprecated/chunk_lpv_probe_depth_coordinate_to_address.d.ts.map +0 -1
- package/src/shade/renderer/global_illumination/lpv/deprecated/chunk_lpv_probe_depth_coordinate_to_address.js +0 -11
- package/src/shade/renderer/global_illumination/lpv/deprecated/chunk_lpv_probe_depth_get_pixel.d.ts +0 -3
- package/src/shade/renderer/global_illumination/lpv/deprecated/chunk_lpv_probe_depth_get_pixel.d.ts.map +0 -1
- package/src/shade/renderer/global_illumination/lpv/deprecated/chunk_lpv_probe_depth_get_pixel.js +0 -20
- package/src/shade/renderer/global_illumination/lpv/deprecated/probe_trace_compute_shader_code.d.ts +0 -5
- package/src/shade/renderer/global_illumination/lpv/deprecated/probe_trace_compute_shader_code.d.ts.map +0 -1
- package/src/shade/renderer/global_illumination/lpv/deprecated/probe_trace_compute_shader_code.js +0 -206
- package/src/shade/renderer/global_illumination/lpv/edit/AddProbeAction.d.ts +0 -14
- package/src/shade/renderer/global_illumination/lpv/edit/AddProbeAction.d.ts.map +0 -1
- package/src/shade/renderer/global_illumination/lpv/edit/AddProbeAction.js +0 -39
- package/src/shade/renderer/global_illumination/lpv/graph_bake_irradiance_lookup_2d.d.ts +0 -16
- package/src/shade/renderer/global_illumination/lpv/graph_bake_irradiance_lookup_2d.d.ts.map +0 -1
- package/src/shade/renderer/global_illumination/lpv/graph_bake_irradiance_lookup_2d.js +0 -201
- package/src/shade/renderer/global_illumination/lpv/lpv_jitter_points.d.ts +0 -10
- package/src/shade/renderer/global_illumination/lpv/lpv_jitter_points.d.ts.map +0 -1
- package/src/shade/renderer/global_illumination/lpv/lpv_jitter_points.js +0 -27
- package/src/shade/renderer/global_illumination/lpv/lpv_visualise_probes.d.ts +0 -18
- package/src/shade/renderer/global_illumination/lpv/lpv_visualise_probes.d.ts.map +0 -1
- package/src/shade/renderer/global_illumination/lpv/lpv_visualise_probes.js +0 -265
- package/src/shade/renderer/global_illumination/lpv/placement/chunk_refine_probe_placement.d.ts +0 -7
- package/src/shade/renderer/global_illumination/lpv/placement/chunk_refine_probe_placement.d.ts.map +0 -1
- package/src/shade/renderer/global_illumination/lpv/placement/chunk_refine_probe_placement.js +0 -126
- package/src/shade/renderer/global_illumination/lpv/placement/graph_generate_probe_locations.d.ts +0 -13
- package/src/shade/renderer/global_illumination/lpv/placement/graph_generate_probe_locations.d.ts.map +0 -1
- package/src/shade/renderer/global_illumination/lpv/placement/graph_generate_probe_locations.js +0 -373
- package/src/shade/renderer/global_illumination/lpv/placement/software/lpv_generate_probe_locations2.d.ts +0 -14
- package/src/shade/renderer/global_illumination/lpv/placement/software/lpv_generate_probe_locations2.d.ts.map +0 -1
- package/src/shade/renderer/global_illumination/lpv/placement/software/lpv_generate_probe_locations2.js +0 -225
- package/src/shade/renderer/global_illumination/lpv/placement/software/sdf_build_from_scene.d.ts.map +0 -1
- package/src/shade/renderer/global_illumination/lpv/placement/software/sdf_find_local_maxima.d.ts.map +0 -1
- package/src/shade/renderer/global_illumination/lpv/shader_diffuse_LPV.d.ts +0 -3
- package/src/shade/renderer/global_illumination/lpv/shader_diffuse_LPV.d.ts.map +0 -1
- package/src/shade/renderer/global_illumination/lpv/shader_diffuse_LPV.js +0 -91
- package/src/shade/renderer/global_illumination/probe/chunk_compute_probe_dering.d.ts +0 -5
- package/src/shade/renderer/global_illumination/probe/chunk_compute_probe_dering.d.ts.map +0 -1
- package/src/shade/renderer/global_illumination/probe/chunk_compute_probe_dering.js +0 -45
- package/src/shade/renderer/global_illumination/probe/compute_pipeline_probe_dering.d.ts +0 -3
- package/src/shade/renderer/global_illumination/probe/compute_pipeline_probe_dering.d.ts.map +0 -1
- package/src/shade/renderer/global_illumination/probe/compute_pipeline_probe_dering.js +0 -17
- package/src/shade/renderer/global_illumination/probe/lpv_dering_software.d.ts +0 -6
- package/src/shade/renderer/global_illumination/probe/lpv_dering_software.d.ts.map +0 -1
- package/src/shade/renderer/global_illumination/probe/lpv_dering_software.js +0 -21
- package/src/shade/renderer/global_illumination/probe/octahedral/GPUProbeAtlas.d.ts +0 -79
- package/src/shade/renderer/global_illumination/probe/octahedral/GPUProbeAtlas.d.ts.map +0 -1
- package/src/shade/renderer/global_illumination/probe/octahedral/GPUProbeAtlas.js +0 -437
- package/src/shade/renderer/global_illumination/probe/octahedral/LPV_ACCUMULATION_PUSH_CONSTANTS.d.ts +0 -3
- package/src/shade/renderer/global_illumination/probe/octahedral/LPV_ACCUMULATION_PUSH_CONSTANTS.d.ts.map +0 -1
- package/src/shade/renderer/global_illumination/probe/octahedral/LPV_ACCUMULATION_PUSH_CONSTANTS.js +0 -14
- package/src/shade/renderer/global_illumination/probe/octahedral/LPV_SHADER_RESOURCE_GROUP.d.ts +0 -42
- package/src/shade/renderer/global_illumination/probe/octahedral/LPV_SHADER_RESOURCE_GROUP.d.ts.map +0 -1
- package/src/shade/renderer/global_illumination/probe/octahedral/LPV_SHADER_RESOURCE_GROUP.js +0 -68
- package/src/shade/renderer/global_illumination/probe/octahedral/ProbeGBufferTypes.d.ts +0 -9
- package/src/shade/renderer/global_illumination/probe/octahedral/ProbeGBufferTypes.d.ts.map +0 -1
- package/src/shade/renderer/global_illumination/probe/octahedral/ProbeGBufferTypes.js +0 -20
- package/src/shade/renderer/global_illumination/probe/octahedral/border/chunk_lpv_map_index_to_border.d.ts +0 -3
- package/src/shade/renderer/global_illumination/probe/octahedral/border/chunk_lpv_map_index_to_border.d.ts.map +0 -1
- package/src/shade/renderer/global_illumination/probe/octahedral/border/chunk_lpv_map_index_to_border.js +0 -47
- package/src/shade/renderer/global_illumination/probe/octahedral/border/chunk_lpv_paint_borders_body.d.ts +0 -3
- package/src/shade/renderer/global_illumination/probe/octahedral/border/chunk_lpv_paint_borders_body.d.ts.map +0 -1
- package/src/shade/renderer/global_illumination/probe/octahedral/border/chunk_lpv_paint_borders_body.js +0 -55
- package/src/shade/renderer/global_illumination/probe/octahedral/border/graph_lpv_paint_border_depth.d.ts +0 -19
- package/src/shade/renderer/global_illumination/probe/octahedral/border/graph_lpv_paint_border_depth.d.ts.map +0 -1
- package/src/shade/renderer/global_illumination/probe/octahedral/border/graph_lpv_paint_border_depth.js +0 -85
- package/src/shade/renderer/global_illumination/probe/octahedral/border/shader_lpv_atlas_border_read.d.ts +0 -3
- package/src/shade/renderer/global_illumination/probe/octahedral/border/shader_lpv_atlas_border_read.d.ts.map +0 -1
- package/src/shade/renderer/global_illumination/probe/octahedral/border/shader_lpv_atlas_border_read.js +0 -78
- package/src/shade/renderer/global_illumination/probe/octahedral/border/shader_lpv_atlas_paint_borders_depth.d.ts +0 -7
- package/src/shade/renderer/global_illumination/probe/octahedral/border/shader_lpv_atlas_paint_borders_depth.d.ts.map +0 -1
- package/src/shade/renderer/global_illumination/probe/octahedral/border/shader_lpv_atlas_paint_borders_depth.js +0 -70
- package/src/shade/renderer/global_illumination/probe/octahedral/border/shader_lpv_atlas_paint_borders_radiance.d.ts +0 -7
- package/src/shade/renderer/global_illumination/probe/octahedral/border/shader_lpv_atlas_paint_borders_radiance.d.ts.map +0 -1
- package/src/shade/renderer/global_illumination/probe/octahedral/border/shader_lpv_atlas_paint_borders_radiance.js +0 -20
- package/src/shade/renderer/global_illumination/probe/octahedral/convolve/chunk_compute_coefficient_address.d.ts +0 -3
- package/src/shade/renderer/global_illumination/probe/octahedral/convolve/chunk_compute_coefficient_address.d.ts.map +0 -1
- package/src/shade/renderer/global_illumination/probe/octahedral/convolve/chunk_compute_coefficient_address.js +0 -20
- package/src/shade/renderer/global_illumination/probe/octahedral/convolve/graph_lpv_store_sh.d.ts +0 -19
- package/src/shade/renderer/global_illumination/probe/octahedral/convolve/graph_lpv_store_sh.d.ts.map +0 -1
- package/src/shade/renderer/global_illumination/probe/octahedral/convolve/graph_lpv_store_sh.js +0 -128
- package/src/shade/renderer/global_illumination/probe/octahedral/convolve/graph_lvp_atlas_to_sh.d.ts +0 -22
- package/src/shade/renderer/global_illumination/probe/octahedral/convolve/graph_lvp_atlas_to_sh.d.ts.map +0 -1
- package/src/shade/renderer/global_illumination/probe/octahedral/convolve/graph_lvp_atlas_to_sh.js +0 -200
- package/src/shade/renderer/global_illumination/probe/octahedral/convolve/graph_reduce_atlas_to_sh.d.ts +0 -23
- package/src/shade/renderer/global_illumination/probe/octahedral/convolve/graph_reduce_atlas_to_sh.d.ts.map +0 -1
- package/src/shade/renderer/global_illumination/probe/octahedral/convolve/graph_reduce_atlas_to_sh.js +0 -179
- package/src/shade/renderer/global_illumination/probe/octahedral/graph_lpv_shade.d.ts +0 -13
- package/src/shade/renderer/global_illumination/probe/octahedral/graph_lpv_shade.d.ts.map +0 -1
- package/src/shade/renderer/global_illumination/probe/octahedral/graph_lpv_shade.js +0 -416
- package/src/shade/renderer/global_illumination/probe/octahedral/graph_sample_light_probes.d.ts +0 -16
- package/src/shade/renderer/global_illumination/probe/octahedral/graph_sample_light_probes.d.ts.map +0 -1
- package/src/shade/renderer/global_illumination/probe/octahedral/graph_sample_light_probes.js +0 -268
- package/src/shade/renderer/global_illumination/probe/octahedral/sample/chunk_lpv_atlas_patch_texel_coord.d.ts +0 -17
- package/src/shade/renderer/global_illumination/probe/octahedral/sample/chunk_lpv_atlas_patch_texel_coord.d.ts.map +0 -1
- package/src/shade/renderer/global_illumination/probe/octahedral/sample/chunk_lpv_atlas_patch_texel_coord.js +0 -38
- package/src/shade/renderer/global_illumination/probe/octahedral/sample/chunk_lpv_atlas_read_patch_texel.d.ts +0 -3
- package/src/shade/renderer/global_illumination/probe/octahedral/sample/chunk_lpv_atlas_read_patch_texel.d.ts.map +0 -1
- package/src/shade/renderer/global_illumination/probe/octahedral/sample/chunk_lpv_atlas_read_patch_texel.js +0 -34
- package/src/shade/renderer/global_illumination/probe/octahedral/sample/chunk_lpv_atlas_sample_probe_radiance.d.ts +0 -3
- package/src/shade/renderer/global_illumination/probe/octahedral/sample/chunk_lpv_atlas_sample_probe_radiance.d.ts.map +0 -1
- package/src/shade/renderer/global_illumination/probe/octahedral/sample/chunk_lpv_atlas_sample_probe_radiance.js +0 -62
- package/src/shade/renderer/global_illumination/probe/octahedral/sample/chunk_lpv_atlas_sample_probe_radiance_nearest.d.ts +0 -3
- package/src/shade/renderer/global_illumination/probe/octahedral/sample/chunk_lpv_atlas_sample_probe_radiance_nearest.d.ts.map +0 -1
- package/src/shade/renderer/global_illumination/probe/octahedral/sample/chunk_lpv_atlas_sample_probe_radiance_nearest.js +0 -37
- package/src/shade/renderer/global_illumination/probe/octahedral/sample/chunk_lpv_mesh_interpolate_radiance_via_atlas.d.ts +0 -7
- package/src/shade/renderer/global_illumination/probe/octahedral/sample/chunk_lpv_mesh_interpolate_radiance_via_atlas.d.ts.map +0 -1
- package/src/shade/renderer/global_illumination/probe/octahedral/sample/chunk_lpv_mesh_interpolate_radiance_via_atlas.js +0 -62
- package/src/shade/renderer/global_illumination/probe/octahedral/sample/chunk_lpv_radiance_sample_reflection.d.ts +0 -7
- package/src/shade/renderer/global_illumination/probe/octahedral/sample/chunk_lpv_radiance_sample_reflection.d.ts.map +0 -1
- package/src/shade/renderer/global_illumination/probe/octahedral/sample/chunk_lpv_radiance_sample_reflection.js +0 -61
- package/src/shade/renderer/global_illumination/probe/octahedral/sample/chunk_parallax_correct_spherical_probe.d.ts.map +0 -1
- package/src/shade/renderer/global_illumination/probe/octahedral/sample/chunk_parallax_correct_spherical_probe_iterative.d.ts +0 -3
- package/src/shade/renderer/global_illumination/probe/octahedral/sample/chunk_parallax_correct_spherical_probe_iterative.d.ts.map +0 -1
- package/src/shade/renderer/global_illumination/probe/octahedral/sample/chunk_parallax_correct_spherical_probe_iterative.js +0 -80
- package/src/shade/renderer/global_illumination/probe/octahedral/shader_lpv_accumulate_depth.d.ts +0 -3
- package/src/shade/renderer/global_illumination/probe/octahedral/shader_lpv_accumulate_depth.d.ts.map +0 -1
- package/src/shade/renderer/global_illumination/probe/octahedral/shader_lpv_accumulate_depth.js +0 -143
- package/src/shade/renderer/global_illumination/probe/octahedral/shader_lpv_atlas_write_depth.d.ts +0 -3
- package/src/shade/renderer/global_illumination/probe/octahedral/shader_lpv_atlas_write_depth.d.ts.map +0 -1
- package/src/shade/renderer/global_illumination/probe/octahedral/shader_lpv_atlas_write_depth.js +0 -59
- package/src/shade/renderer/global_illumination/probe/octahedral/shader_lpv_build_gbuffer.d.ts +0 -3
- package/src/shade/renderer/global_illumination/probe/octahedral/shader_lpv_build_gbuffer.d.ts.map +0 -1
- package/src/shade/renderer/global_illumination/probe/octahedral/shader_lpv_build_gbuffer.js +0 -227
- package/src/shade/renderer/shader/chunk/light/lpv/INVALID_TET_DECLARATION.d.ts +0 -7
- package/src/shade/renderer/shader/chunk/light/lpv/INVALID_TET_DECLARATION.d.ts.map +0 -1
- package/src/shade/renderer/shader/chunk/light/lpv/INVALID_TET_DECLARATION.js +0 -12
- package/src/shade/renderer/shader/chunk/light/lpv/chunk_lpv_interpolate_probe_irradiance8.d.ts +0 -7
- package/src/shade/renderer/shader/chunk/light/lpv/chunk_lpv_interpolate_probe_irradiance8.d.ts.map +0 -1
- package/src/shade/renderer/shader/chunk/light/lpv/chunk_lpv_interpolate_probe_irradiance8.js +0 -37
- package/src/shade/renderer/shader/chunk/light/lpv/chunk_lpv_mesh_get_barycentric_coordinates.d.ts +0 -3
- package/src/shade/renderer/shader/chunk/light/lpv/chunk_lpv_mesh_get_barycentric_coordinates.d.ts.map +0 -1
- package/src/shade/renderer/shader/chunk/light/lpv/chunk_lpv_mesh_get_barycentric_coordinates.js +0 -29
- package/src/shade/renderer/shader/chunk/light/lpv/chunk_lpv_mesh_get_neighbours.d.ts +0 -3
- package/src/shade/renderer/shader/chunk/light/lpv/chunk_lpv_mesh_get_neighbours.d.ts.map +0 -1
- package/src/shade/renderer/shader/chunk/light/lpv/chunk_lpv_mesh_get_neighbours.js +0 -20
- package/src/shade/renderer/shader/chunk/light/lpv/chunk_lpv_mesh_get_vertices.d.ts +0 -3
- package/src/shade/renderer/shader/chunk/light/lpv/chunk_lpv_mesh_get_vertices.d.ts.map +0 -1
- package/src/shade/renderer/shader/chunk/light/lpv/chunk_lpv_mesh_get_vertices.js +0 -22
- package/src/shade/renderer/shader/chunk/light/lpv/chunk_lpv_mesh_interpolate_probe.d.ts +0 -4
- package/src/shade/renderer/shader/chunk/light/lpv/chunk_lpv_mesh_interpolate_probe.d.ts.map +0 -1
- package/src/shade/renderer/shader/chunk/light/lpv/chunk_lpv_mesh_interpolate_probe.js +0 -53
- package/src/shade/renderer/shader/chunk/light/lpv/chunk_lpv_mesh_interpolate_probe_irradiance.d.ts +0 -7
- package/src/shade/renderer/shader/chunk/light/lpv/chunk_lpv_mesh_interpolate_probe_irradiance.d.ts.map +0 -1
- package/src/shade/renderer/shader/chunk/light/lpv/chunk_lpv_mesh_interpolate_probe_irradiance.js +0 -48
- package/src/shade/renderer/shader/chunk/light/lpv/chunk_lpv_mesh_interpolate_probe_irradiance_pre.d.ts +0 -7
- package/src/shade/renderer/shader/chunk/light/lpv/chunk_lpv_mesh_interpolate_probe_irradiance_pre.d.ts.map +0 -1
- package/src/shade/renderer/shader/chunk/light/lpv/chunk_lpv_mesh_interpolate_probe_irradiance_pre.js +0 -35
- package/src/shade/renderer/shader/chunk/light/lpv/chunk_lpv_mesh_interpolation_probe_sh.d.ts +0 -3
- package/src/shade/renderer/shader/chunk/light/lpv/chunk_lpv_mesh_interpolation_probe_sh.d.ts.map +0 -1
- package/src/shade/renderer/shader/chunk/light/lpv/chunk_lpv_mesh_interpolation_probe_sh.js +0 -38
- package/src/shade/renderer/shader/chunk/light/lpv/chunk_lpv_mesh_lookup_nearest_cell.d.ts +0 -3
- package/src/shade/renderer/shader/chunk/light/lpv/chunk_lpv_mesh_lookup_nearest_cell.d.ts.map +0 -1
- package/src/shade/renderer/shader/chunk/light/lpv/chunk_lpv_mesh_lookup_nearest_cell.js +0 -67
- package/src/shade/renderer/shader/chunk/light/lpv/chunk_lpv_mesh_walk_to_tetrahedron.d.ts +0 -3
- package/src/shade/renderer/shader/chunk/light/lpv/chunk_lpv_mesh_walk_to_tetrahedron.d.ts.map +0 -1
- package/src/shade/renderer/shader/chunk/light/lpv/chunk_lpv_mesh_walk_to_tetrahedron.js +0 -52
- package/src/shade/renderer/shader/chunk/light/lpv/chunk_lpv_probe_get_data.d.ts +0 -3
- package/src/shade/renderer/shader/chunk/light/lpv/chunk_lpv_probe_get_data.d.ts.map +0 -1
- package/src/shade/renderer/shader/chunk/light/lpv/chunk_lpv_probe_get_data.js +0 -22
- package/src/shade/renderer/shader/chunk/light/lpv/chunk_lpv_probe_get_position.d.ts +0 -3
- package/src/shade/renderer/shader/chunk/light/lpv/chunk_lpv_probe_get_position.d.ts.map +0 -1
- package/src/shade/renderer/shader/chunk/light/lpv/chunk_lpv_probe_get_position.js +0 -17
- package/src/shade/renderer/shader/chunk/light/lpv/chunk_lpv_sample_irradiance.d.ts +0 -3
- package/src/shade/renderer/shader/chunk/light/lpv/chunk_lpv_sample_irradiance.d.ts.map +0 -1
- package/src/shade/renderer/shader/chunk/light/lpv/chunk_lpv_sample_irradiance.js +0 -48
- package/src/shade/renderer/shader/chunk/light/lpv/chunk_lpv_sample_irradiance_8.d.ts +0 -9
- package/src/shade/renderer/shader/chunk/light/lpv/chunk_lpv_sample_irradiance_8.d.ts.map +0 -1
- package/src/shade/renderer/shader/chunk/light/lpv/chunk_lpv_sample_irradiance_8.js +0 -126
- package/src/shade/renderer/shader/chunk/light/lpv/chunk_lpv_sample_irradiance_no_depth.d.ts +0 -3
- package/src/shade/renderer/shader/chunk/light/lpv/chunk_lpv_sample_irradiance_no_depth.d.ts.map +0 -1
- package/src/shade/renderer/shader/chunk/light/lpv/chunk_lpv_sample_irradiance_no_depth.js +0 -45
- package/src/shade/renderer/shader/chunk/light/lpv/chunk_lpv_sample_radiance.d.ts +0 -3
- package/src/shade/renderer/shader/chunk/light/lpv/chunk_lpv_sample_radiance.d.ts.map +0 -1
- package/src/shade/renderer/shader/chunk/light/lpv/chunk_lpv_sample_radiance.js +0 -61
- package/src/shade/renderer/shader/chunk/light/lpv/chunk_lpv_sample_sh3_at.d.ts +0 -3
- package/src/shade/renderer/shader/chunk/light/lpv/chunk_lpv_sample_sh3_at.d.ts.map +0 -1
- package/src/shade/renderer/shader/chunk/light/lpv/chunk_lpv_sample_sh3_at.js +0 -33
- package/src/shade/renderer/shader/chunk/light/lpv/depth/chunk_lpv_mask_weights_by_visibility.d.ts +0 -4
- package/src/shade/renderer/shader/chunk/light/lpv/depth/chunk_lpv_mask_weights_by_visibility.d.ts.map +0 -1
- package/src/shade/renderer/shader/chunk/light/lpv/depth/chunk_lpv_mask_weights_by_visibility.js +0 -161
- package/src/shade/renderer/shader/chunk/light/lpv/depth/chunk_lpv_probe_sample_depth_array.d.ts +0 -3
- package/src/shade/renderer/shader/chunk/light/lpv/depth/chunk_lpv_probe_sample_depth_array.d.ts.map +0 -1
- package/src/shade/renderer/shader/chunk/light/lpv/depth/chunk_lpv_probe_sample_depth_array.js +0 -59
- package/src/shade/renderer/shader/chunk/light/lpv/depth/chunk_lpv_sample_depth_atlas.d.ts +0 -4
- package/src/shade/renderer/shader/chunk/light/lpv/depth/chunk_lpv_sample_depth_atlas.d.ts.map +0 -1
- package/src/shade/renderer/shader/chunk/light/lpv/depth/chunk_lpv_sample_depth_atlas.js +0 -97
- /package/src/shade/renderer/{global_illumination/lpv/placement/software → scene/bvh}/sdf_build_from_scene.d.ts +0 -0
- /package/src/shade/renderer/{global_illumination/lpv/placement/software → scene/bvh}/sdf_find_local_maxima.d.ts +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,21 @@
|
|
|
2
2
|
|
|
3
3
|
## Unreleased
|
|
4
4
|
|
|
5
|
+
### Shade: the light probe volume is removed
|
|
6
|
+
|
|
7
|
+
- **Breaking:** `ShadeIndirectLightingMode.LPV` is gone, with `Scene.light_probe_volume`, `Renderer.update_lpv`,
|
|
8
|
+
`Renderer.getProbeRendererForScene`, `GPUSceneContext.light_probe_volume`, and everything under
|
|
9
|
+
`shade/renderer/global_illumination/lpv`, `global_illumination/probe` and `shader/chunk/light/lpv`. There is no
|
|
10
|
+
shim. `ProbeClipmap` (3) and `ScreenProbes` (4) keep their values; 2 is no mode.
|
|
11
|
+
- A scene no longer builds a probe volume and its atlas, and the SSR resolve and the irradiance clipmap build no
|
|
12
|
+
longer bind them.
|
|
13
|
+
- Moved: `chunk_parallax_correct_spherical_probe` to `shade/renderer/shader/chunk/light/probe/`;
|
|
14
|
+
`sdf_build_from_scene` and `sdf_find_local_maxima` to `shade/renderer/scene/bvh/`.
|
|
15
|
+
|
|
16
|
+
Migrating:
|
|
17
|
+
|
|
18
|
+
- `ShadeIndirectLightingMode.ProbeClipmap` or `ScreenProbes` for dynamic scenes, `Brick4` for a baked volume.
|
|
19
|
+
|
|
5
20
|
### Wind: the far field carries turbulence, and the gust is gone
|
|
6
21
|
|
|
7
22
|
- **Breaking:** `GlobalFluidEffector` loses `gust`, `gust_period`, `gust_phase`, `advance()` and `compute_gust()`.
|
package/MIGRATION_2_TO_3.md
CHANGED
|
@@ -99,7 +99,7 @@ manager so they are cached, counted and cancellable. Two loaders are enough: `Ar
|
|
|
99
99
|
|
|
100
100
|
| 2.170.0 | 3.1.0 |
|
|
101
101
|
|---|---|
|
|
102
|
-
| meep's lightmap baker, LPG, LPV | Shade's **brick4** volumetric GI,
|
|
102
|
+
| meep's lightmap baker, LPG, LPV | Shade's **brick4** volumetric GI, or its probe clipmap (`ShadeIndirectLightingMode.ProbeClipmap`). meep's copies were backports and are deleted; Shade's own LPV has since been removed too |
|
|
103
103
|
| The terrain AO bake | **No replacement.** It is removed and generation no longer needs a GPU |
|
|
104
104
|
| `renderObjectToSampler2D` previews | `GraphicsEngine3.render_to_sampler` |
|
|
105
105
|
|
package/package.json
CHANGED
|
@@ -58,7 +58,7 @@ export function volumetric_light_map_is_current(active: VolumetricLightMap | nul
|
|
|
58
58
|
* claim carrying nothing usable resolves the same way; see {@link volumetric_light_map_payload}.
|
|
59
59
|
*
|
|
60
60
|
* **What this does not do is turn Brick4 on.** Which indirect-lighting technique a frame uses is the
|
|
61
|
-
* renderer's setting, and a scene in
|
|
61
|
+
* renderer's setting, and a scene in another mode never reads this buffer no matter what is in
|
|
62
62
|
* it. Uploading a lightmap is necessary for Brick4 lighting and not sufficient for it.
|
|
63
63
|
*
|
|
64
64
|
* @see VolumetricLightMap
|
|
@@ -1,261 +1,261 @@
|
|
|
1
|
-
import { assert } from "../../core/assert.js";
|
|
2
|
-
import {
|
|
3
|
-
brick4_empty_gpu_structure
|
|
4
|
-
} from "../../shade/renderer/global_illumination/brick4/cpu/brick4_empty_gpu_structure.js";
|
|
5
|
-
import { System } from "../ecs/System.js";
|
|
6
|
-
import { VolumetricLightMap } from "./VolumetricLightMap.js";
|
|
7
|
-
|
|
8
|
-
/**
|
|
9
|
-
* Feeds the scene's baked volumetric lightmap to the GPU, and takes it away again.
|
|
10
|
-
*
|
|
11
|
-
* **The whole system is one buffer's worth of state.** Shade keeps a single `Brick4LightMap` on the
|
|
12
|
-
* scene's GPU context; a `VolumetricLightMap` component is a claim on it. So unlike the systems
|
|
13
|
-
* around it there is no per-entity object to build and place — there is one upload, and the work is
|
|
14
|
-
* deciding when it has to happen.
|
|
15
|
-
*
|
|
16
|
-
* **A scene has one lightmap, so a second claim waits rather than wins.** {@link active} is the
|
|
17
|
-
* *first* component to link and stays that way until it unlinks, at which point the next in line
|
|
18
|
-
* takes over. The alternative — last writer wins — makes the scene's lighting depend on the order
|
|
19
|
-
* entities happened to be built in, which is not a thing a level author controls. Swapping one map
|
|
20
|
-
* for another is therefore: remove the old component, add the new one.
|
|
21
|
-
*
|
|
22
|
-
* **The upload is decided in {@link update}, not in {@link link}.** A lightmap arrives whenever its
|
|
23
|
-
* level does, including before the renderer has a device — `scene_context` answers `null` until one
|
|
24
|
-
* exists, and answers with a *different* context after a restart, whose buffer is empty again. Both
|
|
25
|
-
* are the same question asked once a frame: is what the GPU holds still what the components say. A
|
|
26
|
-
* link is therefore eventually consistent, by at most one frame.
|
|
27
|
-
*
|
|
28
|
-
* **Unlinking uploads an empty map rather than leaving the last one there.** There is no way to
|
|
29
|
-
* un-upload — the shader reads the buffer unconditionally in Brick4 mode — so a component that
|
|
30
|
-
* removed itself and left the scene lit exactly as before would make the lifetime a fiction. A
|
|
31
|
-
* claim carrying nothing usable resolves the same way; see {@link volumetric_light_map_payload}.
|
|
32
|
-
*
|
|
33
|
-
* **What this does not do is turn Brick4 on.** Which indirect-lighting technique a frame uses is the
|
|
34
|
-
* renderer's setting, and a scene in
|
|
35
|
-
* it. Uploading a lightmap is necessary for Brick4 lighting and not sufficient for it.
|
|
36
|
-
*
|
|
37
|
-
* @see VolumetricLightMap
|
|
38
|
-
*/
|
|
39
|
-
export class VolumetricLightMapSystem extends System {
|
|
40
|
-
|
|
41
|
-
dependencies = [VolumetricLightMap];
|
|
42
|
-
|
|
43
|
-
/**
|
|
44
|
-
* @type {GraphicsEngine}
|
|
45
|
-
*/
|
|
46
|
-
#graphics;
|
|
47
|
-
|
|
48
|
-
/**
|
|
49
|
-
* @type {Scene}
|
|
50
|
-
*/
|
|
51
|
-
#scene;
|
|
52
|
-
|
|
53
|
-
/**
|
|
54
|
-
* Every entity claiming the scene's lightmap, oldest first.
|
|
55
|
-
*
|
|
56
|
-
* @type {{entity: number, component: VolumetricLightMap}[]}
|
|
57
|
-
*/
|
|
58
|
-
#entries = [];
|
|
59
|
-
|
|
60
|
-
/**
|
|
61
|
-
* The context the buffer currently holding {@link #uploaded} belongs to.
|
|
62
|
-
*
|
|
63
|
-
* @type {GPUSceneContext|null}
|
|
64
|
-
*/
|
|
65
|
-
#context = null;
|
|
66
|
-
|
|
67
|
-
/**
|
|
68
|
-
* Whose bytes the GPU is holding, `null` when it is holding none.
|
|
69
|
-
*
|
|
70
|
-
* @type {VolumetricLightMap|null}
|
|
71
|
-
*/
|
|
72
|
-
#uploaded = null;
|
|
73
|
-
|
|
74
|
-
/**
|
|
75
|
-
* {@link VolumetricLightMap.version} as of that upload. A component can replace its bytes
|
|
76
|
-
* without ever leaving the scene, and this is how that is noticed.
|
|
77
|
-
*
|
|
78
|
-
* @type {number}
|
|
79
|
-
*/
|
|
80
|
-
#uploaded_version = -1;
|
|
81
|
-
|
|
82
|
-
/**
|
|
83
|
-
* The component the scene is lit from, or `null` when nothing claims it.
|
|
84
|
-
*
|
|
85
|
-
* Read-only — it follows the entities. What the GPU holds catches up with this on the next
|
|
86
|
-
* {@link update}.
|
|
87
|
-
*
|
|
88
|
-
* @returns {VolumetricLightMap|null}
|
|
89
|
-
*/
|
|
90
|
-
get active() {
|
|
91
|
-
const entries = this.#entries;
|
|
92
|
-
|
|
93
|
-
return entries.length === 0 ? null : entries[0].component;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
/**
|
|
97
|
-
* @param {GraphicsEngine} graphics
|
|
98
|
-
* @param {Scene} scene
|
|
99
|
-
*/
|
|
100
|
-
constructor(graphics, scene) {
|
|
101
|
-
super();
|
|
102
|
-
|
|
103
|
-
assert.defined(graphics, 'graphics');
|
|
104
|
-
assert.defined(scene, 'scene');
|
|
105
|
-
|
|
106
|
-
this.#graphics = graphics;
|
|
107
|
-
this.#scene = scene;
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
async startup(entityManager) {
|
|
111
|
-
this.entityManager = entityManager;
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
async shutdown(entityManager) {
|
|
115
|
-
this.#entries.length = 0;
|
|
116
|
-
|
|
117
|
-
if (this.#uploaded !== null) {
|
|
118
|
-
// the renderer outlives the entity manager, so the scene is left unlit rather than lit
|
|
119
|
-
// by a level that is no longer loaded
|
|
120
|
-
this.#sync();
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
this.#forget();
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
/**
|
|
127
|
-
* @param {VolumetricLightMap} map
|
|
128
|
-
* @param {number} entity
|
|
129
|
-
*/
|
|
130
|
-
link(map, entity) {
|
|
131
|
-
this.#entries.push({ entity, component: map });
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
/**
|
|
135
|
-
* @param {VolumetricLightMap} map
|
|
136
|
-
* @param {number} entity
|
|
137
|
-
*/
|
|
138
|
-
unlink(map, entity) {
|
|
139
|
-
const entries = this.#entries;
|
|
140
|
-
|
|
141
|
-
const index = entries.findIndex(entry => entry.entity === entity);
|
|
142
|
-
|
|
143
|
-
if (index === -1) {
|
|
144
|
-
return;
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
entries.splice(index, 1);
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
/**
|
|
151
|
-
* @param {number} time_delta_seconds
|
|
152
|
-
*/
|
|
153
|
-
update(time_delta_seconds) {
|
|
154
|
-
this.#sync();
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
/**
|
|
158
|
-
* Bring the scene's lightmap buffer in line with what the components say.
|
|
159
|
-
*
|
|
160
|
-
* Does nothing at all in the common case, which is every frame after the one that uploaded.
|
|
161
|
-
*/
|
|
162
|
-
#sync() {
|
|
163
|
-
const context = this.#graphics.scene_context(this.#scene);
|
|
164
|
-
|
|
165
|
-
if (context === null) {
|
|
166
|
-
/*
|
|
167
|
-
No device — before the first start, or after a stop. Nothing can be uploaded while this
|
|
168
|
-
holds, and nothing has to be undone: the buffer that held the last upload was destroyed
|
|
169
|
-
with the context that owned it.
|
|
170
|
-
*/
|
|
171
|
-
this.#forget();
|
|
172
|
-
|
|
173
|
-
return;
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
if (context !== this.#context) {
|
|
177
|
-
/*
|
|
178
|
-
A restart, which is the same event seen from the other side. The new context's buffer
|
|
179
|
-
has never been written to, so a claim that survived the restart uploads again below and
|
|
180
|
-
a scene with no claim is left alone rather than being cleared to a state it is already
|
|
181
|
-
in.
|
|
182
|
-
*/
|
|
183
|
-
this.#forget();
|
|
184
|
-
|
|
185
|
-
this.#context = context;
|
|
186
|
-
}
|
|
187
|
-
|
|
188
|
-
const active = this.active;
|
|
189
|
-
|
|
190
|
-
if (volumetric_light_map_is_current(active, this.#uploaded, this.#uploaded_version)) {
|
|
191
|
-
return;
|
|
192
|
-
}
|
|
193
|
-
|
|
194
|
-
context.volumetric_light_map.upload(volumetric_light_map_payload(active));
|
|
195
|
-
|
|
196
|
-
this.#uploaded = active;
|
|
197
|
-
this.#uploaded_version = active === null ? -1 : active.version;
|
|
198
|
-
}
|
|
199
|
-
|
|
200
|
-
/**
|
|
201
|
-
* Drop the record of what the GPU is holding, without touching the GPU.
|
|
202
|
-
*
|
|
203
|
-
* Also drops this system's last reference to a component that has left the scene, which for a
|
|
204
|
-
* lightmap is megabytes.
|
|
205
|
-
*/
|
|
206
|
-
#forget() {
|
|
207
|
-
this.#context = null;
|
|
208
|
-
this.#uploaded = null;
|
|
209
|
-
this.#uploaded_version = -1;
|
|
210
|
-
}
|
|
211
|
-
}
|
|
212
|
-
|
|
213
|
-
/**
|
|
214
|
-
* The bytes the scene's lightmap buffer should hold for a given claim.
|
|
215
|
-
*
|
|
216
|
-
* **A claim with nothing usable in it is still a claim.** A component whose bake has not finished
|
|
217
|
-
* loading holds `null`, and one whose file turned out to be empty holds a zero-length buffer —
|
|
218
|
-
* neither is a structure the shader can traverse, and neither can simply be handed to
|
|
219
|
-
* `Brick4LightMap.upload`: it copies what it is given and no more, so a zero-length upload writes
|
|
220
|
-
* nothing at all and leaves the previous level's lighting exactly where it was. Both therefore
|
|
221
|
-
* resolve to an empty map, which is a real structure that lights nothing.
|
|
222
|
-
*
|
|
223
|
-
* @param {VolumetricLightMap|null} map `null` when nothing claims the scene
|
|
224
|
-
* @returns {ArrayBuffer}
|
|
225
|
-
*/
|
|
226
|
-
export function volumetric_light_map_payload(map) {
|
|
227
|
-
const data = map === null ? null : map.data;
|
|
228
|
-
|
|
229
|
-
if (data === null || data.byteLength === 0) {
|
|
230
|
-
return brick4_empty_gpu_structure();
|
|
231
|
-
}
|
|
232
|
-
|
|
233
|
-
return data;
|
|
234
|
-
}
|
|
235
|
-
|
|
236
|
-
/**
|
|
237
|
-
* Whether the scene's lightmap buffer is already holding what the claim says it should.
|
|
238
|
-
*
|
|
239
|
-
* The whole of what {@link VolumetricLightMapSystem.update} decides, and true on all but a handful
|
|
240
|
-
* of frames in a session — an upload is a state change, and there are only so many of those.
|
|
241
|
-
*
|
|
242
|
-
* **A claim is identified by the component, not by its bytes.** Comparing the buffers would answer
|
|
243
|
-
* the same question and cost a full read of a megabyte-scale map to do it; the version is what makes
|
|
244
|
-
* a component that swapped its bytes distinguishable from one that did not.
|
|
245
|
-
*
|
|
246
|
-
* **No claim and nothing uploaded is current; no claim after an upload is not.** That asymmetry is
|
|
247
|
-
* the unlink: a buffer nobody has written to holds nothing, and a buffer holding the last level's
|
|
248
|
-
* lighting has to be given an empty map before it holds nothing too.
|
|
249
|
-
*
|
|
250
|
-
* @param {VolumetricLightMap|null} active what claims the scene now
|
|
251
|
-
* @param {VolumetricLightMap|null} uploaded what the buffer was last given, `null` for none
|
|
252
|
-
* @param {number} uploaded_version {@link VolumetricLightMap.version} as of that upload
|
|
253
|
-
* @returns {boolean}
|
|
254
|
-
*/
|
|
255
|
-
export function volumetric_light_map_is_current(active, uploaded, uploaded_version) {
|
|
256
|
-
if (active === null) {
|
|
257
|
-
return uploaded === null;
|
|
258
|
-
}
|
|
259
|
-
|
|
260
|
-
return active === uploaded && active.version === uploaded_version;
|
|
261
|
-
}
|
|
1
|
+
import { assert } from "../../core/assert.js";
|
|
2
|
+
import {
|
|
3
|
+
brick4_empty_gpu_structure
|
|
4
|
+
} from "../../shade/renderer/global_illumination/brick4/cpu/brick4_empty_gpu_structure.js";
|
|
5
|
+
import { System } from "../ecs/System.js";
|
|
6
|
+
import { VolumetricLightMap } from "./VolumetricLightMap.js";
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Feeds the scene's baked volumetric lightmap to the GPU, and takes it away again.
|
|
10
|
+
*
|
|
11
|
+
* **The whole system is one buffer's worth of state.** Shade keeps a single `Brick4LightMap` on the
|
|
12
|
+
* scene's GPU context; a `VolumetricLightMap` component is a claim on it. So unlike the systems
|
|
13
|
+
* around it there is no per-entity object to build and place — there is one upload, and the work is
|
|
14
|
+
* deciding when it has to happen.
|
|
15
|
+
*
|
|
16
|
+
* **A scene has one lightmap, so a second claim waits rather than wins.** {@link active} is the
|
|
17
|
+
* *first* component to link and stays that way until it unlinks, at which point the next in line
|
|
18
|
+
* takes over. The alternative — last writer wins — makes the scene's lighting depend on the order
|
|
19
|
+
* entities happened to be built in, which is not a thing a level author controls. Swapping one map
|
|
20
|
+
* for another is therefore: remove the old component, add the new one.
|
|
21
|
+
*
|
|
22
|
+
* **The upload is decided in {@link update}, not in {@link link}.** A lightmap arrives whenever its
|
|
23
|
+
* level does, including before the renderer has a device — `scene_context` answers `null` until one
|
|
24
|
+
* exists, and answers with a *different* context after a restart, whose buffer is empty again. Both
|
|
25
|
+
* are the same question asked once a frame: is what the GPU holds still what the components say. A
|
|
26
|
+
* link is therefore eventually consistent, by at most one frame.
|
|
27
|
+
*
|
|
28
|
+
* **Unlinking uploads an empty map rather than leaving the last one there.** There is no way to
|
|
29
|
+
* un-upload — the shader reads the buffer unconditionally in Brick4 mode — so a component that
|
|
30
|
+
* removed itself and left the scene lit exactly as before would make the lifetime a fiction. A
|
|
31
|
+
* claim carrying nothing usable resolves the same way; see {@link volumetric_light_map_payload}.
|
|
32
|
+
*
|
|
33
|
+
* **What this does not do is turn Brick4 on.** Which indirect-lighting technique a frame uses is the
|
|
34
|
+
* renderer's setting, and a scene in another mode never reads this buffer no matter what is in
|
|
35
|
+
* it. Uploading a lightmap is necessary for Brick4 lighting and not sufficient for it.
|
|
36
|
+
*
|
|
37
|
+
* @see VolumetricLightMap
|
|
38
|
+
*/
|
|
39
|
+
export class VolumetricLightMapSystem extends System {
|
|
40
|
+
|
|
41
|
+
dependencies = [VolumetricLightMap];
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* @type {GraphicsEngine}
|
|
45
|
+
*/
|
|
46
|
+
#graphics;
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* @type {Scene}
|
|
50
|
+
*/
|
|
51
|
+
#scene;
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* Every entity claiming the scene's lightmap, oldest first.
|
|
55
|
+
*
|
|
56
|
+
* @type {{entity: number, component: VolumetricLightMap}[]}
|
|
57
|
+
*/
|
|
58
|
+
#entries = [];
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* The context the buffer currently holding {@link #uploaded} belongs to.
|
|
62
|
+
*
|
|
63
|
+
* @type {GPUSceneContext|null}
|
|
64
|
+
*/
|
|
65
|
+
#context = null;
|
|
66
|
+
|
|
67
|
+
/**
|
|
68
|
+
* Whose bytes the GPU is holding, `null` when it is holding none.
|
|
69
|
+
*
|
|
70
|
+
* @type {VolumetricLightMap|null}
|
|
71
|
+
*/
|
|
72
|
+
#uploaded = null;
|
|
73
|
+
|
|
74
|
+
/**
|
|
75
|
+
* {@link VolumetricLightMap.version} as of that upload. A component can replace its bytes
|
|
76
|
+
* without ever leaving the scene, and this is how that is noticed.
|
|
77
|
+
*
|
|
78
|
+
* @type {number}
|
|
79
|
+
*/
|
|
80
|
+
#uploaded_version = -1;
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* The component the scene is lit from, or `null` when nothing claims it.
|
|
84
|
+
*
|
|
85
|
+
* Read-only — it follows the entities. What the GPU holds catches up with this on the next
|
|
86
|
+
* {@link update}.
|
|
87
|
+
*
|
|
88
|
+
* @returns {VolumetricLightMap|null}
|
|
89
|
+
*/
|
|
90
|
+
get active() {
|
|
91
|
+
const entries = this.#entries;
|
|
92
|
+
|
|
93
|
+
return entries.length === 0 ? null : entries[0].component;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* @param {GraphicsEngine} graphics
|
|
98
|
+
* @param {Scene} scene
|
|
99
|
+
*/
|
|
100
|
+
constructor(graphics, scene) {
|
|
101
|
+
super();
|
|
102
|
+
|
|
103
|
+
assert.defined(graphics, 'graphics');
|
|
104
|
+
assert.defined(scene, 'scene');
|
|
105
|
+
|
|
106
|
+
this.#graphics = graphics;
|
|
107
|
+
this.#scene = scene;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
async startup(entityManager) {
|
|
111
|
+
this.entityManager = entityManager;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
async shutdown(entityManager) {
|
|
115
|
+
this.#entries.length = 0;
|
|
116
|
+
|
|
117
|
+
if (this.#uploaded !== null) {
|
|
118
|
+
// the renderer outlives the entity manager, so the scene is left unlit rather than lit
|
|
119
|
+
// by a level that is no longer loaded
|
|
120
|
+
this.#sync();
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
this.#forget();
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
/**
|
|
127
|
+
* @param {VolumetricLightMap} map
|
|
128
|
+
* @param {number} entity
|
|
129
|
+
*/
|
|
130
|
+
link(map, entity) {
|
|
131
|
+
this.#entries.push({ entity, component: map });
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
/**
|
|
135
|
+
* @param {VolumetricLightMap} map
|
|
136
|
+
* @param {number} entity
|
|
137
|
+
*/
|
|
138
|
+
unlink(map, entity) {
|
|
139
|
+
const entries = this.#entries;
|
|
140
|
+
|
|
141
|
+
const index = entries.findIndex(entry => entry.entity === entity);
|
|
142
|
+
|
|
143
|
+
if (index === -1) {
|
|
144
|
+
return;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
entries.splice(index, 1);
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
/**
|
|
151
|
+
* @param {number} time_delta_seconds
|
|
152
|
+
*/
|
|
153
|
+
update(time_delta_seconds) {
|
|
154
|
+
this.#sync();
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
/**
|
|
158
|
+
* Bring the scene's lightmap buffer in line with what the components say.
|
|
159
|
+
*
|
|
160
|
+
* Does nothing at all in the common case, which is every frame after the one that uploaded.
|
|
161
|
+
*/
|
|
162
|
+
#sync() {
|
|
163
|
+
const context = this.#graphics.scene_context(this.#scene);
|
|
164
|
+
|
|
165
|
+
if (context === null) {
|
|
166
|
+
/*
|
|
167
|
+
No device — before the first start, or after a stop. Nothing can be uploaded while this
|
|
168
|
+
holds, and nothing has to be undone: the buffer that held the last upload was destroyed
|
|
169
|
+
with the context that owned it.
|
|
170
|
+
*/
|
|
171
|
+
this.#forget();
|
|
172
|
+
|
|
173
|
+
return;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
if (context !== this.#context) {
|
|
177
|
+
/*
|
|
178
|
+
A restart, which is the same event seen from the other side. The new context's buffer
|
|
179
|
+
has never been written to, so a claim that survived the restart uploads again below and
|
|
180
|
+
a scene with no claim is left alone rather than being cleared to a state it is already
|
|
181
|
+
in.
|
|
182
|
+
*/
|
|
183
|
+
this.#forget();
|
|
184
|
+
|
|
185
|
+
this.#context = context;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
const active = this.active;
|
|
189
|
+
|
|
190
|
+
if (volumetric_light_map_is_current(active, this.#uploaded, this.#uploaded_version)) {
|
|
191
|
+
return;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
context.volumetric_light_map.upload(volumetric_light_map_payload(active));
|
|
195
|
+
|
|
196
|
+
this.#uploaded = active;
|
|
197
|
+
this.#uploaded_version = active === null ? -1 : active.version;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
/**
|
|
201
|
+
* Drop the record of what the GPU is holding, without touching the GPU.
|
|
202
|
+
*
|
|
203
|
+
* Also drops this system's last reference to a component that has left the scene, which for a
|
|
204
|
+
* lightmap is megabytes.
|
|
205
|
+
*/
|
|
206
|
+
#forget() {
|
|
207
|
+
this.#context = null;
|
|
208
|
+
this.#uploaded = null;
|
|
209
|
+
this.#uploaded_version = -1;
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
/**
|
|
214
|
+
* The bytes the scene's lightmap buffer should hold for a given claim.
|
|
215
|
+
*
|
|
216
|
+
* **A claim with nothing usable in it is still a claim.** A component whose bake has not finished
|
|
217
|
+
* loading holds `null`, and one whose file turned out to be empty holds a zero-length buffer —
|
|
218
|
+
* neither is a structure the shader can traverse, and neither can simply be handed to
|
|
219
|
+
* `Brick4LightMap.upload`: it copies what it is given and no more, so a zero-length upload writes
|
|
220
|
+
* nothing at all and leaves the previous level's lighting exactly where it was. Both therefore
|
|
221
|
+
* resolve to an empty map, which is a real structure that lights nothing.
|
|
222
|
+
*
|
|
223
|
+
* @param {VolumetricLightMap|null} map `null` when nothing claims the scene
|
|
224
|
+
* @returns {ArrayBuffer}
|
|
225
|
+
*/
|
|
226
|
+
export function volumetric_light_map_payload(map) {
|
|
227
|
+
const data = map === null ? null : map.data;
|
|
228
|
+
|
|
229
|
+
if (data === null || data.byteLength === 0) {
|
|
230
|
+
return brick4_empty_gpu_structure();
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
return data;
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
/**
|
|
237
|
+
* Whether the scene's lightmap buffer is already holding what the claim says it should.
|
|
238
|
+
*
|
|
239
|
+
* The whole of what {@link VolumetricLightMapSystem.update} decides, and true on all but a handful
|
|
240
|
+
* of frames in a session — an upload is a state change, and there are only so many of those.
|
|
241
|
+
*
|
|
242
|
+
* **A claim is identified by the component, not by its bytes.** Comparing the buffers would answer
|
|
243
|
+
* the same question and cost a full read of a megabyte-scale map to do it; the version is what makes
|
|
244
|
+
* a component that swapped its bytes distinguishable from one that did not.
|
|
245
|
+
*
|
|
246
|
+
* **No claim and nothing uploaded is current; no claim after an upload is not.** That asymmetry is
|
|
247
|
+
* the unlink: a buffer nobody has written to holds nothing, and a buffer holding the last level's
|
|
248
|
+
* lighting has to be given an empty map before it holds nothing too.
|
|
249
|
+
*
|
|
250
|
+
* @param {VolumetricLightMap|null} active what claims the scene now
|
|
251
|
+
* @param {VolumetricLightMap|null} uploaded what the buffer was last given, `null` for none
|
|
252
|
+
* @param {number} uploaded_version {@link VolumetricLightMap.version} as of that upload
|
|
253
|
+
* @returns {boolean}
|
|
254
|
+
*/
|
|
255
|
+
export function volumetric_light_map_is_current(active, uploaded, uploaded_version) {
|
|
256
|
+
if (active === null) {
|
|
257
|
+
return uploaded === null;
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
return active === uploaded && active.version === uploaded_version;
|
|
261
|
+
}
|
|
@@ -57,7 +57,18 @@ export class PointerDevice {
|
|
|
57
57
|
*/
|
|
58
58
|
private isRunning;
|
|
59
59
|
/**
|
|
60
|
-
*
|
|
60
|
+
* One switch per button, indexed by {@link MouseEvent.button} ordinal (see {@link MouseButtons}).
|
|
61
|
+
* A touch or a pen in contact is button 0.
|
|
62
|
+
*
|
|
63
|
+
* A pointer presses buttons here once its first press lands on {@link #domElement}: that
|
|
64
|
+
* button, and any other it presses over the element while it still holds one. A button it
|
|
65
|
+
* pressed comes up when the pointer releases it, anywhere on the page, or is cancelled. A switch
|
|
66
|
+
* held by several pointers, two fingers say, stays down until the last of them lets go. Every
|
|
67
|
+
* switch comes up when the window loses focus and when the device stops.
|
|
68
|
+
*
|
|
69
|
+
* A button pressed or released while the pointer holds another is reported by the browser as a
|
|
70
|
+
* `pointermove` naming the changed button, not as a `pointerdown` or `pointerup`. Both forms
|
|
71
|
+
* are followed.
|
|
61
72
|
* @readonly
|
|
62
73
|
* @type {InputDeviceSwitch[]}
|
|
63
74
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PointerDevice.d.ts","sourceRoot":"","sources":["../../../../../src/engine/input/devices/PointerDevice.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"PointerDevice.d.ts","sourceRoot":"","sources":["../../../../../src/engine/input/devices/PointerDevice.js"],"names":[],"mappings":"AAiPA;;;;;GAKG;AACH,mDAJW,OAAO,SACP,UAAU,GAAC,KAAK,WAChB,OAAO,QAejB;AAED;;;;;GAKG;AACH;IAuHI;;;;OAIG;IACH,wBAHW,WAAW,EA+BrB;IApJD;;;;OAIG;IACH,mBAFU,OAAO,CAEQ;IAEzB;;OAEG;IACH;;;QAGI;;;;;;WAMG;;;QAGH;;WAEG;;;;;;;;;MASL;IAeF;;;OAGG;IACH,kBAAkB;IAElB;;;;;;;;;;;;;;;OAeG;IACH,kBAFU,iBAAiB,EAAE,CAEL;IAqBxB;;;OAGG;IACH,yCAEC;IAED;;;OAGG;IACH,0CAEC;IAED;;;OAGG;IACH,2CAEC;IA8VD;;;OAGG;IACH,oBAFY,OAAO,CAIlB;IAED;;;OAGG;IACH,4BAsBC;IAED,0BAEC;IAED;;;;OAIG;IACH,qCAHW,OAAO,SACP,UAAU,GAAC,KAAK,QAI1B;IAED,cAiCC;IAED,aA4BC;;CACJ;oBA90BmB,+BAA+B;mBADhC,uCAAuC;kCAOxB,wBAAwB"}
|