zhuda-laya-engine 0.0.0-stage → 2.1.0
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/AGENTS.md +236 -0
- package/CHANGELOG.md +431 -0
- package/LICENSE +41 -0
- package/README.md +247 -2
- package/assets/branding/layaair-tribute-mark.svg +5 -0
- package/assets/branding/zhuda-layaair-mark.svg +34 -0
- package/assets/prefabs/CoinFountainVfx.lh +197 -0
- package/assets/prefabs/ConfirmActionButton.lh +87 -0
- package/assets/prefabs/LevelUpAuraVfx.lh +136 -0
- package/assets/prefabs/MineExplosionParticle.lh +352 -0
- package/assets/prefabs/NineSliceDialogFrame.lh +171 -0
- package/assets/prefabs/SwordSlashTrailVfx.lh +117 -0
- package/assets/prefabs/TacticalHudBar.lh +134 -0
- package/assets/prefabs/TelemetryDashboard.lh +87 -0
- package/assets/prefabs/UnityCrystalGuardian.lh +144 -0
- package/assets/prefabs/ZhudaSpine42Mascot.lh +183 -0
- package/assets/scenes/MinesweeperStage.ls +1180 -0
- package/dist/asset-calibration-report.json +969 -0
- package/dist/build-manifest.json +254 -0
- package/dist/sdk/zhuda-laya-csg.cjs +710 -0
- package/dist/sdk/zhuda-laya-csg.esm.js +683 -0
- package/dist/sdk/zhuda-laya-csg.min.cjs +7 -0
- package/dist/sdk/zhuda-laya-csg.min.esm.js +7 -0
- package/dist/sdk/zhuda-laya-demo.cjs +5990 -0
- package/dist/sdk/zhuda-laya-demo.esm.js +5956 -0
- package/dist/sdk/zhuda-laya-demo.min.cjs +12 -0
- package/dist/sdk/zhuda-laya-demo.min.esm.js +12 -0
- package/dist/sdk/zhuda-laya-engine.cjs +52628 -0
- package/dist/sdk/zhuda-laya-engine.esm.js +51848 -0
- package/dist/sdk/zhuda-laya-engine.min.cjs +2710 -0
- package/dist/sdk/zhuda-laya-engine.min.esm.js +2710 -0
- package/docs/3d-acceptance.md +47 -0
- package/docs/3d-integration.md +190 -0
- package/docs/README.md +112 -0
- package/docs/SUPPORT.md +21 -0
- package/docs/agent-development.md +219 -0
- package/docs/animation-control.md +213 -0
- package/docs/asset-loading.md +97 -0
- package/docs/assets/reference-games.jpg +0 -0
- package/docs/assets/solana-qr.png +0 -0
- package/docs/assets/sponsor-pass.svg +32 -0
- package/docs/audio.md +319 -0
- package/docs/backend-delivery.md +218 -0
- package/docs/basis-textures.md +94 -0
- package/docs/browser-sdk-releases.json +204 -0
- package/docs/browser-sdk.md +187 -0
- package/docs/cinematics.md +267 -0
- package/docs/cloth.md +280 -0
- package/docs/combat-runtime.md +82 -0
- package/docs/consumer-route.md +169 -0
- package/docs/consumer-tooling.md +518 -0
- package/docs/crowd-runtime.md +195 -0
- package/docs/developer-tooling.md +191 -0
- package/docs/film-scenes.md +1504 -0
- package/docs/filmic-rendering.md +743 -0
- package/docs/flythrough.md +89 -0
- package/docs/gpu-depth.md +207 -0
- package/docs/grass.md +127 -0
- package/docs/hdr-environment.md +76 -0
- package/docs/instanced-meshes.md +137 -0
- package/docs/layout-and-media.md +37 -0
- package/docs/layout-wireframe.md +80 -0
- package/docs/lighting-depth.md +185 -0
- package/docs/minigame-packaging.md +79 -0
- package/docs/model-editor.md +66 -0
- package/docs/model-lod.md +122 -0
- package/docs/model-pipeline.md +74 -0
- package/docs/model-showcase.md +365 -0
- package/docs/overview.md +183 -0
- package/docs/plans/README.md +133 -0
- package/docs/plans/TASK-TEMPLATE.md +64 -0
- package/docs/plans/TASK-spine38-isolated-topology-20261106.md +89 -0
- package/docs/plans/TEMPLATE.md +44 -0
- package/docs/plans/VERIFICATION-TEMPLATE.md +45 -0
- package/docs/plans/asset-packaging.md +140 -0
- package/docs/plans/cinematic-production/task.md +97 -0
- package/docs/plans/cinematic-production/verification.md +49 -0
- package/docs/plans/consumer-delivery-followups.md +129 -0
- package/docs/plans/desktop-and-agent-gates/hardening-task.md +85 -0
- package/docs/plans/desktop-and-agent-gates/hardening-verification.md +109 -0
- package/docs/plans/desktop-and-agent-gates/task.md +94 -0
- package/docs/plans/desktop-and-agent-gates/verification.md +60 -0
- package/docs/plans/prefab-toolchain.md +73 -0
- package/docs/plans/preview-runtime-hardening.md +68 -0
- package/docs/platform-adapters.md +113 -0
- package/docs/post-quality.md +242 -0
- package/docs/prefab-editor.md +194 -0
- package/docs/prefab-library.md +94 -0
- package/docs/prefab-workflow.md +75 -0
- package/docs/procedural-assets.md +463 -0
- package/docs/procedural-prefabs.md +133 -0
- package/docs/quality-route.md +386 -0
- package/docs/release-policy.md +79 -0
- package/docs/routes/README.md +180 -0
- package/docs/routes/TEMPLATE.md +54 -0
- package/docs/routes/action-adventure-3d-minigame.md +238 -0
- package/docs/routes/apocalypse-survival-3d.md +219 -0
- package/docs/routes/aqua-freeze-2d-minigame.md +183 -0
- package/docs/routes/astral-minimal-film-look.md +141 -0
- package/docs/routes/cascade-slot.md +93 -0
- package/docs/routes/clip-free-garments.md +229 -0
- package/docs/routes/drop-merge-2d-minigame.md +200 -0
- package/docs/routes/dungeon-line-slot.md +87 -0
- package/docs/routes/film-as-data.md +131 -0
- package/docs/routes/film-fight-that-lands.md +198 -0
- package/docs/routes/film-ink-lines.md +120 -0
- package/docs/routes/floating-island.md +229 -0
- package/docs/routes/game-2d.md +168 -0
- package/docs/routes/game-rules-first.md +89 -0
- package/docs/routes/game-to-prefabs.md +249 -0
- package/docs/routes/go-game-server.md +95 -0
- package/docs/routes/good-looking-3d-scene.md +99 -0
- package/docs/routes/high-quality-character.md +263 -0
- package/docs/routes/humanoid-from-shapes.md +97 -0
- package/docs/routes/hunting-action-3d.md +76 -0
- package/docs/routes/idle-gacha-2d.md +67 -0
- package/docs/routes/interactive-film-viewer.md +141 -0
- package/docs/routes/isometric-mystery-2d.md +217 -0
- package/docs/routes/key-art-to-animated-title.md +132 -0
- package/docs/routes/laya-ide-project-cli-web.md +125 -0
- package/docs/routes/layered-cloth-on-body.md +240 -0
- package/docs/routes/low-poly-character-from-shapes.md +475 -0
- package/docs/routes/match-three-2d.md +64 -0
- package/docs/routes/merge-2d.md +59 -0
- package/docs/routes/mini-game-build.md +80 -0
- package/docs/routes/mobile-always-landscape.md +149 -0
- package/docs/routes/mobile-web-fullscreen.md +255 -0
- package/docs/routes/model-from-dcc.md +106 -0
- package/docs/routes/new-game-project.md +100 -0
- package/docs/routes/onboarding-tutorial-2d.md +54 -0
- package/docs/routes/online-lockstep-match.md +473 -0
- package/docs/routes/outdoor-landscape.md +134 -0
- package/docs/routes/outfit-swap-3d.md +144 -0
- package/docs/routes/papercraft-diorama.md +186 -0
- package/docs/routes/platform-fighter-2d.md +235 -0
- package/docs/routes/platformer-2d.md +69 -0
- package/docs/routes/pole-rescue-arcade-3d.md +198 -0
- package/docs/routes/pose-atlas-motion.md +188 -0
- package/docs/routes/prototype-to-center.md +162 -0
- package/docs/routes/raft-brawl-3d-minigame.md +205 -0
- package/docs/routes/rhythm-2d.md +82 -0
- package/docs/routes/rigged-phone-character.md +120 -0
- package/docs/routes/screen-fit-game-box.md +127 -0
- package/docs/routes/shared-islands.md +195 -0
- package/docs/routes/side-view-duel.md +266 -0
- package/docs/routes/single-html-page.md +83 -0
- package/docs/routes/smooth-character-motion.md +162 -0
- package/docs/routes/spine-character.md +175 -0
- package/docs/routes/story-counting-2d.md +219 -0
- package/docs/routes/survivors-2d.md +60 -0
- package/docs/routes/third-person-town-3d.md +240 -0
- package/docs/routes/tower-defence-3d.md +67 -0
- package/docs/routes/ui-test-by-probe.md +219 -0
- package/docs/routes/underwater.md +138 -0
- package/docs/routes/visual-content-prefab.md +101 -0
- package/docs/runtime-hardening.md +108 -0
- package/docs/shader-warm-up.md +125 -0
- package/docs/spring-bones.md +79 -0
- package/docs/stylized-shading.md +171 -0
- package/docs/terrain-shader.md +130 -0
- package/docs/vrm.md +128 -0
- package/docs/walking.md +97 -0
- package/docs/webgpu.md +225 -0
- package/docs/white-label-themes.md +212 -0
- package/docs/zh-CN/README.md +130 -0
- package/examples/browser-sdk/2d-webgpu.html +46 -0
- package/examples/browser-sdk/2d.html +46 -0
- package/examples/browser-sdk/3d-gltf-webgpu.html +50 -0
- package/examples/browser-sdk/3d-gltf.html +50 -0
- package/examples/browser-sdk/3d-webgpu.html +46 -0
- package/examples/browser-sdk/3d.html +46 -0
- package/examples/cinematic-capture/Main.ts +294 -0
- package/examples/cinematic-capture/README.md +27 -0
- package/examples/model-inspector/README.md +15 -0
- package/examples/model-inspector/asset.gltf +158 -0
- package/examples/windows-webgpu/README.md +57 -0
- package/examples/windows-webgpu/bundle.mjs +122 -0
- package/examples/windows-webgpu/main.mjs +302 -0
- package/examples/windows-webgpu/package-lock.json +2353 -0
- package/examples/windows-webgpu/package.json +40 -0
- package/examples/windows-webgpu/squirrel.mjs +66 -0
- package/package.json +259 -4
- package/packages/ci-gate/export-film.mjs +347 -0
- package/packages/ci-gate/verify-sequence.mjs +285 -0
- package/packages/compiler/agent-contract.mjs +545 -0
- package/packages/compiler/ast-scanner.mjs +254 -0
- package/packages/compiler/backend-loader.mjs +62 -0
- package/packages/compiler/branding-assets.mjs +32 -0
- package/packages/compiler/branding.mjs +324 -0
- package/packages/compiler/browser-auto-example.mjs +31 -0
- package/packages/compiler/browser-model-example.mjs +53 -0
- package/packages/compiler/browser-process.mjs +344 -0
- package/packages/compiler/browser-sdk-example.mjs +50 -0
- package/packages/compiler/browser-sdk.mjs +342 -0
- package/packages/compiler/chrome-host.mjs +196 -0
- package/packages/compiler/cli.mjs +22 -0
- package/packages/compiler/compiler-runtime.mjs +41 -0
- package/packages/compiler/consumer-accept.mjs +89 -0
- package/packages/compiler/consumer-build.mjs +641 -0
- package/packages/compiler/consumer-guards.mjs +422 -0
- package/packages/compiler/consumer-publication.mjs +56 -0
- package/packages/compiler/consumer-scripts.mjs +134 -0
- package/packages/compiler/consumer-starter-2d.mjs +54 -0
- package/packages/compiler/consumer-starter-minigame.mjs +30 -0
- package/packages/compiler/editor-http.mjs +210 -0
- package/packages/compiler/editor-request.ts +12 -0
- package/packages/compiler/film-host-client.ts +249 -0
- package/packages/compiler/flythrough-file.mjs +144 -0
- package/packages/compiler/json-locate.mjs +85 -0
- package/packages/compiler/layout-contract.mjs +472 -0
- package/packages/compiler/minigame-bootstrap.mjs +24 -0
- package/packages/compiler/minigame-bridge.mjs +66 -0
- package/packages/compiler/minigame-guards.mjs +107 -0
- package/packages/compiler/minigame-toolchain.mjs +241 -0
- package/packages/compiler/model-crown.mjs +173 -0
- package/packages/compiler/model-editor-client.ts +809 -0
- package/packages/compiler/model-editor.mjs +242 -0
- package/packages/compiler/model-lod.mjs +547 -0
- package/packages/compiler/prefab-check.mjs +288 -0
- package/packages/compiler/prefab-checks.mjs +74 -0
- package/packages/compiler/prefab-dependencies.mjs +102 -0
- package/packages/compiler/prefab-editor-client.ts +950 -0
- package/packages/compiler/prefab-editor-preview.ts +89 -0
- package/packages/compiler/prefab-editor-server.mjs +585 -0
- package/packages/compiler/prefab-editor.mjs +43 -0
- package/packages/compiler/prefab-environment.mjs +107 -0
- package/packages/compiler/prefab-lifecycle.mjs +60 -0
- package/packages/compiler/prefab-preview.mjs +159 -0
- package/packages/compiler/prefab-watch.mjs +459 -0
- package/packages/compiler/runtime3d-types.mjs +91 -0
- package/packages/compiler/stage-probe.mjs +557 -0
- package/packages/compiler/visual-asset-audit.mjs +609 -0
- package/packages/compiler/visual-contract-audit.mjs +173 -0
- package/packages/compiler/webgpu-loader.mjs +153 -0
- package/packages/compiler/zhuda-build.mjs +714 -0
- package/packages/compiler/zhuda-doctor.mjs +186 -0
- package/packages/compiler/zhuda-init.mjs +353 -0
- package/packages/compiler/zhuda-layout.mjs +163 -0
- package/packages/compiler/zhuda-minigame.mjs +636 -0
- package/packages/core/BenchmarkEngine.ts +2 -0
- package/packages/core/BitmapFontContract.ts +159 -0
- package/packages/core/DeclarativeSDK.ts +686 -0
- package/packages/core/IframeSoundAdapter.ts +1824 -0
- package/packages/core/NoSleepAdapter.ts +302 -0
- package/packages/core/PixelCalibrationEngine.ts +602 -0
- package/packages/core/Prefab.ts +314 -0
- package/packages/core/RealmGuards.ts +111 -0
- package/packages/core/ResponsiveLayout.ts +149 -0
- package/packages/core/RuntimeGuards.ts +261 -0
- package/packages/core/SpineCharacter.ts +243 -0
- package/packages/core/SpineVisualContract.ts +238 -0
- package/packages/core/SplashSignal.ts +72 -0
- package/packages/core/StaticAssetPipeline.ts +3 -0
- package/packages/core/TopologyGraph.ts +693 -0
- package/packages/core/UnityBridgePipeline.ts +2 -0
- package/packages/core/VideoSurface.ts +75 -0
- package/packages/core/ViewportMatrixEngine.ts +237 -0
- package/packages/core/VisualFocusContract.ts +76 -0
- package/packages/core/VisualMigrationPipeline.ts +245 -0
- package/packages/core/WebViewSurface.ts +116 -0
- package/packages/core/audio/OfflineMix.ts +186 -0
- package/packages/core/audio/Spatial.ts +312 -0
- package/packages/core/audio/StreamVoice.ts +161 -0
- package/packages/core/csg/Bsp.ts +310 -0
- package/packages/core/csg/index.ts +589 -0
- package/packages/core/effects/Effect2D.ts +286 -0
- package/packages/core/effects/Effect3D.ts +213 -0
- package/packages/core/effects/EffectBudget.ts +695 -0
- package/packages/core/effects/EffectDirector.ts +254 -0
- package/packages/core/effects/EffectPresets.ts +843 -0
- package/packages/core/effects/EffectPresets2D.ts +1011 -0
- package/packages/core/effects/EffectSprites.ts +143 -0
- package/packages/core/effects/ParticleEventLink.ts +53 -0
- package/packages/core/effects/README.md +108 -0
- package/packages/core/effects/VfxMaterial.ts +253 -0
- package/packages/core/film/BakeKey.ts +21 -0
- package/packages/core/film/ColorValues.ts +44 -0
- package/packages/core/film/FilmLint.ts +353 -0
- package/packages/core/film/FilmPrefab.ts +82 -0
- package/packages/core/film/FilmReview.ts +84 -0
- package/packages/core/film/FilmScene.ts +3442 -0
- package/packages/core/film/FilmStage.ts +2148 -0
- package/packages/core/film/Flythrough.ts +169 -0
- package/packages/core/film/FlythroughReport.ts +326 -0
- package/packages/core/film/FrameMetrics.ts +167 -0
- package/packages/core/film/LiveLook.ts +242 -0
- package/packages/core/film/LookQuality.ts +94 -0
- package/packages/core/film/Projection.ts +74 -0
- package/packages/core/film/SceneLook.ts +363 -0
- package/packages/core/film/index.ts +12 -0
- package/packages/core/index.ts +48 -0
- package/packages/core/particles/EffectEnvelope.ts +52 -0
- package/packages/core/particles/LayaParticleRenderer.ts +182 -0
- package/packages/core/particles/LayaParticleRenderer3D.ts +218 -0
- package/packages/core/particles/ParticleExtras.ts +163 -0
- package/packages/core/particles/ParticleMesh3D.ts +156 -0
- package/packages/core/particles/ParticleSystem.ts +324 -0
- package/packages/core/particles/ParticleSystem3D.ts +411 -0
- package/packages/core/particles/ParticleTypes.ts +230 -0
- package/packages/core/particles/ParticleTypes3D.ts +115 -0
- package/packages/core/particles/README.md +181 -0
- package/packages/core/particles/RibbonPath3D.ts +234 -0
- package/packages/core/particles/RibbonTrail.ts +145 -0
- package/packages/core/particles/RibbonTrail3D.ts +166 -0
- package/packages/core/particles/index.ts +12 -0
- package/packages/core/prefabs/PrefabLibrary.ts +692 -0
- package/packages/core/prefabs/PrefabTree3D.ts +291 -0
- package/packages/core/prefabs/index.ts +10 -0
- package/packages/core/procedural/Geometry.ts +1871 -0
- package/packages/core/procedural/Hand.ts +1510 -0
- package/packages/core/procedural/Isosurface.ts +1035 -0
- package/packages/core/procedural/ModuleHarness.ts +180 -0
- package/packages/core/procedural/Noise.ts +123 -0
- package/packages/core/procedural/PhotoMaterial.ts +283 -0
- package/packages/core/procedural/ProceduralAssetProvider.ts +105 -0
- package/packages/core/procedural/ProceduralMaterial.ts +184 -0
- package/packages/core/procedural/PropFactory.ts +307 -0
- package/packages/core/procedural/Random.ts +70 -0
- package/packages/core/procedural/SynthAudio.ts +221 -0
- package/packages/core/procedural/TerrainMesh.ts +207 -0
- package/packages/core/procedural/TextureRecipe.ts +464 -0
- package/packages/core/procedural/TriplanarMaterial.ts +169 -0
- package/packages/core/procedural/Variation.ts +94 -0
- package/packages/core/procedural/index.ts +15 -0
- package/packages/core/runtime3d/ActionFrames.ts +245 -0
- package/packages/core/runtime3d/AnimationBlend.ts +282 -0
- package/packages/core/runtime3d/AnimationBlendMath.ts +98 -0
- package/packages/core/runtime3d/AssetProvider.ts +775 -0
- package/packages/core/runtime3d/AssetShowcase.ts +190 -0
- package/packages/core/runtime3d/Assets.ts +801 -0
- package/packages/core/runtime3d/AsyncDeadline.ts +53 -0
- package/packages/core/runtime3d/AsyncOperation.ts +39 -0
- package/packages/core/runtime3d/BackendChoice.ts +359 -0
- package/packages/core/runtime3d/BakedCrowd.ts +575 -0
- package/packages/core/runtime3d/BasisTexture.ts +657 -0
- package/packages/core/runtime3d/CameraCollision.ts +69 -0
- package/packages/core/runtime3d/CameraEffects.ts +752 -0
- package/packages/core/runtime3d/CameraRig.ts +70 -0
- package/packages/core/runtime3d/CharacterController.ts +272 -0
- package/packages/core/runtime3d/CinematicCapture.ts +457 -0
- package/packages/core/runtime3d/Clocks.ts +724 -0
- package/packages/core/runtime3d/Cloth.ts +183 -0
- package/packages/core/runtime3d/Clouds.ts +462 -0
- package/packages/core/runtime3d/ColorLut.ts +351 -0
- package/packages/core/runtime3d/CombatQueries.ts +240 -0
- package/packages/core/runtime3d/ComputePass.ts +582 -0
- package/packages/core/runtime3d/CrowdPresentation.ts +368 -0
- package/packages/core/runtime3d/DebugDraw.ts +567 -0
- package/packages/core/runtime3d/DebugStats.ts +35 -0
- package/packages/core/runtime3d/Decals.ts +309 -0
- package/packages/core/runtime3d/DensityVolume.ts +238 -0
- package/packages/core/runtime3d/DistanceBricks.ts +349 -0
- package/packages/core/runtime3d/Dither.ts +199 -0
- package/packages/core/runtime3d/DrawWarmUp.ts +217 -0
- package/packages/core/runtime3d/EdgeSmoothing.ts +108 -0
- package/packages/core/runtime3d/EnvironmentProbe.ts +656 -0
- package/packages/core/runtime3d/Filmic.ts +973 -0
- package/packages/core/runtime3d/Foliage.ts +367 -0
- package/packages/core/runtime3d/GltfIntake.ts +914 -0
- package/packages/core/runtime3d/GltfSecondUv.ts +153 -0
- package/packages/core/runtime3d/GraphicsGuard.ts +171 -0
- package/packages/core/runtime3d/Grass.ts +1080 -0
- package/packages/core/runtime3d/GroundTruthAO.ts +360 -0
- package/packages/core/runtime3d/HalfFloat.ts +44 -0
- package/packages/core/runtime3d/HdrEnvironment.ts +588 -0
- package/packages/core/runtime3d/Ik.ts +392 -0
- package/packages/core/runtime3d/InputBuffer.ts +165 -0
- package/packages/core/runtime3d/InstancedMesh.ts +460 -0
- package/packages/core/runtime3d/Laya342Adapters.ts +1095 -0
- package/packages/core/runtime3d/Laya342GltfAdapter.ts +751 -0
- package/packages/core/runtime3d/LensFinish.ts +153 -0
- package/packages/core/runtime3d/LensFlare.ts +490 -0
- package/packages/core/runtime3d/LightFog.ts +1008 -0
- package/packages/core/runtime3d/LightingDepth.ts +544 -0
- package/packages/core/runtime3d/Lightmap.ts +238 -0
- package/packages/core/runtime3d/Math3D.ts +84 -0
- package/packages/core/runtime3d/MeshQuery.ts +547 -0
- package/packages/core/runtime3d/MeshoptModelDecoder.ts +354 -0
- package/packages/core/runtime3d/MiniGameSplash.ts +70 -0
- package/packages/core/runtime3d/ModelAnimationSampler.ts +97 -0
- package/packages/core/runtime3d/ModelCompatibility.ts +890 -0
- package/packages/core/runtime3d/ModelDecoder.ts +294 -0
- package/packages/core/runtime3d/ModelInspector.ts +226 -0
- package/packages/core/runtime3d/ModelLod.ts +163 -0
- package/packages/core/runtime3d/ModelPlacements.ts +426 -0
- package/packages/core/runtime3d/ObjectMotion.ts +217 -0
- package/packages/core/runtime3d/PhysicalCamera.ts +190 -0
- package/packages/core/runtime3d/PointShadow.ts +500 -0
- package/packages/core/runtime3d/PointShadowSchedule.ts +201 -0
- package/packages/core/runtime3d/Pool.ts +120 -0
- package/packages/core/runtime3d/ProbeVolume.ts +695 -0
- package/packages/core/runtime3d/QualityGovernor.ts +385 -0
- package/packages/core/runtime3d/QualityMemory.ts +200 -0
- package/packages/core/runtime3d/RenderScale.ts +356 -0
- package/packages/core/runtime3d/RenderSpaces.ts +105 -0
- package/packages/core/runtime3d/Renderer.ts +377 -0
- package/packages/core/runtime3d/ResultPlayback.ts +239 -0
- package/packages/core/runtime3d/Runtime.ts +507 -0
- package/packages/core/runtime3d/RuntimeDriver.ts +127 -0
- package/packages/core/runtime3d/SceneLifecycle.ts +211 -0
- package/packages/core/runtime3d/SceneMutation.ts +107 -0
- package/packages/core/runtime3d/SceneQueries.ts +191 -0
- package/packages/core/runtime3d/ScreenReflections.ts +595 -0
- package/packages/core/runtime3d/SelectionOutline.ts +389 -0
- package/packages/core/runtime3d/ShaderErrors.ts +104 -0
- package/packages/core/runtime3d/ShaderRegistry.ts +34 -0
- package/packages/core/runtime3d/ShaderWarmUp.ts +473 -0
- package/packages/core/runtime3d/ShadowUpdates.ts +287 -0
- package/packages/core/runtime3d/SkinBinding.ts +235 -0
- package/packages/core/runtime3d/Smaa.ts +386 -0
- package/packages/core/runtime3d/SmaaTables.ts +244 -0
- package/packages/core/runtime3d/SpringBones.ts +184 -0
- package/packages/core/runtime3d/SurfaceBuffer.ts +76 -0
- package/packages/core/runtime3d/Surfaces.ts +1105 -0
- package/packages/core/runtime3d/Themes.ts +344 -0
- package/packages/core/runtime3d/Timeline.ts +362 -0
- package/packages/core/runtime3d/ToneCurves.ts +292 -0
- package/packages/core/runtime3d/TransformGizmo.ts +539 -0
- package/packages/core/runtime3d/TriangleMask.ts +250 -0
- package/packages/core/runtime3d/Underwater.ts +778 -0
- package/packages/core/runtime3d/Utf8.ts +87 -0
- package/packages/core/runtime3d/Vrm.ts +773 -0
- package/packages/core/runtime3d/VrmDocument.ts +1830 -0
- package/packages/core/runtime3d/WalkGrid.ts +471 -0
- package/packages/core/runtime3d/WebGPU342Adapters.ts +280 -0
- package/packages/core/runtime3d/index.ts +147 -0
- package/packages/core/shaders/Laya342ShaderTemplates.ts +6 -0
- package/packages/core/shaders/LitSurfaceMaterial.ts +1076 -0
- package/packages/core/shaders/LitSurfaceTemplates.ts +13 -0
- package/packages/core/shaders/ReflectiveSurface.ts +285 -0
- package/packages/core/shaders/ShaderMaterials.ts +387 -0
- package/packages/core/shaders/ToonMaterial.ts +559 -0
- package/packages/core/shaders/WaterRipples.ts +170 -0
- package/packages/core/shaders/WaterSurface.ts +480 -0
- package/packages/core/shaders/ZhudaCommon.ts +109 -0
- package/packages/core/shaders/index.ts +6 -0
- package/packages/core/simulation/Cloth.ts +1541 -0
- package/packages/core/simulation/ParticleCore.ts +498 -0
- package/packages/core/simulation/SpringBones.ts +553 -0
- package/packages/core/simulation/index.ts +3 -0
- package/packages/core/terrain/Heightfield.ts +385 -0
- package/packages/core/terrain/Terrain2D.ts +324 -0
- package/packages/core/terrain/Terrain3D.ts +452 -0
- package/packages/core/terrain/TerrainShell.ts +94 -0
- package/packages/core/terrain/index.ts +3 -0
- package/packages/demo/BenchmarkEngine.ts +184 -0
- package/packages/demo/PixelCalibrationEngine.ts +36 -0
- package/packages/demo/ProceduralStarter.ts +312 -0
- package/packages/demo/StaticAssetPipeline.ts +1631 -0
- package/packages/demo/UnityBridgePipeline.ts +485 -0
- package/packages/demo/index.ts +6 -0
- package/packages/mcp-server/arguments.mjs +81 -0
- package/packages/mcp-server/corpus.mjs +627 -0
- package/packages/mcp-server/film-host.mjs +627 -0
- package/packages/mcp-server/film-session.mjs +95 -0
- package/packages/mcp-server/film-tools.mjs +460 -0
- package/packages/mcp-server/index.mjs +931 -0
- package/packages/mcp-server/quality-route.mjs +332 -0
- package/packages/mcp-server/roots.mjs +72 -0
- package/packages/mcp-server/runtime.mjs +81 -0
- package/packages/types/BitmapFontContract.d.ts +19 -0
- package/packages/types/DeclarativeSDK.d.ts +137 -0
- package/packages/types/IframeSoundAdapter.d.ts +173 -0
- package/packages/types/NoSleepAdapter.d.ts +50 -0
- package/packages/types/PixelCalibrationEngine.d.ts +83 -0
- package/packages/types/Prefab.d.ts +11 -0
- package/packages/types/RealmGuards.d.ts +26 -0
- package/packages/types/ResponsiveLayout.d.ts +10 -0
- package/packages/types/RuntimeGuards.d.ts +55 -0
- package/packages/types/SpineCharacter.d.ts +94 -0
- package/packages/types/SpineVisualContract.d.ts +50 -0
- package/packages/types/SplashSignal.d.ts +27 -0
- package/packages/types/TopologyGraph.d.ts +76 -0
- package/packages/types/VideoSurface.d.ts +21 -0
- package/packages/types/ViewportMatrixEngine.d.ts +27 -0
- package/packages/types/VisualFocusContract.d.ts +32 -0
- package/packages/types/VisualMigrationPipeline.d.ts +53 -0
- package/packages/types/WebViewSurface.d.ts +26 -0
- package/packages/types/audio/OfflineMix.d.ts +10 -0
- package/packages/types/audio/Spatial.d.ts +63 -0
- package/packages/types/audio/StreamVoice.d.ts +31 -0
- package/packages/types/browser.d.ts +44 -0
- package/packages/types/csg/Bsp.d.ts +85 -0
- package/packages/types/csg/index.d.ts +81 -0
- package/packages/types/demo/BenchmarkEngine.d.ts +61 -0
- package/packages/types/demo/PixelCalibrationEngine.d.ts +13 -0
- package/packages/types/demo/ProceduralStarter.d.ts +11 -0
- package/packages/types/demo/StaticAssetPipeline.d.ts +87 -0
- package/packages/types/demo/UnityBridgePipeline.d.ts +49 -0
- package/packages/types/demo/index.d.ts +7 -0
- package/packages/types/editor-preview.d.ts +27 -0
- package/packages/types/effects/Effect2D.d.ts +65 -0
- package/packages/types/effects/Effect3D.d.ts +42 -0
- package/packages/types/effects/EffectBudget.d.ts +179 -0
- package/packages/types/effects/EffectDirector.d.ts +68 -0
- package/packages/types/effects/EffectPresets.d.ts +27 -0
- package/packages/types/effects/EffectPresets2D.d.ts +32 -0
- package/packages/types/effects/EffectSprites.d.ts +23 -0
- package/packages/types/effects/ParticleEventLink.d.ts +16 -0
- package/packages/types/effects/VfxMaterial.d.ts +52 -0
- package/packages/types/film/BakeKey.d.ts +9 -0
- package/packages/types/film/ColorValues.d.ts +25 -0
- package/packages/types/film/FilmLint.d.ts +40 -0
- package/packages/types/film/FilmPrefab.d.ts +22 -0
- package/packages/types/film/FilmReview.d.ts +27 -0
- package/packages/types/film/FilmScene.d.ts +1214 -0
- package/packages/types/film/FilmStage.d.ts +237 -0
- package/packages/types/film/Flythrough.d.ts +44 -0
- package/packages/types/film/FlythroughReport.d.ts +132 -0
- package/packages/types/film/FrameMetrics.d.ts +49 -0
- package/packages/types/film/LiveLook.d.ts +60 -0
- package/packages/types/film/LookQuality.d.ts +24 -0
- package/packages/types/film/Projection.d.ts +20 -0
- package/packages/types/film/SceneLook.d.ts +122 -0
- package/packages/types/film/index.d.ts +13 -0
- package/packages/types/index.d.ts +49 -0
- package/packages/types/particles/EffectEnvelope.d.ts +18 -0
- package/packages/types/particles/LayaParticleRenderer.d.ts +30 -0
- package/packages/types/particles/LayaParticleRenderer3D.d.ts +29 -0
- package/packages/types/particles/ParticleExtras.d.ts +50 -0
- package/packages/types/particles/ParticleMesh3D.d.ts +24 -0
- package/packages/types/particles/ParticleSystem.d.ts +52 -0
- package/packages/types/particles/ParticleSystem3D.d.ts +69 -0
- package/packages/types/particles/ParticleTypes.d.ts +89 -0
- package/packages/types/particles/ParticleTypes3D.d.ts +56 -0
- package/packages/types/particles/RibbonPath3D.d.ts +32 -0
- package/packages/types/particles/RibbonTrail.d.ts +38 -0
- package/packages/types/particles/RibbonTrail3D.d.ts +22 -0
- package/packages/types/particles/index.d.ts +13 -0
- package/packages/types/prefabs/PrefabLibrary.d.ts +176 -0
- package/packages/types/prefabs/PrefabTree3D.d.ts +59 -0
- package/packages/types/prefabs/index.d.ts +4 -0
- package/packages/types/procedural/Geometry.d.ts +252 -0
- package/packages/types/procedural/Hand.d.ts +150 -0
- package/packages/types/procedural/Isosurface.d.ts +181 -0
- package/packages/types/procedural/ModuleHarness.d.ts +90 -0
- package/packages/types/procedural/Noise.d.ts +15 -0
- package/packages/types/procedural/PhotoMaterial.d.ts +49 -0
- package/packages/types/procedural/ProceduralAssetProvider.d.ts +31 -0
- package/packages/types/procedural/ProceduralMaterial.d.ts +63 -0
- package/packages/types/procedural/PropFactory.d.ts +94 -0
- package/packages/types/procedural/Random.d.ts +26 -0
- package/packages/types/procedural/SynthAudio.d.ts +49 -0
- package/packages/types/procedural/TerrainMesh.d.ts +55 -0
- package/packages/types/procedural/TextureRecipe.d.ts +125 -0
- package/packages/types/procedural/TriplanarMaterial.d.ts +27 -0
- package/packages/types/procedural/Variation.d.ts +23 -0
- package/packages/types/procedural/index.d.ts +16 -0
- package/packages/types/runtime3d/ActionFrames.d.ts +62 -0
- package/packages/types/runtime3d/AnimationBlend.d.ts +57 -0
- package/packages/types/runtime3d/AnimationBlendMath.d.ts +27 -0
- package/packages/types/runtime3d/AssetProvider.d.ts +167 -0
- package/packages/types/runtime3d/AssetShowcase.d.ts +44 -0
- package/packages/types/runtime3d/Assets.d.ts +166 -0
- package/packages/types/runtime3d/AsyncDeadline.d.ts +6 -0
- package/packages/types/runtime3d/AsyncOperation.d.ts +3 -0
- package/packages/types/runtime3d/BackendChoice.d.ts +130 -0
- package/packages/types/runtime3d/BakedCrowd.d.ts +156 -0
- package/packages/types/runtime3d/BasisTexture.d.ts +169 -0
- package/packages/types/runtime3d/CameraCollision.d.ts +20 -0
- package/packages/types/runtime3d/CameraEffects.d.ts +134 -0
- package/packages/types/runtime3d/CameraRig.d.ts +27 -0
- package/packages/types/runtime3d/CharacterController.d.ts +71 -0
- package/packages/types/runtime3d/CinematicCapture.d.ts +103 -0
- package/packages/types/runtime3d/Clocks.d.ts +200 -0
- package/packages/types/runtime3d/Cloth.d.ts +57 -0
- package/packages/types/runtime3d/Clouds.d.ts +69 -0
- package/packages/types/runtime3d/ColorLut.d.ts +73 -0
- package/packages/types/runtime3d/CombatQueries.d.ts +50 -0
- package/packages/types/runtime3d/ComputePass.d.ts +134 -0
- package/packages/types/runtime3d/CrowdPresentation.d.ts +104 -0
- package/packages/types/runtime3d/DebugDraw.d.ts +161 -0
- package/packages/types/runtime3d/DebugStats.d.ts +24 -0
- package/packages/types/runtime3d/Decals.d.ts +65 -0
- package/packages/types/runtime3d/DensityVolume.d.ts +39 -0
- package/packages/types/runtime3d/DistanceBricks.d.ts +97 -0
- package/packages/types/runtime3d/Dither.d.ts +78 -0
- package/packages/types/runtime3d/DrawWarmUp.d.ts +93 -0
- package/packages/types/runtime3d/EdgeSmoothing.d.ts +10 -0
- package/packages/types/runtime3d/EnvironmentProbe.d.ts +139 -0
- package/packages/types/runtime3d/Filmic.d.ts +243 -0
- package/packages/types/runtime3d/Foliage.d.ts +95 -0
- package/packages/types/runtime3d/GltfIntake.d.ts +236 -0
- package/packages/types/runtime3d/GltfSecondUv.d.ts +54 -0
- package/packages/types/runtime3d/GraphicsGuard.d.ts +18 -0
- package/packages/types/runtime3d/Grass.d.ts +226 -0
- package/packages/types/runtime3d/GroundTruthAO.d.ts +64 -0
- package/packages/types/runtime3d/HalfFloat.d.ts +13 -0
- package/packages/types/runtime3d/HdrEnvironment.d.ts +144 -0
- package/packages/types/runtime3d/Ik.d.ts +123 -0
- package/packages/types/runtime3d/InputBuffer.d.ts +49 -0
- package/packages/types/runtime3d/InstancedMesh.d.ts +116 -0
- package/packages/types/runtime3d/Laya342Adapters.d.ts +306 -0
- package/packages/types/runtime3d/Laya342GltfAdapter.d.ts +105 -0
- package/packages/types/runtime3d/LensFinish.d.ts +38 -0
- package/packages/types/runtime3d/LensFlare.d.ts +114 -0
- package/packages/types/runtime3d/LightFog.d.ts +190 -0
- package/packages/types/runtime3d/LightingDepth.d.ts +128 -0
- package/packages/types/runtime3d/Lightmap.d.ts +55 -0
- package/packages/types/runtime3d/Math3D.d.ts +19 -0
- package/packages/types/runtime3d/MeshQuery.d.ts +107 -0
- package/packages/types/runtime3d/MeshoptModelDecoder.d.ts +34 -0
- package/packages/types/runtime3d/MiniGameSplash.d.ts +4 -0
- package/packages/types/runtime3d/ModelAnimationSampler.d.ts +26 -0
- package/packages/types/runtime3d/ModelCompatibility.d.ts +169 -0
- package/packages/types/runtime3d/ModelDecoder.d.ts +66 -0
- package/packages/types/runtime3d/ModelInspector.d.ts +77 -0
- package/packages/types/runtime3d/ModelLod.d.ts +61 -0
- package/packages/types/runtime3d/ModelPlacements.d.ts +77 -0
- package/packages/types/runtime3d/ObjectMotion.d.ts +43 -0
- package/packages/types/runtime3d/PhysicalCamera.d.ts +51 -0
- package/packages/types/runtime3d/PointShadow.d.ts +71 -0
- package/packages/types/runtime3d/PointShadowSchedule.d.ts +74 -0
- package/packages/types/runtime3d/Pool.d.ts +33 -0
- package/packages/types/runtime3d/ProbeVolume.d.ts +123 -0
- package/packages/types/runtime3d/QualityGovernor.d.ts +201 -0
- package/packages/types/runtime3d/QualityMemory.d.ts +83 -0
- package/packages/types/runtime3d/RenderScale.d.ts +69 -0
- package/packages/types/runtime3d/RenderSpaces.d.ts +44 -0
- package/packages/types/runtime3d/Renderer.d.ts +62 -0
- package/packages/types/runtime3d/ResultPlayback.d.ts +70 -0
- package/packages/types/runtime3d/Runtime.d.ts +136 -0
- package/packages/types/runtime3d/RuntimeDriver.d.ts +42 -0
- package/packages/types/runtime3d/SceneLifecycle.d.ts +84 -0
- package/packages/types/runtime3d/SceneMutation.d.ts +34 -0
- package/packages/types/runtime3d/SceneQueries.d.ts +71 -0
- package/packages/types/runtime3d/ScreenReflections.d.ts +78 -0
- package/packages/types/runtime3d/SelectionOutline.d.ts +68 -0
- package/packages/types/runtime3d/ShaderErrors.d.ts +27 -0
- package/packages/types/runtime3d/ShaderRegistry.d.ts +10 -0
- package/packages/types/runtime3d/ShaderWarmUp.d.ts +162 -0
- package/packages/types/runtime3d/ShadowUpdates.d.ts +125 -0
- package/packages/types/runtime3d/SkinBinding.d.ts +53 -0
- package/packages/types/runtime3d/Smaa.d.ts +60 -0
- package/packages/types/runtime3d/SmaaTables.d.ts +12 -0
- package/packages/types/runtime3d/SpringBones.d.ts +69 -0
- package/packages/types/runtime3d/SurfaceBuffer.d.ts +28 -0
- package/packages/types/runtime3d/Surfaces.d.ts +326 -0
- package/packages/types/runtime3d/Themes.d.ts +70 -0
- package/packages/types/runtime3d/Timeline.d.ts +88 -0
- package/packages/types/runtime3d/ToneCurves.d.ts +59 -0
- package/packages/types/runtime3d/TransformGizmo.d.ts +139 -0
- package/packages/types/runtime3d/TriangleMask.d.ts +84 -0
- package/packages/types/runtime3d/Underwater.d.ts +120 -0
- package/packages/types/runtime3d/Utf8.d.ts +12 -0
- package/packages/types/runtime3d/Vrm.d.ts +120 -0
- package/packages/types/runtime3d/VrmDocument.d.ts +381 -0
- package/packages/types/runtime3d/WalkGrid.d.ts +94 -0
- package/packages/types/runtime3d/WebGPU342Adapters.d.ts +27 -0
- package/packages/types/runtime3d/index.d.ts +102 -0
- package/packages/types/shaders/Laya342ShaderTemplates.d.ts +3 -0
- package/packages/types/shaders/LitSurfaceMaterial.d.ts +257 -0
- package/packages/types/shaders/LitSurfaceTemplates.d.ts +7 -0
- package/packages/types/shaders/ReflectiveSurface.d.ts +58 -0
- package/packages/types/shaders/ShaderMaterials.d.ts +60 -0
- package/packages/types/shaders/ToonMaterial.d.ts +176 -0
- package/packages/types/shaders/WaterRipples.d.ts +48 -0
- package/packages/types/shaders/WaterSurface.d.ts +110 -0
- package/packages/types/shaders/ZhudaCommon.d.ts +31 -0
- package/packages/types/shaders/index.d.ts +7 -0
- package/packages/types/simulation/Cloth.d.ts +381 -0
- package/packages/types/simulation/ParticleCore.d.ts +125 -0
- package/packages/types/simulation/SpringBones.d.ts +107 -0
- package/packages/types/simulation/index.d.ts +4 -0
- package/packages/types/terrain/Heightfield.d.ts +67 -0
- package/packages/types/terrain/Terrain2D.d.ts +81 -0
- package/packages/types/terrain/Terrain3D.d.ts +80 -0
- package/packages/types/terrain/TerrainShell.d.ts +8 -0
- package/packages/types/terrain/index.d.ts +4 -0
- package/packages/types/vendor/LayaAir.runtime.d.ts +97440 -0
- package/packages/types/vendor/REPAIRS.md +30 -0
- package/packages/types/vendor/restored-3.4.2.json +142 -0
- package/packages/types/vendor/spine.runtime.d.ts +1507 -0
- package/packages/types/vendor/wechat-media.d.ts +877 -0
- package/packages/types/zhuda-2d-ui.d.ts +244 -0
- package/packages/types/zhuda-3d-physics.d.ts +34 -0
- package/packages/types/zhuda-audio.d.ts +128 -0
- package/packages/types/zhuda-bootstrap.d.ts +100 -0
- package/packages/types/zhuda-branding.d.ts +6 -0
- package/packages/types/zhuda-core.d.ts +46 -0
- package/packages/types/zhuda-declarative.d.ts +81 -0
- package/packages/types/zhuda-effects.d.ts +302 -0
- package/packages/types/zhuda-layout.d.ts +96 -0
- package/packages/types/zhuda-particles.d.ts +477 -0
- package/packages/types/zhuda-spine42.d.ts +23 -0
- package/packages/types/zhuda-static-assets.d.ts +389 -0
- package/packages/types/zhuda-video.d.ts +24 -0
- package/packages/types/zhuda-visual-contract.d.ts +52 -0
- package/packages/types/zhuda-webview.d.ts +43 -0
- package/vendor/basis/LICENSE.txt +55 -0
- package/vendor/basis/README.md +25 -0
- package/vendor/basis/basis_transcoder.js +19 -0
- package/vendor/basis/basis_transcoder.wasm +0 -0
- package/vendor/laya-3.4.2/WEBGPU-LICENSES.txt +1259 -0
- package/vendor/laya-3.4.2/libs/laya.ani.js +1 -0
- package/vendor/laya-3.4.2/libs/laya.box2D.js +1209 -0
- package/vendor/laya-3.4.2/libs/laya.bridge.js +2273 -0
- package/vendor/laya-3.4.2/libs/laya.bullet.js +1 -0
- package/vendor/laya-3.4.2/libs/laya.core.js +1 -0
- package/vendor/laya-3.4.2/libs/laya.d3.js +1 -0
- package/vendor/laya-3.4.2/libs/laya.device.js +1 -0
- package/vendor/laya-3.4.2/libs/laya.gltf.js +1 -0
- package/vendor/laya-3.4.2/libs/laya.ik.js +1 -0
- package/vendor/laya-3.4.2/libs/laya.light2D.js +1 -0
- package/vendor/laya-3.4.2/libs/laya.line2D.js +1 -0
- package/vendor/laya-3.4.2/libs/laya.native-spine42.js +7672 -0
- package/vendor/laya-3.4.2/libs/laya.navMesh2d.js +1 -0
- package/vendor/laya-3.4.2/libs/laya.navMesh3d.js +1 -0
- package/vendor/laya-3.4.2/libs/laya.navMeshCommon.js +1 -0
- package/vendor/laya-3.4.2/libs/laya.particle.js +1 -0
- package/vendor/laya-3.4.2/libs/laya.particle3D.js +1 -0
- package/vendor/laya-3.4.2/libs/laya.particleCommon.js +1 -0
- package/vendor/laya-3.4.2/libs/laya.physics2D.js +3774 -0
- package/vendor/laya-3.4.2/libs/laya.physics3D.js +1 -0
- package/vendor/laya-3.4.2/libs/laya.postProcess.js +1 -0
- package/vendor/laya-3.4.2/libs/laya.spine.js +1 -0
- package/vendor/laya-3.4.2/libs/laya.spine3D.js +1 -0
- package/vendor/laya-3.4.2/libs/laya.tilemap.js +1 -0
- package/vendor/laya-3.4.2/libs/laya.trail2D.js +1 -0
- package/vendor/laya-3.4.2/libs/laya.trail3D.js +1 -0
- package/vendor/laya-3.4.2/libs/laya.trailCommon.js +1 -0
- package/vendor/laya-3.4.2/libs/laya.ui.js +1 -0
- package/vendor/laya-3.4.2/libs/laya.ui2.js +9904 -0
- package/vendor/laya-3.4.2/libs/laya.vfx.js +6754 -0
- package/vendor/laya-3.4.2/libs/laya.webgl_2D.js +1 -0
- package/vendor/laya-3.4.2/libs/laya.webgl_3D.js +1 -0
- package/vendor/laya-3.4.2/libs/laya.webgpu_2D.js +18576 -0
- package/vendor/laya-3.4.2/libs/laya.webgpu_3D.js +6729 -0
- package/vendor/laya-3.4.2/libs/nagabind.js +395 -0
- package/vendor/laya-3.4.2/libs/nagabind_bg.wasm +0 -0
- package/vendor/laya-3.4.2/libs/shader_compiler_web.js +22 -0
- package/vendor/laya-3.4.2/libs/shader_compiler_web.wasm +0 -0
- package/vendor/laya-3.4.2/libs/spine-core-3.8.js +1 -0
- package/vendor/laya-3.4.2/libs/spine-core-4.2.js +10216 -0
- package/vendor/laya-3.4.2/webgpu-provenance.json +41 -0
- package/vendor/meshoptimizer/LICENSE.txt +21 -0
- package/vendor/meshoptimizer/README.md +13 -0
- package/vendor/threejs-post/LICENSE.txt +53 -0
- package/vendor/threejs-post/README.md +54 -0
- package/zhuda.config.json +22 -0
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
# Development plans
|
|
2
|
+
|
|
3
|
+
This directory contains proposed work that is not part of the current public
|
|
4
|
+
runtime contract. A plan becomes an implementation only after its entry criteria,
|
|
5
|
+
device checks and acceptance gates pass.
|
|
6
|
+
|
|
7
|
+
## Statuses
|
|
8
|
+
|
|
9
|
+
- **Proposed** — a decision and measurement plan exists; no implementation is promised.
|
|
10
|
+
- **In progress** — the plan is actively being implemented; its acceptance scope is not yet complete.
|
|
11
|
+
- **Implemented within scope** — the documented implementation and stated environment checks passed; remaining device, product or follow-up work stays explicitly listed.
|
|
12
|
+
- **Accepted** — the implementation and the plan's acceptance evidence passed.
|
|
13
|
+
- **Deferred** — the work remains useful but is waiting for a dependency or decision.
|
|
14
|
+
- **Rejected** — measurements or constraints ruled out the approach.
|
|
15
|
+
|
|
16
|
+
## Planned work
|
|
17
|
+
|
|
18
|
+
| Plan | Status | Decision it prepares |
|
|
19
|
+
| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
20
|
+
| [Prefab isolation and consumer tooling](prefab-toolchain.md) | Implemented within scope | P0 consumer Prefab preview and evidence gate delivered; P1/P2 UI, lifecycle, media and device work remains |
|
|
21
|
+
| [Deferred asset packaging](asset-packaging.md) | Implemented within scope | Optional shared chunk delivery and embedded Meshopt adapter; production chunk split, Draco/KTX2 and mobile evidence remain pending |
|
|
22
|
+
| [Consumer delivery follow-ups](consumer-delivery-followups.md) | Implemented within scope | Sample/BGM audio, module-level dependency evidence and strict declaration audit are delivered; broader graph and device work remains |
|
|
23
|
+
| [WebGPU delivery](records/webgpu-delivery/task.md) | Implemented; desktop verified | Real backend, exclusive compiler/browser delivery, GPU lifecycle and Windows reproducible entry; Windows hardware unavailable |
|
|
24
|
+
| [White-label/theme foundation (historical pilot)](records/slot-factory-foundation/task.md) | Implemented; desktop verified | White-label, immutable themes, result presentation recovery and measured neutral 2D pilot; customer/native/device acceptance separate |
|
|
25
|
+
| [Asset showcase hardening](records/asset-showcase-hardening/task.md) | Implemented; desktop verified | Required glTF gates, Morph repairs, public inspector and same-instance presentation; seller/device limits explicit |
|
|
26
|
+
| [Crowd runtime hardening](records/crowd-runtime-hardening/task.md) | Implemented; desktop verified | Shared animation/model lifecycle, presentation LOD, VFX admission, GPU/raw profiler and independent skinned benchmark |
|
|
27
|
+
| [Consumer runtime feedback](records/runtime-feedback/task.md) | Implemented; desktop verified | DPR, streams, voice retirement, driver/recovery, backend seam and clean declarations; physical devices unavailable |
|
|
28
|
+
| [Browser SDK delivery](records/browser-sdk-delivery/task.md) | Implemented; desktop verified | Versioned browser bundles, SRI, hosted examples and cross-origin HTML; mobile unavailable |
|
|
29
|
+
| [Consumer integration feedback](records/lifecycle-feedback-hardening/task.md) | Implemented; desktop verified | Lifecycle completion, official candidate acceptance, component proofs and leased primitive resources; physical devices unavailable |
|
|
30
|
+
| [Cinematic production](cinematic-production/task.md) | Implemented; macOS verified | Synchronous native sampling, physical lens/shutter capture, shared offline audio and atomic MP4; scene-linear HDR and additional platforms remain separate |
|
|
31
|
+
| [Desktop and Agent gates](desktop-and-agent-gates/task.md) | Implemented; macOS verified | [Hardening and evidence](desktop-and-agent-gates/hardening-verification.md): packaged host, PNG sequence comparison, timeline/recorder and actual Meshopt; Windows hardware still pending |
|
|
32
|
+
| [Windows WebGPU feedback](records/windows-webgpu-feedback/task.md) | Implemented within scope; Windows hardware pending | Cross-platform Prefab cleanup/diagnostics, model complexity preflight and DCC axis contract; ReflectionProbe reproduction and Windows hardware remain unavailable |
|
|
33
|
+
| [Official mini-game CLI packaging](records/minigame-cli/task.md) | Implemented; macOS packaged | Official LayaAir 3.4.2 headless builds for registered mini-game targets; host/device and store evidence remain consumer-owned |
|
|
34
|
+
| [DPR CSS canvas sizing](records/dpr-css-canvas/task.md) | Implemented within scope | Keep responsive CSS coordinates separate from capped WebGL backing pixels |
|
|
35
|
+
| [Slot symbol Prefab example](records/slot-symbol-prefab/task.md) | Accepted; desktop WebGL verified | Reusable replace-art symbol Prefab, isolated browser preview, provenance and 30-cycle evidence |
|
|
36
|
+
| [SVG layout wireframes](records/layout-wireframe/task.md) | Accepted; CLI and consumer gate verified | Model-independent design-coordinate contracts, SVG overlays and self-contained layout preview |
|
|
37
|
+
| [Project asset workspace](records/asset-browser/task.md) | Implemented within scope; API and build verified | Unity/Laya-style asset folders and cards shared by the Web editor; browser/device visual acceptance remains consumer-owned |
|
|
38
|
+
| [3D model editor](records/model-editor-3d/task.md) | In progress; macOS WebGL verified | Public-provider GLB/glTF workspace with live Sprite3D hierarchy and same-instance presentation; Windows/mobile and seller-model acceptance remain pending |
|
|
39
|
+
| [Prefab editor responsive layout](records/prefab-editor-responsive/task.md) | Implemented within scope; desktop verified | Wrapping toolbar, scrollable narrow panels, full Agent canvas, container and height-driven fit with 37 browser checks |
|
|
40
|
+
| [Prefab editor Play preview](records/prefab-editor-play/task.md) | Implemented within scope; desktop verified | Disposable Edit/Play instances, public consumer controllers, interaction isolation and lifecycle cleanup |
|
|
41
|
+
| [Prefab editor coordinates](records/prefab-editor-coordinates/task.md) | Implemented within scope; 174 desktop checks | Retina container sizing, transformed selection/pivot, parent-local dragging and browser position assertions |
|
|
42
|
+
| [Disclosure hardening](records/disclosure-hardening/task.md) | Accepted within engine scope | Editor Host/Origin/capability defenses, working installed CLIs, strict generated types, truthful MCP/health, lean reproducible package and CI (Windows full tests pass) |
|
|
43
|
+
| [Procedural asset pipeline](records/procedural-pipeline/task.md) | Implemented within scope; desktop WebGL verified | CPU-baked seamless PBR recipes, geometry kit, props with colliders and per-material merging, synth audio and provider integration; WebGPU, mobile and art approval pending |
|
|
44
|
+
| [Game look and frame budget](records/game-look/task.md) | Implemented within scope; desktop WebGL and WebGPU verified in a consumer game | `ZhudaSceneLook` (a film look on a game Scene, four quality levels), `ZhudaQualityGovernor` (holds a frame budget), cheaper mirrors and beams, and the WebGPU fix for scenery loaded while a game runs; CPU submit time only, no GPU timing, no Windows run, no level of detail |
|
|
45
|
+
| [Model glow while running](records/model-emission/task.md) | Implemented within scope; drawn on desktop WebGL | `PrefabInstance.setEmission(name, scale)` and `setEmission` on a mounted model: windows and lanterns that light at dusk; shared by every copy of the model; no drawn WebGPU check in this repository |
|
|
46
|
+
| [Live look and lit vertex hook](records/live-look-vertex-hook/task.md) | Implemented within scope; drawn on desktop WebGL and WebGPU | `setLook` on a mounted stage and on `ZhudaSceneLook` (in place for continuous values), a vertex hook for lit materials that the shadow and depth passes run too, in-place sky-and-ground light, `ZhudaWaterSurface.setSun`; grade and light-fog values other than exposure still rebuild; Windows and mobile not run here |
|
|
47
|
+
| [LayaAir tribute splash](records/layaair-tribute-splash/task.md) | Implemented; drawn in desktop Chrome | The default splash is the LayaAir mark and "Powered by LayaAir Engine"; one record names the picture and words; custom and none unchanged; the picture is a redrawing, no official file |
|
|
48
|
+
| [Gaps reported by a procedural scene probe](records/larkhollow-gaps/task.md) | Implemented except ground-snapped placement and GPU baking | Terrain tangents, public bake key, stage quality levels, switchable lights, weather values in place, padded mesh bounds, two-sided lit materials, Windows-safe test links, and a check that a released SDK version is not reused for changed source; no real draw of a normal-mapped terrain; Windows cases not run here |
|
|
49
|
+
| [Levels of detail for model copies](records/model-lod/task.md) | Implemented within scope; drawn on desktop WebGL and WebGPU | `lod` and `cullMeters` on model prefab nodes and `PrefabInstance.updateLod(eye)`: full models near the eye, lighter ones farther, nothing beyond a limit; frame-rate gain not measured reliably, no fade, no skinned levels |
|
|
50
|
+
| [glTF vertex colours](records/gltf-vertex-colors/task.md) | Implemented within scope; desktop WebGL and WebGPU verified | A model's `COLOR_0` multiplies its base colour, as glTF specifies: LayaAir 3.4.2 dropped it and misread normalized or three-component colours; skinned and sparse cases have no fixture |
|
|
51
|
+
| [Model prefabs](records/prefab-models/task.md) | Implemented within scope; desktop WebGL verified | `PrefabModelsDefinition` (`kind: 'models'`): scenery of GLB models and copies as a prefab through `ZhudaPrefabLibrary`, sharing the film stage's mounting code; `zhudaPrefabFromFilmScene` converts a film scene's scenery; no level of detail, WebGPU preview and mobile not run |
|
|
52
|
+
| [LayaAir 3.4.3 upgrade](records/laya-3.4.3-upgrade/decision.md) | Decided: stay on 3.4.2 | 3.4.3 was measured on a throwaway branch: compatible (all film verifications pass on WebGL and WebGPU) but it fixes none of the four WebGPU defects the adapters work around, and adopting it means redoing every pinned hash and bundle size |
|
|
53
|
+
| [Film nature: copies, leaves and water](records/film-nature/task.md) | Implemented within scope; desktop WebGL and WebGPU verified | Model `placements` (up to 20 000 copies), `translucent` leaves, a film `water` node (`ZhudaWaterSurface`: visible bed, depth colour, flowing waves, mirrored scene, foam) and the WebGPU fix for 32-bit indices in merged batches; no level of detail, flat water only |
|
|
54
|
+
| [Quality defaults and the quality route](records/quality-defaults/task.md) | In progress; desktop WebGL verified on a software GPU only | Fixes found by drawing scenes: the ambient-occlusion colour LayaAir leaves unset (creases glowed from the second mounted scene on), a WebGL error on every in-place light-fog and environment update, light fog that undid multisampling. Defaults: fog colour from the sky, multisampled graded looks, anisotropic textures, reflectors that cut what lies below them. For agents: `lintZhudaFilmScene` advice and `measureZhudaFrame` metrics in the MCP film replies, `get_quality_route`, `docs/quality-route.md`, a 3D scaffold on the route. `verify:film-remount` and `verify:quality-route` draw. Not run: the pinned toolchain, a real GPU, WebGPU |
|
|
55
|
+
| [three.js gap audit](records/threejs-gap-audit/plan.md) | Proposed; a read-only comparison by 25 agents, every finding checked from both sides | 225 findings against three.js r187, 138 where three.js is better, ordered into work packages WP0..WP16. Nothing drawn or timed for the audit itself. |
|
|
56
|
+
| [Techniques from Abyssal Garden](records/abyssal-garden-techniques/plan.md) | Implemented: AG1 to AG6 (desktop WebGL and WebGPU; AG2, AG3 and AG1's regression checks also on a vivo V40) | What a procedural WebGPU underwater scene shows that the engine lacks, as work packages AG1..AG6: a draw-distance rung, GPU time, memory between visits and a load-crash fallback for the governor; a fly-through benchmark and a blind critic gate; an underwater medium with caustics and the surface seen from below; floating-piece removal and GPU density for isosurfaces; a distance query near a surface. |
|
|
57
|
+
| [Mesh boolean operations (CSG)](records/mesh-csg/plan.md) | Implemented as the optional entry `zhuda-laya-engine/csg` (BSP; desktop WebGL and WebGPU; planar cuts chain closed, repeated curved cuts do not) | Union, subtract and intersect on `MeshData` as an optional `zhuda-laya-engine/csg` subpath, ported from an MIT base (BSP first, BVH or manifold-3d if measured sizes need it) without three.js; offline booleans in Blender until then. Not a three.js gap: its core has none. |
|
|
58
|
+
| [Windows acceptance fixes](records/windows-acceptance/plan.md) | Implemented within scope; all 19 items closed on the report's Windows host (Intel UHD 770, desktop session), with macOS and a vivo V40 for comparison; QA-01 was a browser session's first frames, QA-04 not reproduced; hardware CI lanes stay a manual procedure | 19 items from 313 runs on Intel UHD 770 and RTX 3060 (163 pass, 150 fail): npm launch, symlinks, file-URL imports and browser cleanup that stop unmodified source on Windows; installer metadata and Squirrel events; WebGPU heap growth over remounts; WebGL TAA, SMAA, Basis, wet reflection and specular AA; measurement quality, CI lanes and advisories. Evidence stays on the Windows host. |
|
|
59
|
+
| [Two Adreno findings](records/phone-findings-adreno/task.md) | Implemented within scope; vivo V40 WebGL and WebGPU, macOS and the Windows host | SMAA reads at each pixel's centre (Adreno's interpolated coordinate missed it), and specular AA takes a normal map's shortening as a number rather than the length of a normalized normal |
|
|
60
|
+
| [WebGPU pipeline without the reflection probe block (issue #8)](records/webgpu-node-bindings/task.md) | Implemented within scope; reproduced and fixed on macOS, the Windows host and the vivo V40, both backends; verified in the game of the issue by its own session (0 errors in 11 rounds, `renderer: auto`) | A render whose shader reads the reflection probe block and holds none shares the variant of one that held it (LayaAir keys variants by defines only), so on WebGPU its pipeline is invalid and the whole frame fails. Such a render is now given the scene's probe, as LayaAir's instanced draw does; `verify:node-bindings` |
|
|
61
|
+
| [The open engine defects (2026-11-17)](records/engine-defects/task.md) | Implemented within scope; macOS (every check, both backends), the Windows host, an iPhone 14 and a vivo V40 | A shadow-casting sun stays the main light beside a brighter rim (WP22); a WebGPU program that does not compile leaves its objects undrawn instead of stopping the engine (WP23); LayaAir's batch marks, WebGPU and WebGL, freed when they hold nothing (MEM-01); the health table of a WebGPU page; lit surfaces of one name with other starting values; `strands.strength` dims both bands; browser checks build fresh bundles |
|
|
62
|
+
| [Ten patches from the outside review (2026-11-20)](records/outside-review-patches/task.md) | Implemented within scope; macOS (Apple M4) on WebGL and WebGPU; no Windows, Android or iPhone run | Shared manifest loads, prefab-library and film-asset disposal (LIFE-01..03); the film host's capture time; FXAA and lens finish at the frame's edge; the panorama sky's seam; the colour table's slices; solids beyond 2.2 km under clouds; glTF primitives with different attributes; **`COLOR_0` read as glTF's linear value (models with baked vertex shade draw brighter)** |
|
|
63
|
+
| [What a frame costs on a phone](records/phone-cost/task.md) | In progress; four engine changes made and measured on one phone (vivo V40) | Lighter models, models cut into squares, ground that casts no shadow, one-pass edge smoothing at quality level 1, a reach for level-of-detail distances. A consumer game's medium setting went from 25..42 ms to 13..19 ms a frame, but at the lowest look level, where its governor settles on this phone. Higher look levels still cost 24..64 ms there. |
|
|
64
|
+
| [Frame-rate tiers, measured](records/quality-tiers/task.md) | In progress; measured on this Mac, a vivo V40 and an iPhone 14 (WebGL); `verify:quality-governor` not passing on this Mac under load, with or without the change | The owner's three tiers by frame rate (60 and over on every target; 45 to 60; 10 to 45). `scripts/measure-quality-tiers.mjs` gives the rate of each look level and render scale on a device and where the time goes. On the V40 the picture's size decides (level 1 at 0.7 is inside 45 to 60); on the iPhone the number of draws does (instanced houses: 31..35 to 45..49). The tiers are data (`ZHUDA_FRAME_TIERS`, `zhudaTierBudgetMs`), the default ladder keeps the HDR chain one rung longer (level 1 at 0.5), and a frame of many draws gets advice. Open: what a pass into its own target costs the iPhone, the iPhone on WebGPU, a cheaper HDR chain |
|
|
65
|
+
| [Three requests of the outside review's scenes and models](records/review-requests/task.md) | Implemented within scope; macOS (Apple M4), WebGL and WebGPU; no phone | A film scene's model node takes `cullMeters`, `castShadow` and `cellMeters`; a skin of more than 24 joints is ordered at load so that LayaAir cuts it into few pieces (a boss of 40 joints: 47 draws to 7, the same picture); `aoMethod: 'gtao'` is the occlusion that does not draw the scene again |
|
|
66
|
+
| [The line across clear water](records/underwater-seam/task.md) | Implemented within scope; macOS (Apple M4), WebGL and WebGPU, and four stills of the consumer that found it; no phone | Under clear water the plane of the surface ends at `maxDistance` and the sky behind it showed past its edge as a level line. A sphere just inside the camera's far plane now carries the surface on and the water's own light below the horizon; a ray going up with nothing in its way counts all the water to the surface |
|
|
67
|
+
| [The rest of the outside review's requests](records/review-requests-2/task.md) | Implemented within scope; macOS (Apple M4), WebGL and WebGPU; no phone | The film scene format takes prop distance settings, cut-out, blended and two-sided materials, a recipe's own silhouette, close-range `detail`, `grass` and `terrain` nodes and `projection: 'triplanar'` with a `top` recipe; the film host answers height and ray questions (`film_scene_query`), reads an edited pack again and reports its fingerprint; glow lights its surroundings through `bounceLight`, with a check and an advice rule. The page's and the host's draw counts are not brought together, and probe-cell lines show in a dark glow scene |
|
|
68
|
+
| [Every route in one place, in one format](records/route-registry/task.md) | Implemented within scope; documents and read-only MCP tools; no agent was run on them | Every route is `docs/routes/<id>.md` with one header and eight sections: seven workflow routes written from the guides (a new game, a 3D scene that looks good, a film as data, a model from a DCC tool, prefabs, one HTML page, a mini-game build) beside the four scene routes; `list_routes` and `get_route` over MCP; a stricter audit; the week's scene-format features in `film_scene_create`'s text and two new steps of the quality route |
|
|
69
|
+
| [Ready 3D effects and picture materials](records/ready-effects/task.md) | Implemented within scope; macOS (Apple M4), WebGL and WebGPU; no phone | Eighteen 3D effects as data (fire, smoke, sparks, explosion, magic, rain, snow, leaves, bubbles) on eleven sprites made by a program, played by `ZhudaEffect3D` and placed by a film scene's `effect` node; a film material that is a picture among the assets (`picture`, `normal`, `tileMeters`). The texture pictures themselves live outside the repository. Nothing was removed from `assets/` (the owner decided on 2026-11-23 to keep the built-in examples); the 2D presets came later (next rows) |
|
|
70
|
+
| [VRM 1.0 avatars](records/vrm-import/task.md) | Implemented within scope; desktop WebGL (SwiftShader, a Linux container); no WebGPU, no phone, no third-party avatar | `ZhudaModelLibrary` reads `VRMC_vrm`, `VRMC_springBone`, `VRMC_materials_mtoon` and `VRMC_node_constraint` into `instance.vrm` (`readZhudaVrm`, each problem with its JSON path; VRM 0.x refused by name); `ZhudaVrm` applies them: humanoid bones, expressions on morph targets, material colours and texture offsets with the specification's overrides, gaze by bone or expression, roll/aim/rotation constraints, spring bones on the engine's solver (per-bone settings, VRM's per-frame values as rates), MToon as `ZhudaToonMaterial` with a new shade colour. `npm run verify:vrm` draws an avatar the test makes itself. Not drawn: matcap, UV animation, a spring's center space, first-person layers |
|
|
71
|
+
| [Ready 2D effects and a 2D route](records/ready-effects-2d/task.md) | Implemented within scope; desktop WebGL (SwiftShader, a Linux container); no WebGPU, no phone | Twenty 2D effects as data (coin-burst, level-up, hit-spark, explosion, smoke-puff, confetti, landing-dust, click-ripple, sparkle, torch, campfire, magic-aura, heal, rain, snow, falling-leaves, petals, bubbles, embers, sparkle-trail) in pixels on the built-in sprites, played by `ZhudaEffect2D` on the existing 2D particles (`update`, `seek`, `stop`, `setPosition`, `dispose`); its sprites premultiplied sRGB as LayaAir's own 2D pictures (marked as data a half-alpha pixel showed 191 of 255 instead of 135); `npm run verify:effects-2d`; the workflow route `game-2d` |
|
|
72
|
+
| [Lighter versions of a model](records/model-simplify/task.md) | Implemented within scope; a build-time tool, checked on two consumer models | `zhuda-laya-lod` writes a `.glb` again with a share of its triangles: solid surfaces simplified, leaf cards thinned and grown, vertex data compacted. Follows phone measurements (a million triangles is about 5 ms on an Adreno 720). `--split` cuts a street-long mesh into squares and `castShadow: false` keeps ground out of the shadow map. In one consumer game on a vivo V40 the medium setting went from 25..42 ms a frame to 12..25. |
|
|
73
|
+
| [Shadow bias on faces turned from the light](records/shadow-bias-away-faces/task.md) | Implemented within scope; verified in one consumer scene on desktop WebGL and WebGPU | A paved road lay in its own shadow all day: LayaAir pulls shadow casters back along their normals, which is toward the sun for a face that looks away from it. `installLaya342ShadowBias` fades that pull out. No isolated GPU reproduction was found. |
|
|
74
|
+
| [A dynamic particle/ribbon mesh kept its first drawn count](records/dynamic-mesh-draw-range/task.md) | Implemented; real draw on macOS, WebGPU and WebGL; no phone run | `DynamicParticleMesh3D` set a new index range on the submesh, but LayaAir 3.4.2 copies it into the draw call only when a mesh is assigned, so ribbons (`ZhudaRibbonPath3D`, `ZhudaRibbonTrail3D`) and particle systems whose count changed after their first draw kept the first count on both backends. `submit()` now refreshes the draw parameters; `verify:ribbon-growth` checks it with screenshots |
|
|
75
|
+
| [A scene drawn once before it is shown](records/draw-warm-up/task.md) | Implemented; real draw on macOS, WebGPU and WebGL; consumer prototype on a V40 | `zhudaWarmUpByDrawing` draws the scene from the eyes a game names, every way round and down, behind its loading screen, with a hook for the game's own passes (a water mirror); the first frame compiles nothing and on WebGPU the pipelines are made too. The first 20 s of slower frames on the V40 stay unexplained |
|
|
76
|
+
| [Shadows drawn less often and a smaller picture](records/frame-cost/task.md) | Implemented within scope; desktop WebGL and WebGPU verified, measured on one phone | WP1 of the three.js audit: `shadows.update` (`every`, `interval`, `manual`) through `ZhudaShadowUpdates`, which repairs LayaAir's own skipping (frames lost on WebGPU, shaders compiled on a skipped frame broken on WebGL) and keeps the maps for the look's camera (a water's mirror at its defaults reads them; any other camera that draws its own makes the look's camera draw again); a render scale 0.5..1 on `ZhudaSceneLook` with FSR 1 (EASU then RCAS) at canvas size, sharper than LayaAir's stretch in the four looks drawn, the interface sharp; `zhudaQualitySteps` for the governor. On a vivo V40 in one game: a picture at 0.67 takes 25 to 30 % off a frame at look levels 1 and 2 (11 to 15 ms at level 2) and 1 to 4 ms at level 0, FSR costs up to 3 ms over the stretch and reads nearly as full size, shadows every third frame save 0.3 to 2.9 ms; 60 frames a second at level 2 is still out of reach there. [Verification](records/frame-cost/verification.md). |
|
|
77
|
+
| [Grass field](records/grass-field/task.md) | Implemented within scope; desktop WebGL and WebGPU verified | `ZhudaGrassField`: curved blades in clumps over turf, made round the eye in patches and thinned with distance, wind on the graphics card; `backFaces: 'same'` for lit surfaces. Phones untested, frame times not measured. |
|
|
78
|
+
| [Small game services](records/game-services/task.md) | Implemented within scope; desktop Chrome verified (audio render, WebGL and WebGPU draws) | Spatial samples in `IframeSoundAdapter` (PannerNode with HRTF, `setListener`, `setVoicePosition`, a gain and stereo-pan fallback without PannerNode), `ZhudaTriangleBvh` picking as a `ZhudaSceneQueries` provider, extrusions with holes and bevels, Catmull-Rom and LayaAir `CurvePath` feeds, a curve tube, torus and ring. The five points its review left open were closed on 2026-11-15 (a `CurvePath` is sampled evenly by length; `IframeSoundAdapterDiagnostics`). Devices, speakers and how HRTF sounds not verified; no skinned picking. [Verification](records/game-services/verification.md). |
|
|
79
|
+
| [glTF intake](records/gltf-intake/task.md) | Implemented within scope; desktop WebGL and WebGPU verified | `KHR_meshopt_compression` with its COLOR filter; quantized vertices turned into floats before LayaAir parses them; `EXT_texture_webp`/`EXT_texture_avif` chosen by what the device decodes (a decoder that gives the probe no answer is asked again, not remembered as a no); embedded pictures through a Blob URL, one texture a picture as in LayaAir's own parse (sampled heap peak about 335 MB down to under 0.3 MB for a 10 MB PNG); `KHR_lights_punctual` lights on request, extras and cameras on `instance.gltfNodes`; report codes for each, including a picture that does not decode. One review round applied. Phones, other browsers, a device that really lacks a decoder and DCC-exported files not run; On 2026-11-15: `EXT_mesh_gpu_instancing` drawn by `mountZhudaModel` (now exported), occlusion and emissive textures on `TEXCOORD_1`, Meshopt in workers. [Verification](records/gltf-intake/verification.md). |
|
|
80
|
+
| [Physical surfaces](records/physical-surfaces/task.md) | Implemented within scope; desktop WebGL and WebGPU verified | `createSurfaceMaterial({ type: 'physical' })` on LayaAir's glTF shader: sheen, thin-film iridescence, ior and specular, glass (`transmission` with `volume`, which asks the camera's opaque pass), clear-coat maps, and `anisotropyRotationDeg` at any angle (on `pbr` too). Six textures at most (`physicalSurfaceTextureLimit`): a shader stage holds 16 samplers and a lit scene takes 10 on WebGPU. Drawn: cloth, a brushed disc, glass over a checkerboard, a thin film, each texture slot alone, six textures under every light and shadow; glass does not see glass behind it; phones not run. On 2026-11-15: a `ZhudaLitSurfaceMaterial` hook writes `alpha` and `normalTS` (its shadow and depth are cut with it), `alphaHash`, and `material.blend` takes effect on a lit surface at last. [Verification](records/physical-surfaces/verification.md). |
|
|
81
|
+
| [Specular anti-aliasing](records/specular-aa/task.md) | Implemented within scope, off until a scene asks; desktop WebGL and WebGPU verified | For `PBR`, `glTFPBR` and `ZhudaLitSurfaceMaterial`, turned on by `setZhudaSpecularAA(scene, true)` (`ZHUDA_SPECULAR_AA`; not the default because of the limits at the end of this row): a highlight is widened by the spread of the normals a mipmapped normal map has averaged away (from two texels to a pixel) and by the curve of the mesh (LayaAir's unused `specularAA`). Drawn against the same balls at 256 samples a pixel, under sub-pixel jitter and a sun that clips: bumpy metal at four and eight texels to a pixel pops 733 and 600 a frame to 21 and 3, mean change of a pixel 21 % and 37 % lower, light 4 % over the truth (16 % and 23 % without); smooth balls' highlight peaks nearer the truth, no rim line; maps without mipmaps, close up, at no strength or without tangents left as they were. Not nearer the truth pixel for pixel; a bumpy metal's rim is brighter than the truth's; between two and four texels to a pixel its shown change rises (14 to 23, truth 26). No dither. One more read of the normal map a pixel: on a vivo V40 in one game it adds 0 to 3 ms a frame (up to 9 %). On 2026-11-15: an eight-bit dither (`setZhudaDither`, `grade.dither`: a block of pixels 0.2 of a step off a ramp down to 0.05), and the two-texel case under a temporal anti-aliasing, where the patched ball is as steady, pops less than half as often and is as bright as the truth. |
|
|
82
|
+
| [Shader warm-up](records/shader-warm-up/task.md) | Implemented within scope; desktop WebGL and WebGPU verified, one phone measured | WP3 of the three.js audit: `ZhudaShaderVariantRecorder` lists what a game compiles (LayaAir's own variant entries, with the scene's uniform sets and the node's uniform maps in their own order, which LayaAir's list leaves out and without which a compile ahead draws lit surfaces dark on WebGL and fails on WebGPU); `zhudaWarmUpShaders` compiles a list a few milliseconds a frame behind a loading screen; the engine's effects register their shaders on request. A scene of 32 variants: first frame 112 to 13 ms on desktop WebGL, 626 to 177 on desktop WebGPU (the rest is pipelines), 161 to 43 on a vivo V40, none compiled afterwards and the same picture. No async or off-thread compile, no WebGPU pipelines ahead, no draw-everything fallback. [Verification](records/shader-warm-up/verification.md). |
|
|
83
|
+
| [KTX 2 / Basis textures](records/basis-textures/task.md) | Implemented within scope; desktop WebGL and WebGPU verified, one phone measured | WP5 of the three.js audit: a KTX 2 texture with a Basis payload is transcoded by the vendored Basis transcoder (Apache-2.0, pinned by hash, brought by the game with `"basis": true`) to ASTC, ETC2 or S3TC as the device samples, wrapped as the KTX 1 or DDS file LayaAir's own parser reads, with the file's mip levels; `KHR_texture_basisu` in `ZhudaModelLibrary` (`basisTranscoder`), a fallback image or a refusal with `BASIS_TRANSCODER_MISSING` without one; S3TC colour maps get hardware sRGB (LayaAir's shader conversion drew 26 of 255 as 19); WebGPU is asked for its compressed-texture features. Every target drawn against the same pixels uncompressed on both backends and on a vivo V40: ASTC equal, ETC2 and S3TC within 0.6 of 255 on average; a 1024 map is 1.4 MB on the card against 5.6. The check's files are one-colour blocks made here: no encoder is shipped, ETC1S files, real textures' quality and transcoding time are not checked; no BC7, PVRTC, cube or HDR. [Verification](records/basis-textures/verification.md). |
|
|
84
|
+
| [HDR panoramas and the studio room](records/hdr-environment/task.md) | Implemented within scope; desktop WebGL and WebGPU verified, one phone measured | WP6 of the three.js audit: `ZhudaHdrEnvironment` makes a Radiance HDR panorama the reflections, the ambient light and the sky of a scene (panorama to cube, the existing prefilter, LayaAir's `GIRotate` and panoramic sky), turned together at no cost, exposed, with a soft sky from the blurred levels; `zhudaStudioEnvironment`, a lamp-lit room made here; the light stored as 32-bit floats, 16-bit floats or RGBD as the device filters (also for `ZhudaEnvironmentProbe`; probe volumes fall back to 16-bit floats). Drawn with a panorama made by the check: a patch toward each axis is where it stands in the sky and in a mirror ball, unturned and turned, within 3 of 255 of its colour; the three formats agree (half 0.001, RGBD 0.14 of 255 on average); the same on a vivo V40, where the light takes 0.3 s to make. No GPU prefilter, no `.hdr` in film scenes, no shadows from the panorama's sun; the probe volume's 16-bit path was not drawn. [Verification](records/hdr-environment/verification.md). |
|
|
85
|
+
| [Stylized shading and the selection outline](records/stylized-shading/task.md) | Implemented within scope; desktop WebGL and WebGPU verified, one phone measured | WP8 of the three.js audit: `ZhudaToonMaterial`, the lit template with its lighting replaced by bands over N·L times the shadow, for every light LayaAir gives the surface, with a highlight, a rim and an outline pass (the mesh inside out, pushed along its normals, in pixels or scene units, following bones and the vertex hook); `shaderRecipes.matcap3D` and `normalView3D`; `ZhudaSelectionOutline`, a line round selected nodes in the finished picture, another colour where they are behind something. Each colour is predicted from the scene's numbers: 2,709 pixels of a banded ball within 0.9 of 255, a cast shadow with no pixel between its two levels, a lamp and a spot with LayaAir's falloff, the selection's two colours exactly; the same on a vivo V40, where the banded light costs what the physical one does and a selection about 3 ms. Found and fixed on the way: `finishEffects` ran before the grade (LayaAir keeps its grade last), the lens finish now works in the screen's colours, and the mask reads depth at high precision on a phone. No outline normals for hard-edged meshes, the outline is not in the depth texture, a lamp's falloff is not banded. [Verification](records/stylized-shading/verification.md). |
|
|
86
|
+
| [Instanced meshes and baked crowds](records/instanced-meshes/task.md) | Implemented within scope; desktop WebGL and WebGPU verified, one phone measured | WP9 of the three.js audit: `ZhudaInstancedMesh` draws many copies of a mesh with no node for a copy, a group for each square of ground, each an ordinary renderer whose geometry carries the copies' matrices (lit, shadowed and culled as any mesh), with a tint a copy on lit-template materials; `instanced: true` on a model's `placements` in prefabs and film scenes, levels chosen a group at a time; `ZhudaBakedCharacter` and `ZhudaBakedCrowd`, one animated character many times from a texture of every bone of every frame. 5,000 copies in 24 groups are the picture of the same copies as nodes (bit for bit on WebGL), a baked copy is LayaAir's own skinning at a whole frame on 12 and on 30 bones; on a vivo V40 the 5,000 take 17 to 22 ms a frame instead of 33 to 36, 300 characters 16 instead of 29. Found and fixed: on WebGPU LayaAir's batches of identical renderers cast no shadow (casters are kept out of them now, a draw each). No build-time baker, no blending in a crowd, no tint on stock materials. [Verification](records/instanced-meshes/verification.md). |
|
|
87
|
+
| [Animation control](records/animation-control/task.md) | Implemented within scope; desktop WebGL and WebGPU verified | WP10 of the three.js audit: `ZhudaAnimationBlend` poses a model from several clips at once by weight, each evaluated by LayaAir's own evaluator and kept in step by a shared phase, with one clip laid over the rest on named bones; `zhudaBlend1D` / `zhudaBlend2D` give the weights for a speed or a direction; `ZhudaModelInspector.crossFade` in seconds; `ZhudaTwoBoneIK`, `ZhudaChainIK` and `ZhudaAimIK` bend bones to reach or face a point, and `runZhudaAfterAnimation` runs a solver between LayaAir's animation and its skinning. Read from the bones: all of one clip is that clip exactly, a mix is the two poses mixed within 5.5e-7, four of five feet stand on a slope exactly with bone lengths kept and the fifth is said to be out of reach. The engine's own solvers, not LayaAir's IK module; no joint limits, no blend of morph weights. [Verification](records/animation-control/verification.md). |
|
|
88
|
+
| [Post quality set](records/post-quality/task.md) | Implemented within scope; desktop WebGL and WebGPU verified, one phone measured | WP11 of the three.js audit: AgX, Khronos PBR Neutral and no tone curve beside ACES, worked out in the grade's own lookup pass (no pass added, black stays black, within 0.6 of 255 of the arithmetic); white balance, lift, gamma, gain and bloom's threshold, knee, shape, spread and lens dirt as grade values; `parseZhudaCubeLut` and `ZhudaColorLut` for a `.cube` colour table, loaded with a film scene or handed to a scene look; `ZhudaSmaa` (SMAA 1x, tables pinned by hash, closer to the true coverage than FXAA at every angle measured and leaving what is not an edge untouched); `ZhudaGroundTruthAO` (occlusion by horizons from the depth picture alone: open ground and the sky left as they are, about 11 ms a frame cheaper than LayaAir's on the phone); `ZhudaLensFlare` (shapes by arithmetic, hidden by what hides the light). The depth picture is read at high precision in every effect that uses it. Not built: SMAA's diagonal patterns, occlusion on ambient light only, a flare hidden by clouds |
|
|
89
|
+
| [Lighting depth](records/lighting-depth/task.md) | Implemented within scope; desktop WebGL and WebGPU verified, one phone measured | WP13 of the three.js audit: LayaAir's lighting and shadow includes changed as text before `Laya.init`, each change off unless a scene's `ZhudaLightingDepth` switches it on: falloff by the square of the distance (a lamp's `intensity` is its brightness at one unit), a spot's penumbra a light at a time (in the unused fourth texel of its row in the light buffer), a soft shadow up to four times as wide (sixteen reads on a turned disc), cascades blended into one another and faded out at the end, and contact shadows by eight steps through the depth picture for the sun's light only; `ZhudaPointShadowSchedule` draws the lamp whose pictures have been out of date longest, so many a frame; look fields `lightFalloff`, `shadows.spread`, `blend`, `contact` and a spot's `penumbra`. Not built: a rectangular area light, a spot-shadow atlas, cookies |
|
|
90
|
+
| [Backend delivery](records/backend-delivery/task.md) | Implemented within scope; desktop verified, no phone | WP12 of the three.js audit: a loader that asks the browser before either backend is loaded and loads one (`zhuda-loader.js`, `"renderer": "auto"`), the reason in `context.renderer.fallbackReason`, a way back to WebGL for a WebGPU that did not start; WebGPU shader compilers fetched once for an origin (Cache Storage by hash, `--wasm external`); gzip and Brotli sizes of every bundle; `ui` could leave the 3D bundles for 25 KB and was left in |
|
|
91
|
+
| [Developer tooling](records/developer-tooling/task.md) | Implemented within scope; desktop WebGL and WebGPU verified | WP15 of the three.js audit: helper lines for axes, bounds, lights, a camera, bones and the sun's cascades (`ZhudaDebugDraw`); LayaAir's statistics panel; draws, triangles and GPU time on WebGPU in `ZhudaRuntimeProfiler`; the source lines of a shader that fails on WebGL; a transform gizmo (`ZhudaTransformGizmo`), also in the model editor, whose orbit and zoom had never worked |
|
|
92
|
+
| [GPU depth](records/gpu-depth/task.md) | Implemented within scope; desktop WebGL and WebGPU verified | WP16 of the three.js audit: compute passes and draws of copies a pass places (`ZhudaComputePass`, `ZhudaComputedInstances`; a JavaScript step where there is no compute); integer, matrix, array and cube-map uniforms; `ZhudaCommon.glsl`; screen reflections that read LayaAir's surface pictures (`surfaces`), which glTF materials now write; a moving thing's velocity for temporal anti-aliasing (`ZhudaObjectMotion`) |
|
|
93
|
+
| [Lit hook inputs](records/lit-hook-inputs/task.md) | Implemented within scope; desktop WebGL and WebGPU verified | WP17 (asked for on 2026-11-15): a lit surface's hook reads the view direction (`s.viewDirection`; toward the light where a shadow is written) and a colour a vertex (`s.vertexColor`, from `ZhudaDynamicMesh` `colors`, `setColor`); `sheen` on a lit surface (`s.sheenColor`, `s.sheenRoughness`, `setSheen`); `material.blend` alpha, additive and cut-out drawn with nothing set by hand; `set` takes a LayaAir vector |
|
|
94
|
+
| [Cloth and spring bones](records/cloth-and-spring-bones/task.md) | Implemented within scope; desktop WebGL and WebGPU verified; cloth measured on a vivo V40 | `ZhudaCloth` and `ZhudaClothSolver` (`docs/cloth.md`): sheets, tubes and cloths from a mesh; a fixed step on a layer of the engine's clock (a pause changes nothing, a long gap is dropped, the same deltas give the same bytes); pins, a hand, balls, rods, floors and tables of radius by height and angle; no particle inside a body at the end of a step. `ZhudaSpringBones` (`docs/spring-bones.md`): chains of a model's bones that lag, swing and settle on the same step and bodies, each bone its own length |
|
|
95
|
+
| [Character surfaces](records/character-surfaces/task.md) | Implemented within scope; desktop WebGL and WebGPU verified; no phone | A lit surface's hook reads the surface's frame (`s.tangent`, `s.bitangent`, `s.viewTS`: an iris under a cornea). `subsurface`: each light reaches round the edge of its shadow and through what the hook calls thin. `strands`: two bands of light across hair. Beside `sheen`, on LayaAir's own lighting (`docs/filmic-rendering.md`). No blur of the skin's light, no refraction, no soft fringe for hair cards |
|
|
96
|
+
| [Procedural hand](records/procedural-hand/task.md) | Implemented within scope; desktop WebGL and WebGPU drawn; no phone | Asked for on 2026-11-15 ("先做手"): signed distance shapes with fillets and a surface-nets mesher (`Isosurface.ts`), and `createZhudaHandMesh`: a human hand from bone proportions and joint angles (`docs/procedural-assets.md`). Nine rounds the same day: male and female presets and a graceful pose, creases, tendons and veins, square, round or almond nails, a palm that cups; `createZhudaHandSurfaces`. Its record's decision is **In progress**: how it looks is the owner's to judge. No rig, no pores, not compared with a photograph |
|
|
97
|
+
| [Implementation routes](records/implementation-routes/task.md) | Implemented within scope | `docs/routes/`: checked routes for kinds of scenes (tools, steps, pitfalls, checks, limits), required reading in the agent contract and audited by `auditImplementationRoutes`. Routes: layered cloth on a modelled body, a hand-driven Spine character |
|
|
98
|
+
| [Hand-driven Spine character](records/spine-character/task.md) | Implemented within scope; desktop WebGL and WebGPU drawn in a consumer; no phone | `ZhudaSpineCharacter`: LayaAir's `Spine2DRenderNode` set up for a rig the game changes by hand (physics stepped, the slow render path, straight alpha), canvas and skeleton conversion, bones, IK and attachments by name. The rigs come from the external zhuda-spine2D toolkit, not vendored (`docs/consumer-tooling.md`) |
|
|
99
|
+
| [Phone checks](records/phone-checks/task.md) | Run on one phone (vivo V40); all ten checks pass there on both backends (rerun 2026-11-17) | The draw checks take a phone's Chrome for their browser (`ZHUDA_PHONE_CHROME`, `scripts/lib/phone-chrome.mjs`). Ten checks on WebGL and on WebGPU: eight passed on each on 2026-11-15; all ten on 2026-11-17, once screen reflections read depth at a pixel's centre, specular AA took a normal map's shortening as a number, and the dither check measured with WebGL's own dither (which Adreno applies) off. The loader takes WebGPU on the phone |
|
|
100
|
+
| [What the quality route listed as not built](records/render-gaps/task.md) | In progress; all six areas drawn on desktop WebGL and WebGPU as far as each could be built | Automatic exposure, real-time depth of field and camera motion blur as look options; a point light that follows a model casts a shadow; eight shadow-casting point lights; the sky in screen reflections and box projection for the environment probe; `sweep` and `decal` nodes; alpha-blended PBR surfaces. Bounce light with a visibility test and a refresh a few probes at a time. A cloud layer; clear coat and anisotropy. Not built: real-time global illumination, off-screen things in reflections, parallax, wrapping decals, a second spot shadow, object motion blur, weather, skin, cloth sheen and hair strands. [Verification](records/render-gaps/verification.md). |
|
|
101
|
+
| [Topology globals and the quality-route guardrail](records/topology-globals-and-guardrail/task.md) | Implemented within scope; unit tests and gates only (nothing draws) | Every `providesGlobals` name of the module table is one its own vendored lib defines while it loads (14 per renderer table were not, among them `Laya.TrailSprite3D` → `Laya.TrailRenderer` and `Laya.IKConstraint` → `Laya.IK_Comp`), checked from the libs' text with the sizes; the MCP guardrail, `get_quality_route` and `film_scene_create` give eight shadow-casting point lights and the carried lamp. Not loaded in a browser; `RuntimeGuards`' Spine 3D check and the `lights.unshadowed` fix text left as found. [Verification](records/topology-globals-and-guardrail/verification.md). |
|
|
102
|
+
| [Film scenes on WebGPU](records/film-webgpu/task.md) | Implemented within scope; desktop WebGPU (Apple Metal) verified | `--film-renderer webgpu`: the film host draws the same scenes on Laya's WebGPU backend; three upstream seams contained (cull after a camera move, half-float read-back, glTF depth-normal fog); Windows and mobile not run |
|
|
103
|
+
| [Film scene loop for agents](records/film-scene-loop/task.md) | Implemented within scope; desktop WebGL verified | Phase 1 of the 67js-style film workflow: JSON scenes with revisions, MCP previews, four-shot review grids, still and MP4 render jobs through the cinematic capture; shadows, sky, fog, splines and path tracing are later phases |
|
|
104
|
+
| [Film looks and packs](records/film-look/task.md) | Implemented within scope; desktop WebGL verified | Phase 2: time-of-day presets, native Laya shadows, procedural sky, fog, point/spot lights, emission and operator prop packs; fixes a capture race from phase 1 |
|
|
105
|
+
| [Film environment](records/film-environment/task.md) | Implemented within scope; desktop WebGL verified | Public `ZhudaEnvironmentProbe` and film `look.environment`: the scene captured from one point becomes its own reflections and ambient light, so lightmapped surfaces get highlights; one probe, no box projection |
|
|
106
|
+
| [Film animation](records/film-animation/task.md) | Implemented within scope; desktop WebGL verified | Film model nodes play a clip by shot time (`ZhudaModelAnimationSampler`), move along keys, and point lights can follow a model; previews and stills take a `time` |
|
|
107
|
+
| [Film light fog](records/film-light-fog/task.md) | Implemented within scope; desktop WebGL verified | Public `ZhudaLightFog` and film `look.lightFog`: height fog with closed-form glow from up to 128 point lights, fog-only lights for baked lamps; no shadows inside the fog |
|
|
108
|
+
| [Film reflector](records/film-reflector/task.md) | Implemented within scope; desktop WebGL verified | Public `ZhudaReflectiveSurface` and a film `reflector` node: a horizontal mirror of the scene added over wet ground or water; fixes the planar reflection camera drawing nothing |
|
|
109
|
+
| [Film models and baked global illumination](records/film-model-gi/task.md) | Implemented within scope; desktop WebGL verified | Film scenes place GLB models by logical asset id (`--film-assets`) and draw a baked Radiance HDR lightmap per model through Laya's native lightmap path; baking happens outside the engine |
|
|
110
|
+
| [Round 9 consumer fixes](records/round-9-consumer-fixes/task.md) | Implemented within scope; pure checks pass; one software-WebGL draw; not run with the pinned toolchain | `grass.draws` advice and `zhudaGrassMeshCount`, `stage.worldToScreen` and `projectZhudaFilmPoint`, `durationSeconds` on model playback, `ground.y` |
|
|
111
|
+
| [Audio sample clock](records/audio-sample-clock/task.md) | Implemented within scope; pure checks pass; types edited by hand; not run with the pinned toolchain or a real AudioContext | `getSamplePositionSec(id)` and `getOutputLatencySec()` on `IframeSoundAdapter` |
|
|
112
|
+
| [Repository unification](records/repo-unification/task.md) | Implemented within scope; checks pass in a container without the pinned toolchain; not run in CI | Reference games under `games/` built against the checkout, genre routes, one-page README with changelog and documentation index |
|
|
113
|
+
| [Skin binding](records/skin-binding/task.md) | Implemented within scope; pure checks pass and one consumer draws it in software WebGL; not run with the pinned toolchain or on a device | `bindZhudaSkinToSkeleton`: a part's skinned meshes bound to another model's joints |
|
|
114
|
+
| [Triangle mask](records/triangle-mask/task.md) | Implemented within scope; pure checks pass and one consumer hides triangles with it in software WebGL and reads them back; not run with the pinned toolchain or on a device | `setZhudaTriangleMask`: triangles of a drawn mesh hidden by a bit each, and garments made and measured so that nothing comes through |
|
|
115
|
+
| [Real measurements](records/real-measurements/task.md) | Done within scope (the consumers' kit and one game; no engine change): a body within 6 % of a published size chart and garments cut from real specifications, measured with a tape; three garment measurements stay outside the real range and are listed; no person judged the result |
|
|
116
|
+
| [Gaps after 2.0.0](records/gaps-after-2-0/task.md) | Done within scope (logic, checked in Node): waits and tweens on the runtime clock, a fixed session clock, a splash-gone signal, a model copy's shadow switch, text without `TextDecoder`, a walk grid with path finding, a character controller, the mini-game tool's syntax target and orientation. Not run in a browser, on a device or in a game; the rest of the routes' gaps stay open |
|
|
117
|
+
| [Interface tests by probe](records/ui-test-probe/task.md) | Done within scope (desktop headless Chrome, 20 identical runs of two scenarios; no phone, no mini-game runtime) | A probe of the Laya stage sent from outside the page, scenario steps that click by name or label and assert, a repeat runner on the virtual clock, stage node counts in the measuring script; route `ui-test-by-probe` |
|
|
118
|
+
| [Consumer entry through a link](records/consumer-symlink-entry/task.md) | Done within scope (macOS; no Windows) | A consumer whose path goes through a symbolic link was bundled without its component class registry; the build's plugin now knows the entry by its real path too, and the bundle is the same either way. |
|
|
119
|
+
| [Watcher: scripts-only rebuilds](records/watch-scripts-only/task.md) | Done within scope (macOS, one machine; no Windows, no phone on the LAN) | `zhuda-laya-watch --candidate` answers a save that changes only `src/` by rebuilding `app.js` alone from a kept esbuild context, served from memory and never written; the manifest served meanwhile has no fingerprint. Projects with `prefabPreview` and release watchers keep the full build. |
|
|
120
|
+
| [A film stage on a page](records/stage-on-a-page/task.md) | Done within scope (desktop WebGL and WebGPU, one machine; no phone; one reported error not reproduced) | From an outside agent's report on 2.0.0: `prepare` applies the lens, quality levels keep what was fixed at mount (bounce light, the colour table), `chromeFixture` takes a function, axis notes on two mesh functions, the route `interactive-film-viewer` |
|
|
121
|
+
| [Audit hardening](records/audit-hardening/task.md) | Done within scope (one Mac; two editor checks timed out in the batch and passed alone; no Windows or Linux) | From an outside audit of the public repository: MCP tools keep to allowed folders and check arguments against their schemas, the engine's own build through a symbolic link, a stricter lint with the tree cleaned up, workflow actions pinned to commits |
|
|
122
|
+
| [The prefab library in its own repository](records/prefab-library-split/task.md) | Done within scope (the split and this repository's side of it; not released, one Mac) | `prefabs/` left for `zhuda-engine-prefabs`; this package no longer ships it; `npm run verify:library` runs the library's checks on this checkout; a version rule ties the library's line to the engine's |
|
|
123
|
+
| [Preview runtime hardening](preview-runtime-hardening.md) | Accepted; desktop/browser verified | Foreign Laya realm guard, explicit 2D-only editor profile and release-hidden Scene/3D showcase policy; external device and foreign-app integration remain separate checks |
|
|
124
|
+
|
|
125
|
+
Slot-specific rules, RGS, math, wallet and Factory products are outside this
|
|
126
|
+
engine roadmap. Historical pilot documents retain their evidence; reusable
|
|
127
|
+
branding, theme and result-presentation APIs remain supported.
|
|
128
|
+
|
|
129
|
+
Use [TEMPLATE.md](TEMPLATE.md) for new decision plans. For an implementation
|
|
130
|
+
delegated to an agent, copy [TASK-TEMPLATE.md](TASK-TEMPLATE.md) and finish the
|
|
131
|
+
result with [VERIFICATION-TEMPLATE.md](VERIFICATION-TEMPLATE.md). Keep
|
|
132
|
+
game-specific art, rules and media in consumer repositories; this directory
|
|
133
|
+
describes engine and delivery contracts only.
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
# Agent task: <short stable id>
|
|
2
|
+
|
|
3
|
+
Status: Proposed
|
|
4
|
+
Owner:
|
|
5
|
+
Last reviewed: YYYY-MM-DD
|
|
6
|
+
|
|
7
|
+
## Source requirement
|
|
8
|
+
|
|
9
|
+
Quote or link the request, issue, migration report or acceptance failure. Keep
|
|
10
|
+
the source location stable.
|
|
11
|
+
|
|
12
|
+
## Goal
|
|
13
|
+
|
|
14
|
+
State one observable result.
|
|
15
|
+
|
|
16
|
+
## Invariants
|
|
17
|
+
|
|
18
|
+
-
|
|
19
|
+
|
|
20
|
+
## Dependencies
|
|
21
|
+
|
|
22
|
+
- Existing API, fixture, package or external consumer:
|
|
23
|
+
|
|
24
|
+
## Scope
|
|
25
|
+
|
|
26
|
+
### Engine
|
|
27
|
+
|
|
28
|
+
- Files/packages allowed to change:
|
|
29
|
+
|
|
30
|
+
### Consumer or adapter
|
|
31
|
+
|
|
32
|
+
- External repository or integration point:
|
|
33
|
+
|
|
34
|
+
## Non-goals
|
|
35
|
+
|
|
36
|
+
-
|
|
37
|
+
|
|
38
|
+
## Acceptance checks
|
|
39
|
+
|
|
40
|
+
For visual work, name the consumer prefab ID and stable child paths, source
|
|
41
|
+
reference and dependencies, expected states, preview entry point and comparison
|
|
42
|
+
criteria. Specify which parent and scene will reuse that verified definition.
|
|
43
|
+
Record gaps in the pinned public SDK and the scoped adapter or upstream fix.
|
|
44
|
+
Use the [prefab workflow](../prefab-workflow.md) before mounting the scene.
|
|
45
|
+
|
|
46
|
+
Every item needs a command or a reproducible manual procedure and an expected
|
|
47
|
+
result.
|
|
48
|
+
|
|
49
|
+
1.
|
|
50
|
+
|
|
51
|
+
## Evidence to attach
|
|
52
|
+
|
|
53
|
+
- Test/build output:
|
|
54
|
+
- Browser/WebGL or device report:
|
|
55
|
+
- Resource/lifecycle report:
|
|
56
|
+
- Screenshots/video/logs (external consumer only):
|
|
57
|
+
|
|
58
|
+
## Unverified limits
|
|
59
|
+
|
|
60
|
+
-
|
|
61
|
+
|
|
62
|
+
## Rollback
|
|
63
|
+
|
|
64
|
+
State the last known good commit and the fallback behavior if a gate fails.
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
# Agent task: spine38-isolated-topology-20261106
|
|
2
|
+
|
|
3
|
+
Status: In progress
|
|
4
|
+
Owner: Zhuda engine / consumer integration
|
|
5
|
+
Last reviewed: 2026-11-06
|
|
6
|
+
|
|
7
|
+
## Source requirement
|
|
8
|
+
|
|
9
|
+
the Spine 3.8 consumer game has real Spine 3.8.99 source assets and must remain isolated from
|
|
10
|
+
the existing Spine 4.2 package. The consumer migration is blocked because the
|
|
11
|
+
engine vendor contains `spine-core-3.8.js`, but the public topology and boot
|
|
12
|
+
contracts do not expose a `spine38` feature.
|
|
13
|
+
|
|
14
|
+
## Goal
|
|
15
|
+
|
|
16
|
+
Expose a deterministic, mutually exclusive Spine 3.8 topology that loads the
|
|
17
|
+
real 3.8 runtime before the existing Laya Spine adapter, lets a consumer build
|
|
18
|
+
an isolated package, and reports the selected Spine version at boot.
|
|
19
|
+
|
|
20
|
+
## Invariants
|
|
21
|
+
|
|
22
|
+
- A page loads exactly one Spine core runtime; Spine 3.8 and 4.2 cannot coexist
|
|
23
|
+
in one topology.
|
|
24
|
+
- `laya.spine.js` is loaded after the selected Spine core and WebGL 2D module.
|
|
25
|
+
- Game assets stay in the consumer repository; this engine change only exposes
|
|
26
|
+
public runtime/compiler contracts and tests.
|
|
27
|
+
- A topology PASS proves ordering and package composition only. It does not
|
|
28
|
+
claim the Spine 3.8 consumer game visual or device parity.
|
|
29
|
+
- Every async Spine load remains subject to the consumer lifecycle and release
|
|
30
|
+
gates.
|
|
31
|
+
|
|
32
|
+
## Dependencies
|
|
33
|
+
|
|
34
|
+
- `vendor/laya-3.4.2/libs/spine-core-3.8.js`
|
|
35
|
+
- `vendor/laya-3.4.2/libs/spine-core-4.2.js`
|
|
36
|
+
- `vendor/laya-3.4.2/libs/laya.spine.js`
|
|
37
|
+
- consumer the Spine 3.8 consumer game source probe and real Spine 3.8 assets
|
|
38
|
+
|
|
39
|
+
## Scope
|
|
40
|
+
|
|
41
|
+
### Engine
|
|
42
|
+
|
|
43
|
+
- `packages/core/TopologyGraph.ts`
|
|
44
|
+
- `packages/core/DeclarativeSDK.ts`
|
|
45
|
+
- `packages/types/zhuda-bootstrap.d.ts`
|
|
46
|
+
- `packages/compiler/consumer-build.mjs`
|
|
47
|
+
- `packages/compiler/zhuda-build.mjs`
|
|
48
|
+
- isolated topology/compiler tests and this plan
|
|
49
|
+
|
|
50
|
+
### Consumer or adapter
|
|
51
|
+
|
|
52
|
+
- consumer updates its feature tag, runtime probe, manifest and pinned
|
|
53
|
+
engine SHA after the engine commit is created.
|
|
54
|
+
|
|
55
|
+
## Non-goals
|
|
56
|
+
|
|
57
|
+
- Do not port consumer game rules, HUD, audio, or Unity scene behavior here.
|
|
58
|
+
- Do not convert the 3.8 asset to Spine 4.2 or draw a PNG fallback.
|
|
59
|
+
- Do not claim acceptance gates or device parity from a build-only result.
|
|
60
|
+
|
|
61
|
+
## Acceptance checks
|
|
62
|
+
|
|
63
|
+
1. `npm run typecheck` passes with the public `spine38` type.
|
|
64
|
+
2. `npm test` covers Spine 3.8 ordering, conflict rejection, and compiler
|
|
65
|
+
script composition.
|
|
66
|
+
3. `npm run build` emits the SDK with the updated public topology.
|
|
67
|
+
4. `npm run verify` passes, including Doctor and all existing regressions.
|
|
68
|
+
5. The consumer builds the Spine 3.8 consumer game with `spine-core-3.8.js` and
|
|
69
|
+
`laya.spine.js`, with no `spine-core-4.2.js` in that artifact.
|
|
70
|
+
6. A browser probe parses the real Spine 3.8 JSON/atlas with the isolated runtime;
|
|
71
|
+
if rendering or lifecycle evidence is unavailable, the package remains
|
|
72
|
+
`asset-migration` and the acceptance report remains BLOCKED.
|
|
73
|
+
|
|
74
|
+
## Evidence to attach
|
|
75
|
+
|
|
76
|
+
- Engine test/build output and `dist/build-manifest.json`
|
|
77
|
+
- Consumer the Spine 3.8 consumer game build report and ordered library list
|
|
78
|
+
- Browser console/runtime probe report, including parse and disposal results
|
|
79
|
+
|
|
80
|
+
## Unverified limits
|
|
81
|
+
|
|
82
|
+
- Device GPU behavior, exact Unity frame parity, audio, input and all 13
|
|
83
|
+
acceptance gates remain unverified until consumer runtime evidence exists.
|
|
84
|
+
|
|
85
|
+
## Rollback
|
|
86
|
+
|
|
87
|
+
Revert to engine commit `cb02e44e048451a14282c07faa24b617b3c3483d` and keep
|
|
88
|
+
the Spine 3.8 consumer game on the source-only probe if any topology, compiler, or runtime
|
|
89
|
+
regression appears.
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# Plan title
|
|
2
|
+
|
|
3
|
+
Status: Proposed
|
|
4
|
+
Owner:
|
|
5
|
+
Last reviewed: YYYY-MM-DD
|
|
6
|
+
|
|
7
|
+
## Objective
|
|
8
|
+
|
|
9
|
+
State the user-facing result and the problem it solves.
|
|
10
|
+
|
|
11
|
+
## Scope
|
|
12
|
+
|
|
13
|
+
List the engine or consumer boundaries this plan may change. Name the areas
|
|
14
|
+
that remain outside the plan.
|
|
15
|
+
|
|
16
|
+
## Current baseline
|
|
17
|
+
|
|
18
|
+
Link to the existing APIs, tests and reports that establish the starting point.
|
|
19
|
+
|
|
20
|
+
## Design and alternatives
|
|
21
|
+
|
|
22
|
+
Describe the smallest compatible design and the alternatives that must be
|
|
23
|
+
measured before selecting one. Keep unimplemented APIs labelled as proposals.
|
|
24
|
+
|
|
25
|
+
## Staged work
|
|
26
|
+
|
|
27
|
+
1. Entry checks and fixtures.
|
|
28
|
+
2. Contract or API changes.
|
|
29
|
+
3. Implementation behind the existing boundary.
|
|
30
|
+
4. Device and failure-mode validation.
|
|
31
|
+
5. Documentation and rollout decision.
|
|
32
|
+
|
|
33
|
+
## Acceptance gates
|
|
34
|
+
|
|
35
|
+
- Functional behavior and error handling.
|
|
36
|
+
- Resource and lifecycle bounds.
|
|
37
|
+
- Desktop and mobile device matrix.
|
|
38
|
+
- Offline, slow-network and embedded-frame behavior.
|
|
39
|
+
- Build, typecheck, regression and real WebGL checks.
|
|
40
|
+
|
|
41
|
+
## Risks and rollback
|
|
42
|
+
|
|
43
|
+
Record the failure modes, the fallback path and the conditions that would stop
|
|
44
|
+
the rollout.
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# Verification record: <task id>
|
|
2
|
+
|
|
3
|
+
Task document: `docs/plans/<task>.md`
|
|
4
|
+
Commit: `<sha>`
|
|
5
|
+
Date: YYYY-MM-DD
|
|
6
|
+
|
|
7
|
+
## Environment
|
|
8
|
+
|
|
9
|
+
- OS / browser / device:
|
|
10
|
+
- Node and package manager:
|
|
11
|
+
- Engine and consumer commits:
|
|
12
|
+
- DPR, viewport and network mode:
|
|
13
|
+
|
|
14
|
+
## Checks
|
|
15
|
+
|
|
16
|
+
| Check | Exact command or procedure | Result | Artifact |
|
|
17
|
+
| --- | --- | --- | --- |
|
|
18
|
+
| Build | `npm run build` | PASS / FAIL / UNAVAILABLE | path or log |
|
|
19
|
+
| Types | `npm run typecheck` | PASS / FAIL / UNAVAILABLE | path or log |
|
|
20
|
+
| Doctor | `npm run doctor` | PASS / FAIL / UNAVAILABLE | path or log |
|
|
21
|
+
| Regression | `npm test` | PASS / FAIL / UNAVAILABLE | path or log |
|
|
22
|
+
| Real WebGL/device | procedure and duration | PASS / FAIL / UNAVAILABLE | report/media |
|
|
23
|
+
| Fly-through (3D, optional) | `npm run verify:flythrough -- <file>` on each backend; budget and device stated | PASS / FAIL / UNAVAILABLE (GPU time not measured) | `report.json`, poses, recording |
|
|
24
|
+
| Blind critic (3D, optional) | critic given only `critic-brief.md` and the pictures; `npm run flythrough:critic -- <report> --run <dir>` | MINOR-ONLY (proposed, a person accepts) / BLOCKED / INVALID | critic report |
|
|
25
|
+
|
|
26
|
+
## Lifecycle and failure cases
|
|
27
|
+
|
|
28
|
+
Record cancellation, timeout, stale completion, retry, malformed data,
|
|
29
|
+
context loss and repeated create/destroy results when the task touches them.
|
|
30
|
+
|
|
31
|
+
## Prefab evidence (visual work)
|
|
32
|
+
|
|
33
|
+
| Prefab ID / child path / state | Source and dependency revisions | Isolated replay command / environment | Reference / actual / diff | Result |
|
|
34
|
+
| --- | --- | --- | --- | --- |
|
|
35
|
+
| | | | | PASS / FAIL / UNAVAILABLE |
|
|
36
|
+
|
|
37
|
+
Record which parent and scene consume that revision and where their separate
|
|
38
|
+
integration results live. List changed dependencies and the affected entries
|
|
39
|
+
that must be revalidated before composition.
|
|
40
|
+
|
|
41
|
+
## Limits and decision
|
|
42
|
+
|
|
43
|
+
List every unverified limit. State whether the task is **Accepted**,
|
|
44
|
+
**In progress**, **Deferred** or **Rejected**, and why. A missing device or
|
|
45
|
+
consumer check keeps the decision from being Accepted.
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
# Deferred asset packaging
|
|
2
|
+
|
|
3
|
+
Status: In progress
|
|
4
|
+
Owner: Engine and consumer integration
|
|
5
|
+
Last reviewed: 2026-11-05
|
|
6
|
+
|
|
7
|
+
## Objective
|
|
8
|
+
|
|
9
|
+
Choose a production asset delivery format after the game projects, asset
|
|
10
|
+
inventory and startup path are stable. The selected format must preserve the
|
|
11
|
+
current asset lifecycle, load error behavior and device compatibility while
|
|
12
|
+
allowing future chunking or packing.
|
|
13
|
+
|
|
14
|
+
The project must remain playable with ordinary web assets during development.
|
|
15
|
+
Packing is a delivery layer, not a new source of truth for gameplay, scene
|
|
16
|
+
layout, Spine presentation or rendering rules.
|
|
17
|
+
|
|
18
|
+
## Current baseline
|
|
19
|
+
|
|
20
|
+
- Consumers address resources through the public `AssetProvider` boundary.
|
|
21
|
+
- `DirectoryAssetProvider` is the current web and development provider. It has
|
|
22
|
+
normalized logical IDs, timeout, cancellation, bounded reads, progress,
|
|
23
|
+
manifest validation and optional SHA-256 verification.
|
|
24
|
+
- `createProviderAssetCache` adapts a provider to the existing shared cache,
|
|
25
|
+
leases and destruction rules.
|
|
26
|
+
- `ChunkedAssetProvider` now implements the first bounded chunk experiment:
|
|
27
|
+
manifest-declared ranges, chunk/asset SHA checks, cancellation, timeout and a
|
|
28
|
+
bounded cache. It is opt-in and has no production performance claim.
|
|
29
|
+
- `ZhudaModelDecoderRegistry` provides bounded decode/lease lifecycle;
|
|
30
|
+
optional `ZhudaMeshoptModelDecoder` now decodes embedded models before native
|
|
31
|
+
parsing. Generic descriptor SHA is declared metadata. Draco and KTX2/Basis
|
|
32
|
+
remain unsupported; see the [measured scope](desktop-and-agent-gates/hardening-verification.md).
|
|
33
|
+
- The current consumer build still emits normal web files and a bounded ZIP
|
|
34
|
+
archive for build evidence. No Rust/WASM vault is part of the runtime.
|
|
35
|
+
- The engine source and public types live in `packages/core/runtime3d` and
|
|
36
|
+
`packages/types/runtime3d`; game assets and game-specific manifests stay in
|
|
37
|
+
consumer repositories.
|
|
38
|
+
|
|
39
|
+
See [asset-loading.md](../asset-loading.md) and the provider tests in
|
|
40
|
+
`tests/asset-provider.test.mjs` for the accepted baseline.
|
|
41
|
+
|
|
42
|
+
## Non-goals
|
|
43
|
+
|
|
44
|
+
- Making browser assets impossible to extract. A browser must receive decoded
|
|
45
|
+
bytes, so any client-side encryption is a deterrent and packaging measure.
|
|
46
|
+
- Moving game rules, payout authority, network authority or art into the engine.
|
|
47
|
+
- Replacing Laya resource lifecycle or GPU ownership with a second asset system.
|
|
48
|
+
- Claiming a fixed package size or startup time before real assets and devices
|
|
49
|
+
are measured.
|
|
50
|
+
|
|
51
|
+
## Entry criteria
|
|
52
|
+
|
|
53
|
+
Do not promote experimental chunk delivery to a production recommendation until
|
|
54
|
+
all of these are available:
|
|
55
|
+
|
|
56
|
+
1. A complete asset inventory with logical IDs, kinds, decoded sizes and format
|
|
57
|
+
versions (including Spine 4.2 data where applicable).
|
|
58
|
+
2. A representative startup slice and at least one heavy scene using the
|
|
59
|
+
directory provider.
|
|
60
|
+
3. Baseline measurements on desktop, iPhone Safari and Android Chrome:
|
|
61
|
+
download bytes, time to first frame, time to playable, peak JS/WASM/GPU
|
|
62
|
+
memory and repeated scene load/unload counts.
|
|
63
|
+
4. A consumer error screen that can retry or fall back to ordinary assets.
|
|
64
|
+
|
|
65
|
+
## Options to measure
|
|
66
|
+
|
|
67
|
+
### A. Plain files with HTTP compression
|
|
68
|
+
|
|
69
|
+
Keep the directory provider, use immutable content hashes and Brotli/gzip at the
|
|
70
|
+
CDN. This is the default baseline because it has the fewest browser and iframe
|
|
71
|
+
failure modes.
|
|
72
|
+
|
|
73
|
+
### B. Chunked web delivery
|
|
74
|
+
|
|
75
|
+
`ChunkedAssetProvider` maps manifest entries to independently cacheable chunks.
|
|
76
|
+
Load a small core chunk first and fetch heavy scenes or bonus content on demand.
|
|
77
|
+
Use ordinary HTTP responses or byte ranges; measure cache hit rate, seek
|
|
78
|
+
behavior, retries and memory peaks.
|
|
79
|
+
|
|
80
|
+
### C. Packed or Rust/WASM provider
|
|
81
|
+
|
|
82
|
+
Only consider this if A or B fails a stated product requirement. A packed
|
|
83
|
+
provider must implement the existing `AssetProvider` interface and must not leak
|
|
84
|
+
container details into scenes. It needs independently authenticated chunks,
|
|
85
|
+
bounded decompression, corrupt-package rejection, per-asset release handles and
|
|
86
|
+
a plain-provider fallback. It must work without `SharedArrayBuffer` so it can
|
|
87
|
+
run in third-party iframes.
|
|
88
|
+
|
|
89
|
+
## Staged implementation
|
|
90
|
+
|
|
91
|
+
1. **Inventory and fixtures** — generate a manifest from real consumer assets;
|
|
92
|
+
reject duplicate IDs, traversal, unknown formats and missing Spine versions.
|
|
93
|
+
2. **Provider conformance** — run the same fixture suite against the directory
|
|
94
|
+
provider and each candidate provider. Test cancellation, retry, timeout,
|
|
95
|
+
stale results, checksum failure, truncated data and oversized decompression.
|
|
96
|
+
3. **Chunk experiment** — measure core/heavy splits with real network throttling,
|
|
97
|
+
browser cache states and the target scenes. Do not use a synthetic 10 MB /
|
|
98
|
+
8 ms claim as an acceptance threshold.
|
|
99
|
+
4. **Optional packed prototype** — keep it in a consumer or experimental package
|
|
100
|
+
first. Parse and validate all lengths before allocation; use per-chunk nonces
|
|
101
|
+
and authenticated metadata if encryption is selected. Never retain long-lived
|
|
102
|
+
views into a growable WASM heap.
|
|
103
|
+
5. **Device gate** — test Chrome, Safari and Firefox desktop, iPhone Safari,
|
|
104
|
+
Android Chrome, cross-origin iframe embedding, slow network, offline cache,
|
|
105
|
+
context loss and 30 repeated load/unload cycles.
|
|
106
|
+
6. **Rollout decision** — record measured startup, memory, failure and support
|
|
107
|
+
costs. Promote one provider behind a configuration switch; keep the directory
|
|
108
|
+
provider for development and emergency fallback.
|
|
109
|
+
|
|
110
|
+
## Required failure behavior
|
|
111
|
+
|
|
112
|
+
The loader must show a bounded loading state, then a retry or fallback action.
|
|
113
|
+
The following cases must never become an unhandled rejection or an endless
|
|
114
|
+
spinner:
|
|
115
|
+
|
|
116
|
+
- stalled, partial or non-2xx network responses;
|
|
117
|
+
- missing or invalid manifest, checksum, format version or chunk;
|
|
118
|
+
- malformed header, offset, count or decompressed-size limit;
|
|
119
|
+
- WASM unsupported, initialization failure or memory exhaustion;
|
|
120
|
+
- image/audio decode failure and WebGL context loss;
|
|
121
|
+
- a scene or panel closing while its request is still in flight.
|
|
122
|
+
|
|
123
|
+
## Acceptance gates
|
|
124
|
+
|
|
125
|
+
- All provider implementations pass the same conformance tests.
|
|
126
|
+
- First frame and playable time are reported for cold cache, warm cache and
|
|
127
|
+
throttled network; values are measured per device, not promised universally.
|
|
128
|
+
- Peak memory remains within the device budget and returns to a bounded level
|
|
129
|
+
after 30 scene load/unload cycles.
|
|
130
|
+
- 4K/large assets are split or rejected before they can block the first frame.
|
|
131
|
+
- iPhone Safari, Android Chrome and cross-origin iframe runs have no white screen,
|
|
132
|
+
endless loading state or unhandled provider errors.
|
|
133
|
+
- `npm run verify`, consumer build, real WebGL checks and the provider report
|
|
134
|
+
pass before a production provider is selected.
|
|
135
|
+
|
|
136
|
+
## Rollback
|
|
137
|
+
|
|
138
|
+
If a packed provider fails any gate, keep `DirectoryAssetProvider` as the
|
|
139
|
+
production provider, retain the manifest and logical IDs, and remove only the
|
|
140
|
+
candidate provider. No gameplay or scene code should need to be reverted.
|