I'm a bit stuck with loading a wireframe (made of triangles) using an OBJ loader/parser I made (OpenGL exercise with GLUT/GLEW). There are some random lines that show up - look near the spout, and inside the teapot*. The more vertices (more complex objects), the more random lines. I am fairly certain the vertices and faces are being loaded correctly from the OBJ, I checked the vector arrays. And the OBJ files are definitely fine, I tested the handful with another parser as well.
Any advice on how I go about solving this problem would be much appreciated. There may be some commented-out items that seem out of place because I removed about 200 lines worth of other functions. The loader/parser is a separate file altogether.
*For some reason I can't post any URLs (linking/embedding images), so if you'd like to view my screenshot you can paste the following into your browser:
Afterthought: I'm using GL_LINE_LOOP... Is this the reason I am not getting triangles? If I change it to GL_TRIANGLES I get pretty much the same mess with the complex objects, except they are now completely black (no more wireframe) and look even worse.
Edit: Will post link to complete program once it's finished + summary of all issues I encountered.