PDA

View Full Version : how to import a *.max file to opengl?



kouwww
03-15-2004, 01:44 AM
how to import a *.max file to opengl?

Thanks.

SmutMonkey
03-15-2004, 03:31 AM
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 http://www.opengl.org/discussion_boards/ubb/smile.gif