Importing 3D mesh data to Open GL

Is there anyway I can write a simple file program that imports 3D mesh into Open GL. I just want the mesh data, not textures...

I've have read that 3D Max technically uses Open GL to display graphics. Then could I theoretically import this data by:

sticking it onto an external notepad file

saving it to my project

then using my program I could read the file's data

create objects at runtime

and load up the meshes


Since this procedure would be very complicated, can any of you suggest tutorials that could help me to achieve this.
Just export the mesh and then load it. .OBJ is a very simple format to load. I think 3ds Max supports it..
http://en.wikipedia.org/wiki/Obj
thanks, I'll look for tutorials
Topic archived. No new replies allowed.