note: Cross-posted at http://www.java-gaming.org/index.php/topic,24336.0.html
I just started looking into libgdx and OpenGL (ES 2). Once I felt comfortable with rendering some easy, basic shapes I decided to try to import a .obj file.
The file loaded fine, however it wouldn't render at all. So I started digging in the source code for the ObjLoader and found that the loader names the attributes as "a_Position" and "a_TexCoord" while both the tutorials and the SpriteBatch class names them "a_position" and "a_texCoords".
Doesn't that break functionality since the wrong variable names get sent to the shaders?
The model rendered (kinda) when I manually edited the attribute to "a_position" after loading the model.
I don't know, maybe I'm wrong and it's supposed to be like this? If so, please explain why.