360° panorama libraries for ios [closed]

2019-01-12 18:19发布

Are there any libraries or classes out there to show a 360 degree panorama on the iPhone?

I found this here: http://code.google.com/p/panoramagl/ but it's not up to date and only for old versions of ios.

I'm thankfull for any link that helps me to create a 360 degree panorama view on ios.

7条回答
爱情/是我丢掉的垃圾
2楼-- · 2019-01-12 18:40

Check out the correct answer here. I used this code and works like a charm for me. Hope will help for you as well. Here

查看更多
走好不送
3楼-- · 2019-01-12 18:44

The VR5 pano viewer at http://www.vrhabitat.com/#vr5 should do what you need.

When you download it, you can test it out by importing the vr5_script folder into your Xcode project, making sure to check the "Create folder references for any added folders" option, then load it into the webview:

[webView loadRequest:[NSURLRequest requestWithURL:[NSURL fileURLWithPath:[
     [NSBundle mainBundle] pathForResource:@"index" ofType:@"html"
     inDirectory:@"vr5_script"]isDirectory:NO]]];

I just gave it a try and it seems to work quite well. Please consider donating to the author if you use it for commercial use (I am not affiliated with the author).

查看更多
三岁会撩人
4楼-- · 2019-01-12 18:45

Apple's "HTML5" gallery includes 360° panorama implemented using proprietary CSS and JS extensions:

http://www.apple.com/html5/showcase/vr/

Works very well in all Apple browsers, including Mobile Safari, but it's designed not to work in other browsers.

查看更多
smile是对你的礼貌
5楼-- · 2019-01-12 18:49

The one found here: http://code.google.com/p/panoramagl/ is already updated for iOS 5.1. You can download the example and use the library offline and online.

查看更多
倾城 Initia
6楼-- · 2019-01-12 18:51

I am currently building a similar system, and had as much luck as you did with this. Ended up using UIScrollView to provide a panorama-like effect, even though I was not able to wrap it around entirely successfully. I used the WWDC video from session 104 (2010) to help me optimize large image loading.

OpenGL ES may be a more elegant solution if you have the time/skill (I've only dabbled in OpenGL), but I certainly had no luck finding a panorama library anywhere (except for the deprecated panoramagl). It's certainly a doozy.

查看更多
兄弟一词,经得起流年.
7楼-- · 2019-01-12 18:52

I've recently found KRPano and since it's not listed here..

查看更多
登录 后发表回答