md2 files

I would like to learn more about md2 files and how to put them into my own program. Is this a good format for animated models or is there a better one now? Also, I saw that there is a section in md2 files for opengl commands. What does that mean exactly? Are these commands that can make the files easier to display?

these command are for rendering model with GL_TRIANGLES_FAN or GL_TRIANGLES_STRIP, not with simple GL_TRIANGLES, by using triangles strips or fans rendering is faster

here’s a toturial how to load MD2 and render it: