I am trying to read any file format(.iges, .dxf, .asm, .prt etc) to load a 3d model in my OpenGL Program and visualize it(The program is to visualise the Mechanical part of an automobile design, assemble the parts disassemble it and visualise one by one). I went through the specification of .iges format but I found its very much difficult since it is having huge number of entity set, for which I need to write the parser for each entity.
When I tried for .dxf format one of my friend told this format gives only the wire mode of the model not the fill mode(Is this true?).
Can anyone guide me, which file format should give me the “fill mode” of the model after reading it, and will be easy also to write a file reader for that, which will give me vertices, normals etc.
Also kindly direct me to any available file reader so that I can directly use it.
I will really appreciate the help.