I've decided to start testing frameworks to see what we'll actually be able to do, and I've learned a few things on the way. I started by downloading and installing Cinder, following and expanding off of some of their tutorials, and getting some basic interaction and particle display working in a mac application. I also compiled and tested some Quicktime and GLSL code samples. I chose these tests because the primary features we're looking for in our part of the application are touch/accelerometer support, 3D/shader support, and video support. With the shader and video parts looking good, I went to test Cinder's touch-screen features. However, I had been warned that the iPad 2 it's latest operating system weren't compatible with Snow Leopard's version of Xcode.
Luckily, this turned out to not be the case, and I managed to get the iPad 2 working with Xcode in Snow Leopard. All I needed to do was download and install Snow Leopard 4.2 from the Apple Developer website, and do a bit of provisioning / keychain work. I got a basic "Hello World" app running on the iPad, which was simply a rotating cube. Next, I added touch functionality to the app and got it to print out the locations of my touch gestures. So far, so good.
I ran into problems when I tried to add in Quicktime features. Initially, I thought that I must have typed in the wrong line of code somewhere, but I eventually reduced my code to the #include "cinder/qtime/MovieGl.h" and still received errors. After some googling, I learned that iOS doesn't have the Quicktime SDK as part of it. What it does have is CoreVideo, AVFoundation, and a few other frameworks that support video playback. Unfortunately, none of these were implemented in Cinder.
I discovered more issues when I tried to get Cinder's shader demo working on the iPad. After more research, it turns out that Cinder and OpenGL have a bit of a complicated relationship when it comes to mobile devices. iOS actually uses two versions of OpenGL: OpenGL ES 1.1 and OpenGL ES 2.0. Both of these versions of OpenGL are more limited in their capabilities, and were mainly created with mobile device consideration in mind. When Cinder builds an application for iOS, it builds to 1.1, which has a greater amount of backwards compatibility. The problem with 1.1 is that it lacks shader support; a feature provided by 2.0. Other people had also voiced a desire about using ES 2.0 in the Cinder forums, but that feature has yet to be fully implemented. One person made a build that used 2.0, but it produced some obscure errors in the linking process when I compiled it that I was unable to debug.
The conclusion I reached with all this stuff is that Cinder, while a great creative coding library for desktop applications, isn't really suitable for our purposes. With this in mind, I started looking around for alternative solutions. I found an Objective-C library called iSGL3D which does have shader support, and I got the shader examples running. 3D scenes made with this library are encapsulated in views, so anything made with this would not have an effect on what the other groups are doing. In addition, a feature it supports that Cinder does not is touch detection for 3D objects and 3D particles. I'm also currently in the middle of getting the accelerometer/gyroscope working and syncing it up with the 3D camera so that the movement controls we want can be realized.
Remaining development unknowns for my group:
-How should we implement sound (external library or os5 framework)?
-Should we take the time to learn AVFoundation or go with a sprite-based approach to the moving parts?
-How should we structure the art pipeline?