-
-
Notifications
You must be signed in to change notification settings - Fork 55
Open
Labels
discussionSomething to discussSomething to discuss
Description
Currently it is not possible to display images by using a Texture from an array larger than [8192, 8192], which seems to be a WGPU limitation:
Uncaught WGPU error (Unknown):
InvalidDimension(LimitExceeded { dim: Y, given: 9000, limit: 8192 })
I see a few potential ways to get around this:
- Create a
LargeImage
class that stitches togetherpygfx.Image
- Within
pygfx.Image
, use a single grid geometry with tiled textures if that's possible? - Get the indices of the data that are currently visible in the canvas, if it is larger than 8192 in any dimension then subsample the Texture data. If it is a zoomed-in view that is under 8192 then update the Texture data with the full data.
Is there a better way?
Metadata
Metadata
Assignees
Labels
discussionSomething to discussSomething to discuss