I want to load an object created with Maya in c++ with opengl, how could I do this?

Thank you.


Maya creates objects in a proprietary file format, and the approach to convert these objects in a way that can be read in C++ is very open-ended and left for the user to decide.

Since you don't give much detail, I think using the ASSIMP library is the most straightforward solution. Maya supports export to OBJ (and I think 3DS, I'm not sure though), which this library can use.

  • \$\begingroup\$ I don't think it does 3DS, but I do know for a fact that it does .fbx, which I also know for a fact that 3Ds max could open. \$\endgroup\$
    – Kirbinator
    Feb 8 '13 at 3:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.