views:

262

answers:

4

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 its 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.

thanks!

+1  A: 

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.

diatrevolo
i have not the opengl es skills ;) as always, deadline is coming fast. i also tried using a scrollview but ended up with no good solution
choise
Wish you good luck buddy! Deadlines suck!
Raj
+1  A: 

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).

Jamie Ciocco
yeah i tryed that, but its not very smooth, without smooth scrolling and all of that. also it does work in mobile safari, but in a uiwebview there are some problems with multitouch actions
choise
+1  A: 
porneL
Are you sure you mean "designed not to" which implies they put effort into breaking it in Firefox, or "not designed to" which implies they just didn't bother making it work?
Tom H
A: 

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

microspino
poorly its impossible to view the demo in iphone simulator (local) http://dl.getdropbox.com/u/80699/Bildschirmfoto%202010-10-25%20um%2016.03.12.png
choise
You need a license as said here: http://krpano.com/iphone/#howtouseit
microspino
@microspino shure, but first i would like to try before i buy ;)
choise