Load 3Ds model in a OpenGL program
-
06-06-2021 - |
Pergunta
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.
Solução
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.
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow