Advertisement

export from blender into c++?

Started by June 11, 2009 11:51 AM
0 comments, last by WazzatMan 15 years, 4 months ago
could someone either point me in the right direction or tell me how I could use blender models in a c++ program? would I need to use opengl? could I use SDL? I have basic knowledge of c++ and blender, but am totally lost as to how to put models in my programs an script them... please tell me if this is over my head...
SDL actually uses OpenGL for it's 3D rendering. I'm not sure if OpenGL has any inbuilt model loaders, but I remember that I had to program my own 3DS loader for it.

Honestly, it's easier to use an engine like Irrlicht: http://irrlicht.sourceforge.net/

It supports 3DS, .X, .MD2, and milkshape formats. Just export in one of those formats and then follow the short example here to load it: http://irrlicht.sourceforge.net/docu/index.html


Irrlicht is one of the easier engines out there. So you shouldn't have much trouble if you already know how to use C++. But it doesn't have any inbuilt scripting tool.


This topic is closed to new replies.

Advertisement