visgl / visgl/deck.gl

[Feat] Regression: cannot disable mipmap generation in 9.1

Open
#9,464 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature
Dominant language
TypeScript
Stars
14.6k
Forks
2.3k
Avg merge
2d 9h
Merged PRs (30d)
42

Description

Target Use Case

Hi.

First and foremost, thanks for a great library!

We have some custom deck.gl layers using custom shaders, that use uint32 textures which are not renderable. I am trying to upgrade from deck.gl 8.9 to 9.1, but currently there are no way to disable mipmaps for e.g. BitmapLayer, since it is hardcoded to true in utils/texture.ts, causing the layer to not render.

Proposal

Add mipmap to createTexture props.

Contributor guide

Open the contributing guide

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.

Research direction

Start in utils/texture.ts and trace the createTexture props into BitmapLayer. Confirm how mipmap generation is currently fixed to true, then check the relevant texture and BitmapLayer tests or examples. Done means callers can control mipmap generation and the reported uint32-texture case no longer fails to render.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
computer-graphics, data-visualization
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.