View Full Version : how to load files saved as following formats into openGL application--need help!

05-08-2004, 05:19 PM
how to import(load) "objects" into an OpenGL application that are saved in the following file format:
IGES(*.igs),Neutral(*.neu),STEP(*.stp),STL(*.stl), Inventor(*.iv),
WaveFront(*.obj),Render(*.slp),VRML(*.wrl),ACIS File(*.sat),
Could you give me some examples or source codes ,or give me some clue about that?I need them in a hurry.Thank you very much! Please help me!

05-08-2004, 06:37 PM
opengl doesn't deal with files, it just renders polygons. You need to look up the file format (try wotsit.org) and then read in the vertices using file I/O. Then render those vertices.