How to load a 3d model

Started by
5 comments, last by Eliad Moshe 11 years, 11 months ago
Hello everyone,

I wanted to get into graphics programming (so far I have a little knowledge about openGL) , but I am not a very good programmer (or in order words I am not very advanced).

What I would like to do at this point is make a simple primitive from a 3d software (take your pick: Maya, 3ds Max, etc) and load it into my program. What I found was that this is a very complex technique and requires a lot of knowledge and detail about mathematics, multi-dimensional arrays, operation overloading, etc.

What I wanted to know is there a a graphics library, or graphics programming language were there is a simply pre-made function: (for example load3dModel(cube.xxx) ) and it will just load the model?
Advertisement
Yes, try Ogre or Irlicht. These libraries wont help you to become better at OpenGL, but they will do the graphics for you. If you're not using c++ just say what language you are using.
I am using C++, but I am open to any programming languages that makes graphics program a little easier
Check out assimp
Well if you just want some thing that can draw 3D models I would recommend Irlicht or Ogre. But if you want an entire game engine, where you only need to program the game logic I would recommend you to try using Unity3D - asuming you are using Windows or Mac
The easier way (by far) is to pick one of the many 3ds or obj loaders out there. That will make you able to load simple objects created in Blender or in the 3d package of your choice.

I also suggest to try Assimp, which supports several formats.
The FBX SDK is quite well documented (proprietary - provided by Autodesk).

http://download.autodesk.com/us/fbx/20112/FBX_SDK_HELP/index.html

Also, Assimp supports a huge set of file formats.
Documentation might be better in my opinion although the library is very intuitive and rich.

http://assimp.sourceforge.net/

This topic is closed to new replies.

Advertisement