How To import Blender in OpenGL

Sunday January 13th, 2013By: CyrIng

 Thanks to the Assimp library, we are programming a C import of Blender Mesh.

Download the source code, make it and start it with the path to .blend file as the argument.

$ make
Compiling : Done.
Linking : Done.
Ready : ./bin/blenderGL

$ ./bin/blenderGL samples/monkey.blend

Use keys from [1] to [9] to translate;  arrows  [Begin] and [End] to rotate following the 3 axes. The [Esc] key to exit.

Don’t forget to save your Blender Mesh file using the legacy format.