This is the complete source code of Revolved – the 3D modelling app for the iPad that I've developed last summer.
There were many reasons for making Revolved open-sourced – some internal, some external, but it nonetheless feels like the perfect time to share the source code with the rest of the world. I strongly believe in giving back, as I've personally learned so much from others.
Revolved is no longer under development, but I'd be more than happy if its source helped making your app better.
- OpenGL ES 2.0 based rendering integrated with UIKit
- custom animation engine
- a bit of private API hackery
The line drawing system has been explained in details on my blog.
Revolved source code is released under the BSD 3-Clause License. You're free to use/copy/rewrite whatever pieces of code you desire. However, this license does not cover the image assets – you can't reuse them in your app. While I don't care that much for the PNGs, this is intended to prevent blatant resubmission of Revolved to the AppStore without a slightest alteration.