Validation workaround `wait-for-transmission-helper`: glTF TransmissionHelper classifies meshes after scene readiness
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 72/100
- Tipo di issue
- Bug
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- javascript
Direzione di ricerca
Inizia dalla mappa delle soluzioni alternative in Apps/Playground/Scripts/validation_native.js, poi controlla i test che hanno abilitato questa opzione in Apps/Playground/Scripts/config.json e le indicazioni per i test di validazione in Documentation/AddingNewValidationTests.md. La soluzione alternativa attende che le mesh della scena che contengono materiali compaiano nella cache glTF di TransmissionHelper prima di consentire il primo frame. Il lavoro è terminato quando i test di validazione interessati non mostrano più il problema intermittente della trasmissione con la soluzione alternativa abilitata.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Affected tests (40)
- FrameGraph convolution post process
- GLTF Extension KHR_materials_volume
- GLTF Extension KHR_materials_volume with analytic light
- GLTF Extension KHR_materials_volume with attenuation
- glTF Loader - PBRMaterial Scatter Color Density
- glTF Loader - PBRMaterial Scatter Strength Thin-Walled
- KHR diffuse transmission
- OpenPBR Geometry Opacity
- OpenPBR glTF Surface Tinting
- OpenPBR IBL Furnace Test for Thin Film Transparency
- OpenPBR Subsurface Color Scaling - IBL
- OpenPBR Subsurface Dense Scattering - Analytic Lights
- OpenPBR Subsurface Dense Scattering - IBL
- OpenPBR Subsurface Dense Scattering - Realtime IBL
- OpenPBR Subsurface Scatter Anisotropy - glTF
- OpenPBR Subsurface Scatter Color Density - glTF
- OpenPBR Subsurface Scatter Strength - glTF
- OpenPBR Subsurface Scatter Strength Thin-Walled - glTF
- OpenPBR Subsurface SSS Frame Graph - Analytic Lights
- OpenPBR Subsurface SSS Frame Graph - Shadows - Combination Lights
- OpenPBR Subsurface SSS Frame Graph - Shadows - IBL
- OpenPBR Subsurface Transmission Blending - Analytic Lights
- OpenPBR Subsurface Transmission Blending - IBL
- OpenPBR Subsurface Transmission Thin-walled Blending with Textures
- OpenPBR Subsurface Transmission Volume Blending with Textures
- OpenPBR Thin Walled Subsurface Anisotropy - IBL
- OpenPBR Thin Walled Subsurface Anisotropy - Realtime IBL
- OpenPBR Thin Walled Subsurface Transmission Blending - IBL
- OpenPBR Thin Walled Transmission IOR vs Roughness - Analytic Lights
- OpenPBR Thin Walled Transmission IOR vs Roughness - IBL
- OpenPBR Transmission Color glTF - Analytic Lights
- OpenPBR Transmission Color glTF - IBL
- OpenPBR Transmission Dense Scattering - IBL
- OpenPBR Transmission Dense Scattering - SH
- OpenPBR Transmission Dispersion glTF - IBL
- OpenPBR Transmission Roughness glTF - Analytic Lights
- OpenPBR Transmission Roughness glTF - Combination Lights
- OpenPBR Transmission Roughness glTF - IBL
- PBR in mirror
- Test code inlining
What the workaround does
Skips frames before the first one until every scene mesh with a material is in the glTF TransmissionHelper's opaque or transparent cache (60 s limit). The helper classifies a new mesh two SetImmediate (1 ms timer) ticks after it is added (Scene.addMesh defers onNewMeshAddedObservable, then the helper defers the classification), and scene.isReady() doesn't wait for it. When the timers fire after the first frame, the opaque render target misses the mesh and refraction shows only the background. This is the OpenPBR transmission flake on Win32_x64_NativeWebGPU. Introduced in #2139.
Recommended fix
Fix in Babylon.js: BabylonJS/Babylon.js#19307 keeps the scene not ready until every mesh is classified. Once Babylon Native uses a Babylon.js release that includes it, remove the workaround.
Workaround implementations live in Apps/Playground/Scripts/validation_native.js (WORKAROUNDS map); tests opt in via the workarounds array in Apps/Playground/Scripts/config.json. See Documentation/AddingNewValidationTests.md.
- Lingua principale
- C++
- Stelle
- 931
- Fork
- 169
- Merge medio
- 2g 17h
- PR unite (30g)
- 66
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di BabylonJS/BabylonNative
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
BabylonJS/BabylonNative#2042 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
BabylonJS/BabylonNative#2052 ·
I maintainer di solito rispondono entro 1 giorno
-
testing
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
BabylonJS/BabylonNative#2136 ·
I maintainer di solito rispondono entro 1 giorno
-
Support useNDCHalfZRange (half-range NDC depth) so Babylon.js half-range depth visual tests can runAperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
BabylonJS/BabylonNative#2134 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
BabylonJS/BabylonNative#2129 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di BabylonJS/BabylonNative
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 83/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
simnJS/AnyPS5#735 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
needs-format
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
Niko1221/Strata#7719 · 1 commento ·
I maintainer di solito rispondono entro 4 giorni
-
area:tests kind:test
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
I maintainer di solito rispondono entro 1 giorno