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

CIRCUS RS cannot handle volume larger than 512x512x1024 on typical desktop environment #365

Open
smikitky opened this issue May 15, 2023 · 0 comments
Labels
enhancement New feature or request package:rs

Comments

@smikitky
Copy link
Member

Currently, CIRCUS RS stores the entire volume of a series into one WebGL texture.

However, there is a maximum size (width or length) of a texture that can be created on a device. On a Windows desktop machine, a typical value seems to be 16384:

WebGL Caps Viewer: https://www.geeks3d.com/webgl/

image

$16384 ^ 2 = 512 \times 512 \times 1024$, so this means CIRCUS currently cannot handle a large CT volume that has more than 1024 slices (which is 512 MiB for a 16-bit grayscale image).

If you try to view a large volume that exceeds this limit, you'll see the following error in the browser console:

image

To work around this, we need to use more than one texture to store one volume.

@smikitky smikitky added enhancement New feature or request package:rs labels May 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request package:rs
Projects
None yet
Development

No branches or pull requests

1 participant