.obj File Import

Hi all, I was looking for some help on importing .obj files into a program using openGL. I’m writing a program that is supposed to take in a list of vertices and faces (in this case a cow lol ) and then display them properly on the screen. Unfortunately, I have no idea how to do that - it is supposed to handle any number of vertices and faces (in this case a few thousand) and I can’t find out in any of the books I have how to do it. Any help would be greatly appreciated Thanks a lot -


p.s. - say, using


and so on till I have all the faces and vertices… then I have to know how to get through and display them and that, I don’t know -

JimmyFo, you might wanna look at


Hi !

www.wotsit.org has lots of information on almost all kinds of file formats.


Thanks a lot you two, I’m looking over those now -

have a good one -