Support useNDCHalfZRange (half-range NDC depth) so Babylon.js half-range depth visual tests can run
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 48/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- cpp, javascript
Direzione di ricerca
Start by reading NativeEngine and the Playground validation runner, then inspect the seven half-range depth entries in Apps/Playground/Scripts/config.json. Determine whether Native should support useNDCHalfZRange and how the runner can create the requested engine; done means either the tests exercise half-range depth and are enabled, or the unsupported entries are removed with that decision.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Babylon.js 9.38.0 added an opt-in useNDCHalfZRange engine option (WebGL clip control, BabylonJS/Babylon.js#19209), plus visual tests that create their engine with it:
- WebGL2 half-range depth - fluid particle occlusion
- WebGL2 half-range depth - volumetric lighting occlusion
- WebGL2 half-range depth - right-handed fluid particle occlusion
- WebGL2 half-range depth - right-handed fluid particle occlusion with reversed Z
- WebGL2 half-range depth - volumetric lighting occlusion with reversed Z
- WebGL2 half-range depth - infinite-far fluid rendering with fixed thickness
- WebGL2 half-range depth - infinite-far fluid rendering with variable thickness
Native has no equivalent. NativeEngine doesn't take useNDCHalfZRange, and the Playground validation runner can't create a per-test engine with it. With the exclusion removed, "WebGL2 half-range depth - fluid particle occlusion" passes on D3D11, but only because the playground sees useNDCHalfZRange unset and renders the standard depth range. It isn't testing half-range depth at all.
The Babylon.js 9.38.1 update adds these tests to Apps/Playground/Scripts/config.json with excludeFromAutomaticTesting and a reason pointing here.
To close this issue, either:
- support half-range NDC depth in
NativeEngine(bgfx already uses a [0, 1] depth range on D3D, Metal, Vulkan and WebGPU) and let the runner create the engine the test asks for, then enable the tests; or - decide Native won't support the option, and remove the entries.
- 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 72/100
BabylonJS/BabylonNative#2138 ·
I maintainer di solito rispondono entro 1 giorno
-
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
-
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