mpetroff / pannellum

Pannellum is a lightweight, free, and open source panorama viewer for the web.
https://pannellum.org/
MIT License
4.15k stars 710 forks source link

Images loading optimisation required #1151

Closed codex5 closed 1 year ago

codex5 commented 1 year ago

Hi team, we're currently load the big image file at the first step to use the 3D view, but it's not good for the user experience. People have to wait for awhile to start exploring the scenes. Look how KRPano is processing the assets, it split the big image to the smaller ones for every angles. Then users can start using the viewer without waiting for loading. Please check if it's possible Thanks

mpetroff commented 1 year ago

Please check if it's possible

This is demonstrated on the pannellum.org homepage and the multiresolution example. It's mentioned in the readme and the utils/multires/readme.md file. Yes, it's possible.

codex5 commented 1 year ago

omg it's cool! Thank you so much @mpetroff I may have to find a way to convert generate script to PHP language, but at least it's possible.

Thanks