Make a model in Blender and load in opengl
12,025
Its a 3 step process, using external libraries.
- Model in blender. Export from Blender to .obj format (also containing .mtl file with reference to textures used).
Refer to
https://blender.stackexchange.com/questions/121/how-do-i-export-a-model-to-obj-format
Use a library like Assimp to produce vertices and attributes.
Use the vertices and attributes in your OpenGL application, using a method like described in,
https://nickthecoder.wordpress.com/2013/01/20/mesh-loading-with-assimp/
Author by
Raghuram Vadapalli
I am CS undergraduate researcher from IIIT-Hyderabad.
Updated on June 18, 2022Comments
-
Raghuram Vadapalli almost 2 years
I want to make a 3D model in Blender and load it in OpenGL. Can someone give a step-by-step approach on how to do so. I tried to google but did not get any proper results.
Programming language: C++,
Tools: GLFW + GLAD + GLM