export from blender into c++?
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.
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
Popular Topics
Advertisement