sk-zk / lookaround-map

🍎👀🗺
https://lookmap.eu.pythonanywhere.com/
MIT License
54 stars 9 forks source link

Look around doesn't load in iOS Safari #8

Closed user080975 closed 8 months ago

user080975 commented 8 months ago

Hi,

I tested the demo here: https://lookmap.eu.pythonanywhere.com

But it doesn't seem to load on Safari on iOS 17.3.1, which is the latest. Is it possible to get this working on iOS Safari? I don't see any errors in console either.

Thanks!

sk-zk commented 8 months ago

I may have tracked down the source of the problem. Does this page show "the script didn't run" for you?

https://sk-zk.github.io/hevc-msp/

user080975 commented 8 months ago

Yea I got the “script didn’t run” message on that page.

sk-zk commented 8 months ago

The site should be fixed now.

user080975 commented 8 months ago

Just tried it and it works great! Is the example based on Three JS? Would it be possible to modify the transition to a cross fade or some other transition similar to the one Apple or Google uses?

sk-zk commented 8 months ago

Is the example based on Three JS?

Yep, panoramas are rendered with Photo Sphere Viewer which uses Three.js.

Would it be possible to modify the transition to a cross fade or some other transition similar to the one Apple or Google uses?

The transitions in Look Around are made by morphing between the 3D meshes associated with each panorama. I've yet to work out how to decompress them, but if I ever do, I'll try to integrate them into the viewer.