-
Notifications
You must be signed in to change notification settings - Fork 314
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] Images show as blank or a gray square on Android devices. #1653
Comments
https://www.cornerstonejs.org/live-examples/dicomimageloaderwadouri |
Which phone is this ? i just tested it on a Pixel phone and it works |
HUAWEI Mate 9 Pro |
Try to post the webgl report https://webglreport.com/ also try to connect the devtools to the phone to see the error trace https://developer.chrome.com/docs/devtools/remote-debugging?hl=zh-cn |
1.webglreport all supports; Thanks for your help! |
But using CPU rendering can render normally |
Not sure but i think cornerstone3D/packages/core/src/init.ts Lines 157 to 166 in e7fb3e7
|
|
I am also troubled by this problem @daker Is there any other way to solve this problem? |
华为手机在WebGL 1.0支持上存在差异,缺失部分调用接口,不知道是不是全部的华为都不行,没试过,缺少OES_texture_float_linear这个插件的支持,调用的时候可以判断下是不是支持这个插件,不支持就用cpu渲染。 translated:HUAWEI mobile have differences in WebGL 1.0 support,missing some WebGL api.
|
i test your code and It had no effect. |
I first encountered this problem on another model if not a plugin supports problem,what would it be that causes the problem, like the problem @934556826 having with the plugin |
check this my comment : #1678 |
Describe the Bug
Describe the Bug
Images show as blank or a gray square on Android devices.
Steps to Reproduce
Open the link in Chrome on Android device
Cornerstone3D 2.0 locally: https://www.cornerstonejs.org/live-examples/local.html
Use this test file
test.zip
The current behavior
Shows blank or gray square.
The expected behavior
Show the image.
OS
Android 12
Node version
18.17.6
Browser
Chorme 131.0.6778.81
The text was updated successfully, but these errors were encountered: