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

How to make repeated 180 degree panorama? #1142

Open 007weilun opened 1 year ago

007weilun commented 1 year ago

So I use this code to make 180 viewers however I can't find a way to make them loop or seamless, it will look something like this: http://blog.n42designs.com/pano/

pannellum.viewer('panorama', { "type": "equirectangular", "panorama": "./images/test2.jpg", "vaov": 60, "hfov": 70, "haov": 180, "maxHfov" : 100, "avoidShowingBackground": true, "horizonPitch" : 0, "minYaw": -90, "maxYaw": 90, "minPitch" : -20, "maxPitch" : 20, "autoLoad": true, });

mpetroff commented 1 year ago

You linked to a viewer that displays a 360 deg panorama and only allows horizontal panning. I fail to see how that has anything to do with a 180 deg panorama or what you're asking.