Using mesh files??


Don’t know if I’m lost or on the right track here.
Well I was wondering if OpenGL supports all kinds of file-types or only ones like .md3, .3ds etc…

Is it possible to use for instance .max files or Microsofts .x files?

Have I not understood the concept of using mesh files?
Maybe it supports all types.

Another question if you have time to answer. Some where I read that when you use .3ds files it’s devided by chunks. It also said that you don’t need to do write code to read all the chunks. How can I find out which chunks are important an so on.
I’ve already read the document explaining how .3ds files are built. So please explain here cause I didn’t get it.


OpenGL is a rendering API, it does not support any type of file loading.

You ether have to use a model loading routine or library created by someone or write you own.

You can do a google search and find examples of how to load a model into openGL.

There are excellent tutorials out there, check out and NeHe’s tutorials.