Validation workaround `wait-for-transmission-helper`: glTF TransmissionHelper classifies meshes after scene readiness
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 72/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- javascript
Hướng nghiên cứu
Bắt đầu với bản đồ workaround trong Apps/Playground/Scripts/validation_native.js, sau đó kiểm tra các bài kiểm thử đã bật tùy chọn trong Apps/Playground/Scripts/config.json và hướng dẫn kiểm thử validation trong Documentation/AddingNewValidationTests.md. Workaround chờ các mesh của scene có chứa material xuất hiện trong cache glTF TransmissionHelper trước khi cho phép khung hình đầu tiên. Hoàn tất khi các bài kiểm thử validation bị ảnh hưởng không còn gặp lỗi chập chờn về transmission khi bật workaround.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- C++
- Star
- 931
- Fork
- 169
- Merge trung bình
- 2 ngày 17 giờ
- Pull request đã merge (30 ngày)
- 66
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của BabylonJS/BabylonNative
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
BabylonJS/BabylonNative#2042 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
BabylonJS/BabylonNative#2052 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
testing
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
BabylonJS/BabylonNative#2136 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Support useNDCHalfZRange (half-range NDC depth) so Babylon.js half-range depth visual tests can runĐang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
BabylonJS/BabylonNative#2134 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
BabylonJS/BabylonNative#2129 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của BabylonJS/BabylonNative
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 83/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
simnJS/AnyPS5#735 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
needs-format
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Niko1221/Strata#7719 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 4 ngày
-
area:tests kind:test
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
Maintainer thường phản hồi trong vòng 1 ngày