Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Progressive loading Issue #1796

Open
devkumarsingh-qure opened this issue Feb 3, 2025 · 0 comments
Open

[Bug] Progressive loading Issue #1796

devkumarsingh-qure opened this issue Feb 3, 2025 · 0 comments

Comments

@devkumarsingh-qure
Copy link

devkumarsingh-qure commented Feb 3, 2025

Describe the Bug

Getting warning:
WebGL: INVALID_OPERATION: texSubImage3D: ArrayBufferView not big enough for request in vtkStreamingOpenGLTexture.js

Image

for below code:
Image

This is happening for images which are thumbnails or fetched from byte range requests, basically partial images as the warning message suggests. I have tried scaling the pixel data in my local setup and that seems to be working but I am not sure if it's the correct way to do it.

Image

Steps to Reproduce

It is happening for cornerstone3D progressive loading examples (as of 3rd feb 2025, the dicom links seem to be broken). Alternatively, setup a project which supports progressive loading with cornerstone3D.

The current behavior

As it throws a warning message for partial images, It is showing a gray viewport.

The expected behavior

Pixelated images should be shown for partial images

OS

macOS 14.5 (23F79)

Node version

v20.18.1

Browser

Chrome 132.0.6834.159 (Official Build) (arm64)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant