Loading a 3d model into an OpenGL scene

I need to load and save 3d models in my project and display them in the OpenGL scene. I can choose the type of exported models. dwg, max, step and some other formats are available. I just discovered that OpenGL is a low-level API and does not contain any tools for analyzing files of three-dimensional models. I am looking for some library / API to translate a three-dimensional file structure into OpenGL primitives (or some other raw data) and save them back to a file with the specified format.

For example, I would like to upload a step file, rotate and scale some objects, and then save the modified file.

+7
source share
2 answers

I think Assimp might be what you are looking for: http://assimp.sourceforge.net/

+10
source

All Articles