View Full Version : How to import maya files into opengl

12-16-2011, 07:54 PM

how to import import maya files into opengl,


12-17-2011, 09:03 AM
How to import specific file formats has nothing to do with OpenGL itself. I suggest that you look for a library that reads vertex data and such from a maya file, and then pass that data to OpenGL.

12-17-2011, 06:11 PM

how to converter maya .obj or .ma file to .m file.


12-18-2011, 05:16 AM
Learn about the file formats and then write code.
For file formats, I usually visit http://wotsit.org
Information about OBJ is on that site.
I don't know what .ma and .m is.

12-18-2011, 07:49 AM
The way that I get my Maya models into OpenGL is that I first export my model to the FBX file format. I then use the FBX SDK to parse the data and extract what I need to for my game engine.

Have a look here for details: http://www.marek-knows.com/phpBB3/viewtopic.php?t=353

abhishek bansal
12-19-2011, 07:54 AM
if your Maya models can be converted into 3ds format you can use LIB3DS library to import it into OpenGL. This Library can handle animation, lights and multicomponent/multimesh models.Lib3ds (http://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&ved=0CB8Q FjAA&url=http%3A%2F%2Flib3ds.sourceforge.net%2F&ei =8VvvTtbkC43prQf7mfWPBw&usg=AFQjCNHG5ZuiJ1YA--7rHxpKF8pihIWS3A&sig2=4sQFoof6qgESSq44gvzOFg)