开发者

PanoramaGL on iOS 4.0

Has anybody used the p开发者_JS百科anoramaGL from http://code.google.com/p/panoramagl/ ? How did you setup the project? I have changed the base sdk to 4.0 but I am getting 75 errors.

If not is there any free library to do 360 photo on iPhone?


The last version of PanoramaGL runs fine on iOS 4 or better. Please check http://code.google.com/p/panoramagl/ and download HelloPanoramaGL example that uses hotspots.


There is a sample Xcode project source code called HelloPanorama in the Downloads section of the PanoramaGL. It is very self explanatory, but here is a walk thru tutorial.

The non-ARC errors for a project with ARC could be fixed using the following instructions. If you'll get any ** errors, just replace **variableName with *__autoreleasing *variableName.

That did it for me.

Note: also if your PLSpherical2Panorama class renders a messed up panorama, you need to have at least one hotspot on it to fix it. Took me some time to find out.


Not a real answer but look here and here. Although the guy behind PanoramaGL is still working on the lib, It seems that people consider It sort of deprecated. I managed to correct lot of the errors to have It compile well on my iPad, but the user experience looking around the panoramic photo, it's not so good like I'd like It to be. The documentation about the tesselation algorithm It's not easy, so I preferred starting over.


In order to avoid having the hotspot image in the middle of the image you can use this. It's an empty image and it's completely transparent :) http://it.wikipedia.org/wiki/File:ImmagineVuota.png

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜