So the thing is, I get dispersed triangles instead of model that I'm loading, in this case it's just a cube. It seems as those triangles have no points that connect them. Is there anyone who had this problem before and knows where should I look for the problem in my code?
Here is an image I get:
Load3ds.java - loads the3dsmax object
Scene3D.java - stores all the objects (vertices, indices, materials etc)
Model3d - based on the Scene3D information creates buffers and passes them to OpenGL, I think the problem is here, though I have no luck finiding it
Any help, thoughts on this matter are greatly appreciated.