Friday, November 22, 2013

Progress update:

Added support for loading in OBJ files into iOS, took the original readObj method that was written in C++ and translated it into Objective C, wasn't too bad.   A nice trick in Objective C is renaming your implementation file .mm instead of .m, this tells Xcode there will be C++ in that implementation.  Awesome for mixing C++ with Objective C, (this is not needed obviously for C functions).  OpenGL ES seems to like a blended file with 3 vertices and then 3 normals so it can load in the object, kinda strange.

We are working on getting the accelerometer movement correct for the space ship, however it is proving to be harder than we thought since it requires a lot of tinkering to get it right.   We are researching ways to improve this by using the gyro and magnetometer.

Just added a start screen to the project as well, I do not know the name of the game yet, so I put something that fits as a place holder (I will laugh if this becomes the name of the game).


No comments:

Post a Comment