iPhone 3D engine test: SIO2
Yesterday, I digged deeper into the SIO2 3D engine which I mentioned in my last post. This is what I’ve thrown together in some hours of work. (Featuring a free model by Sven Daennart, one of my favorite 3D artists.) The SIO2 API is very OpenGL-ish and features a bunch of C methods like “sio2ResourceGet”. It requires you to have one global attribute sio2 around which is the entry point into the engines internals, like the SIO2 window. (This is the point where it gets a bit annoying since every SIO2-related pointer in there starts with _SIO2… Hold on, I’m already using this sio2 global which you’re expecting me to have, so why do I need to type something like sio2->_SIO2window->_SIO2windowrender…?) I prefer an object-oriented approach anyway, so I started to wrap the engine into my own C++ classes which went pretty smooth so far. Fortunately, SIO2 comes with eight examples, each accompanied by YouTube video tutorials, and a skeleton project you can use for a jump-start. Moreover, a good part of the examples is …