how to import a *.max file to opengl?

how to import a *.max file to opengl?

Thanks.

Don’t try to load the .max file directly. It’s a chunk based file, and not all chunks are documented. If you want to get mesh data out of 3ds Max then your options are either to write a custom exporter, or export the mesh data to another, better documented, format (such as 3DS or ASE).

If you intend to write an exporter you have at least 2 options, start from scratch (not that hard once you get the hang of it), or check out http://www.codercorner.com/Flexporter.htm . It’s an excellent framework for building an exporter, and best of all it’s free