Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 10 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(7)
检查这个开源 UIView 子类,用 6 个图像制作令人惊叹的交互式 360-180 度全景图,每个图像对应一个立方体的每个面。在链接中,您可以检查示例
PanoramaViewer
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
我最近发现了KRPano,因为它没有在这里列出..
I've recently found KRPano and since it's not listed here..
http://www.vrhabitat.com/#vr5 上的 VR5 全景查看器应该可以满足您的需求。
当你下载它时,你可以通过将 vr5_script 文件夹导入到 Xcode 项目中来测试它,确保选中“为任何添加的文件夹创建文件夹引用”选项,然后将其加载到 webview 中:
我刚刚尝试了一下,看起来效果很好。如果您将其用于商业用途,请考虑捐赠给作者(我与作者没有隶属关系)。
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:
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).
Apple 的“HTML5”图库包括使用专有 CSS 和 JS 扩展实现的 360° 全景:
http://www .apple.com/html5/showcase/vr/
在所有 Apple 浏览器(包括 Mobile Safari)中运行良好,但它设计不在其他浏览器中运行。
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.
此处找到的:http://code.google.com/p/panoramagl/ 是已经更新为 iOS 5.1。您可以下载示例并离线和在线使用该库。
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.
我目前正在构建一个类似的系统,并且和您一样幸运。最终使用 UIScrollView 提供类似全景的效果,尽管我无法完全成功地包裹它。我使用 WWDC 第 104 场会议 (2010) 的视频来帮助我优化大图像加载。
如果您有时间/技能(我只涉足过 OpenGL),OpenGL ES 可能是一个更优雅的解决方案,但我当然没有运气在任何地方找到全景库(除了已弃用的 panoramagl )。这当然是一个愚蠢的事情。
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.
在这里查看正确答案。我使用了这段代码,它对我来说就像一个魅力。希望对您也有帮助。
此处
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