Last Updated
November 14, 2012
Open Asset Import library
Open Asset Import Library (short name: Assimp) is a portable Open Source library to import various well-known 3D model formats in a uniform manner.
Installing Assimp (need to do this only once)
- Download version 3.0 from here.Execute the installer. [Take note of the install directory]
-
Create a new Environment Variable called ASSIMP_SDK, set it's value to also be the SFML directory e.g. "C:\Program Files\Assimp"
- Hold Win and press Pause , to open the System Properites window.
- In the System Properties window, click on the Advanced System settings link (on the left hand side).
- In the Advanced section, click the Environment Variables button.
- Under "System Variables", select the "New..." button.
- Variable name: ASSIMP_SDK
- Variable value: "C:\Program Files\Assimp"
Building a Visual Studio 2010 project to use Assimp &OpenGL
Create a new "Win32 Console Application" Project.
Make the following changes to project properties (see screen-shot)
- select "all configurations"
- select "VC++ Directories"
- add "$(ASSIMP_SDK)\include" to the list of include directories
- add "$(ASSIMP_SDK)\lib\x64" to the list of library directories
Add the following lines to any files using ASSIMP functions (just put these after any other #includes).
© Ken Power 1996-2016