360° panorama libraries for ios [closed]

跟風遠走 提交于 2019-11-26 22:30:55

问题


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.


回答1:


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




回答2:


Check this open source UIView subclass to make awesome interactive 360-180 degrees panorama from 6 images, one for each face of a cube.In the link you can check the example

PanoramaViewer




回答3:


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:


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.




回答5:


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.




回答6:


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:


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



来源:https://stackoverflow.com/questions/3763978/360-panorama-libraries-for-ios

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!