PDA

View Full Version : How to import maya files into opengl



designer_2011
12-16-2011, 08:54 PM
hi,

how to import import maya files into opengl,

thanks,

Zyx_2000
12-17-2011, 10: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.

designer_2011
12-17-2011, 07:11 PM
hi,

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

thanks

V-man
12-18-2011, 06: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.

marek-knows.com
12-18-2011, 08: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, 08: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)