Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm try to convert the 3D Objects created in the Maya or 3D Max to Simple OpenGl object anyone please guide me how can I do so???

share|improve this question
Choose just one language, or C++ or C#. They're different languages, so its methods to read data is too! – Gustavo Maciel Jan 20 '12 at 7:18
What is a "Simple OpenGl object"? What format are you trying to read from? This is a very poorly specified question overall. – Nicol Bolas Jan 20 '12 at 7:50

I think Assimp is what you are looking for( ). There are some good tutorials out there if you head over to lighthouse3d ( ). It uses the new Core profile so it's as future safe as anything you will find. The tutorial is in C++ but it should be hard to port to C# if that's really what you want to use. Also, there is a C# wrapper of Assimp in the repo with it^_^ Good Luck!

share|improve this answer

This is a pretty general question so this will be a pretty general answer. Don't think of it as exporting to OpenGL; instead you export from a 3D art tool to some file format and then write code to read that file format. So for example you can export to OBJ and then write code that reads in all the vertices from an OBJ file and puts that data into arrays for using with OpenGL.

You can find file format descriptions for most of the commonly used 3D file formats. For example, here's an explanation of OBJ file format:

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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