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

Image tiling performance improvements and device support #226

Open
oscarlorentzon opened this issue Jan 19, 2017 · 0 comments
Open

Image tiling performance improvements and device support #226

oscarlorentzon opened this issue Jan 19, 2017 · 0 comments

Comments

@oscarlorentzon
Copy link
Member

The current implementation of image tiling is creating a texture with the size of the original image. This is memory inefficient for large images, e.g. panoramas with sizes up to 16384 x 8192 px, and causes long rendering times leaving the viewer unresponsive for up to hundreds of milliseconds from time to time. On devices where the WebGL max texture size is smaller than the original image size the texture will just be scaled and it will not be possible to view the full resolution even when zooming.

The idea with this issue is to only create a texture with the amount of pixels that is needed for the current viewport size. That reduces the memory requirements, the WebGL max texture size will not be a limiting factor, the rendering speed will be improved, and the viewer should behave more smoothly when panning/tilting/zooming.

@oscarlorentzon oscarlorentzon self-assigned this Jan 19, 2017
@oscarlorentzon oscarlorentzon changed the title Image tiling performance improvements device support Image tiling performance improvements and device support Jun 7, 2021
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