You need to be more specific. Code? What is the image even supposed to be? Wrong settings?
hm...its a bit hard to explain
basically when i go to run my game, the model looks badly rendered..
thats supposed to be a model, but it looks like its graphically bugged..
heres some code that i used that involves that model:
1 2 3 4 5 6
|
#import ".\WorldMap3Dv1.h"
glEnableClientState(GL_VERTEX_ARRAY);
glEnableClientState(GL_TEXTURE_COORD_ARRAY);
glVertexPointer(3, GL_FLOAT, 0, WorldMap3Dv1Verts);
glTexCoordPointer(2, GL_FLOAT, 0, WorldMap3Dv1TexCoords);
glDrawArrays(GL_TRIANGLES, 0, WorldMap3Dv1NumVerts);
|
at first i thought it was the graphics card not liking it, but when i used this on my main computer it did the same thing..
any ideas now?
Theres spaces between the model, and alot ._.
Extra details: I used an obj2opengl.perl to load the obj file into a header file(.h)
its probably something wrong with that..
Last edited on
Have you tried it with a simpler model like a cube or tetrahedron?
Last edited on