Make a model in Blender and load in opengl

12,025

Its a 3 step process, using external libraries.

  1. 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

  1. Use a library like Assimp to produce vertices and attributes.

  2. 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/

Share:
12,025
Raghuram Vadapalli
Author by

Raghuram Vadapalli

I am CS undergraduate researcher from IIIT-Hyderabad.

Updated on June 18, 2022

Comments

  • Raghuram Vadapalli
    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