....just when I thought I had things working out, another problem happens. Well, actually a few.
1. The texture on the object is not correct despite the texture being from the UV rendering. I have no clue how to fix this.
2. When running the game from the computer, the textures transfer over. When running the game from the phone, there is no textures.
3. The object will not rotate in 3D space. The vertices change correctly, but OpenGL doesn't draw them with the new change. I tried with the vertices being static and dynamic, and 4 different types of rotation methods. The only usable one is to rotate the camera around the object, then render the object....but that just makes the object look bad (the angles are incorrect).
When I add a second object, the first object "rotates"....one face (3 vertices) spins like crazy and another wobbles back and forth while the rest of the object is stationary.
My brain is nearly fried, I spent all of yesterday and today trying to decipher this. So, I'm taking a new attack, I'm on this website (http://www.mobilegameengines.com/android/game_engines) looking for a 3D OpenGL engine to use instead of accessing the raw OpenGL functions/ methods.
Looks like I'm gonna be behind schedule. Hopefully, when I get a good looking engine, everything after that will be smooth and I can finally crank out the features the game needs, LIKE A MENU AND A LEVEL!!
After a grueling and painful (mentally/ physically) 5 hours, I managed to round the 30+ engines down to 2.
ReplyDeletejMonkeyEngine (http://jmonkeyengine.org):
It has a lot of features, but is a bit hard to start working with (...as if OpenGl wasn't)
Rajawali (http://www.rozengain.com/blog/category/rajawali):
It seems easier to work with, but has significantly less documentation than jMonkey.
Right now, I'm trying to push with jMonkey and hope for the best...I shouldn't have limited myself to just OpenGL for so long.