Enable visual test 886 (Raw Texture 2D Array Mipmaps) after bumping Babylon.js to 9.38.0

Open
#2,117 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
52/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
cpp, github-actions, javascript, typescript
Domain
backend, testing

Research direction

Read #2108, #2102, and Babylon.js#19219 for the native and dependency changes this test requires. Update Apps/package.json and package-lock.json to Babylon.js 9.38.0 or later, then enable test 886 in Apps/Playground/Scripts/config.json. Done means test 886 passes on the CI visual-test lanes; backend exclusions need separate linked issues.

Written by the indexing model from the issue text.

Description

Visual test 886, "Raw Texture 2D Array Mipmaps" (playground #I5RZPG#1), is excluded in Apps/Playground/Scripts/config.json.

The native side is in #2108: CPU-generated mips for raw 2D arrays, null allocate-only raw arrays and volumes, ImageBitmap.close(), and padded Canvas.toDataURL. The test also needs the ThinNativeEngine changes from BabylonJS/Babylon.js#19219: the updateRawTexture2DArray and updateTextureArrayLayerFromImageSource overrides, and URL helpers that decode through engine.createImageBitmap.

BabylonJS/Babylon.js#19219 shipped in Babylon.js 9.38.0. BabylonNative currently locks 9.37.1, and #2102 bumps it to 9.37.2.

With #19219 applied locally, test 886 renders with no pixel difference on Metal/macOS.

Done when

  • Apps/package.json / package-lock.json pick up Babylon.js 9.38.0 or later.
  • Test 886 is enabled in config.json and passes on the CI visual-test lanes. Per-backend exclusions need their own linked issue.
Dominant language
C++
Stars
931
Forks
169
Avg merge
2d 17h
Merged PRs (30d)
66

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from BabylonJS/BabylonNative

All issues in BabylonJS/BabylonNative

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.