CubeWorld for iPhone
Post pubblicato il 26/03/2008
Latest drop: 0.0.57
It's an iphone native application that's able to show spherical panoramas. Rendering is based on a cubic map and it's done using OpenGL.
How can I try it?
Simply check on repo.ispazio.net repo, or add http://www.marcogiorgini.com/iPhone/plist.xml to your installer sources.
I don't want to do it, but I want the same to try the app. What can I do?
(A bit less)Simply download the zip www.marcogiorgini.com/iPhone/CubeWorld.zip and put CubeWorld.app in your Applications folder - then change CubeWorld file permissions (inside CubeWorld.app folder) to 0755. Then put CubeWorld folder under /private/root/var/Media and be sure that this folder has got reading permissions.
What's a "spherical panorama"?
It's an image that can give you the feeling to be where the picture has been shot, because you can turn your eyes around 360°.
Where can I find other panoramas?
Well, you can try www.cubeworld.org (name's not by chance the same of this app) where you'll find a lot of other info about this project. Another userful link is www.geoffreymorelle.com
I got mines! can I see them on my iPhone with this app?
Yes, sure. As long as they're based on a cube (one-image spherical projection will be probably added soon - with software rendering). Specs will be available soon - but it's just the matter to create a subfolder in /private/var/root/Media/CubeWorld with an xml file and your 6 jpgs (one for cube face) - following an easy rule for naming and extensions.
Folders name doesn't matter - but inside that folder you must put:
- an xml file with a
- a png file (48x48) with the SAME name (but with png as extension of course) (i.e. marcogiorgini.png)
- 6 jpg files named
Each texture can be at max 1024x1024 (iPhone openGL limit for textures). Note: textures must also be a power of two (even for openGL issues). So they can be 1024x1024 - 512x512 or less (less is not a wise choise...). If you use another size CubeWorld will resize them on-the-fly so to match this requirement.
xml file should be like that:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<string>Brugges 360 image, by Geoffrey Morelle.</string>
In future (near future) versions more keys will be used.
I don't want to write xml file by myself. Is there any other way to create one?
Yes. You can use the flash app, written by Geoffrey, that you can find here: http://www.cubeworld.org/en/node/26
Is CubeWorld free?
Yes. CubeWorld is a FREE iphone application. If you like it, and if you want to, you can donate some spare money to Marco Giorgini for it (using the above Donation button) but it's your call. If you want to thank the author a postcard, or a book or whatever will be appreciated too :-).
Who's the author of this program?
Code and design are by Marco Giorgini, but everything is based on an idea by Geoffrey Morelle, who's also the author of all the panoramas inside the default package.
Who's Marco Giorgini, anyway?
Marco Giorgini is an Italian computer programmer, that lives in Modena. He works in the semantic/linguistic field (R&D for one of the major Italian software houses in that field). iPhone and games are ones of his hobbies.
When there are 20 or more panos there's a first letter selector for names.
Added a lot of extra options (speed for autopanning, inertia and accelerometer, and added a way to switch direction for normal dragging)
Up-Down zero for accelerometer is now set when "entering" in a pano (so just be "confortable" before clicking on view)
You can zoom-out till 0.5 (instead of previouse 0.7) (it means: you can zoom-out MORE than before...)
You can use your own logo as startup screen - just put in /private/var/root/Media/CubeWorld your own logo.png file (320x128)
Added accelerometer support (to rotate view up-down)
Fixed problems with installer code that deleted every extra panorama in CubeWorld under Media when updating
Added accelerometer support (to rotate view left-right)
Added auto-panning option when entering into a panorama
Added inertia when you drag images (like normal iphone elements) (note: this works - of course - in normal drag mode - not in hard drag)
Fixed nadir/zenith odd flip (now when you reach nadir/zenith simply stops)
Solved not-power-of-two texture size. If an image has got a different size it's resized on-the-fly by the application (i.e. 640x640 texture becomes 1024x1024 in memory)
Slow down rotating default speed.
Added rotating and zooming speed in Option page
Added support for key Zoom in xml file (range 0.7 - 7)
Fixed utf-8 problems for image description
First public release
App scans CubeWorld Media folder for panoramas, and show data reading xml files (so it's possible to create installer packages just for panoramas).
Landscape and Portrait mode are supported.
Rotating left-right up-down and zoomin are supported.
- You can select Portrait or Landscape viewing mode
- You can select "move and rotate" or "hard drag mode"
- You can activate Accelerometer for Left Right rotating (you'll have to use fingers to rotate up-down or to zoom)
- You can select rotating and zooming speed
- You can activate inertia (don't work on hard drag mode or with Accelerometer) to rotate view
- You can activate auto-panning when entering in a panorama
Notes: when you're in panorama view you can zoom in/out using two fingers. Tapping with three fingers (I suggest to keep down on screen and then to click with another one) makes you leave panorama view (returning to panorama info screen)