Search code examples
visual-c++opengl3ds

Load 3Ds model in a OpenGL program


I have a chess board created using OpenGL in VC++. I have downloaded the chess pieces from elsewhere which has models in 3ds. I am trying to place this 3ds models on the board. Help me place the object which can be translated on mouse interaction.


Solution

  • OpenGL is "merely" a drawing API (though a powerfull one).OpenGL doesn't load 3ds models but you can of course load 3ds files using a 3ds file loader/parser and feed the extracted data to OpenGL.