Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Cinder block for the 3d model importing Open Asset Import Library
C++ C Python
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
samples
scons
src
README.md

README.md

Cinder-Assimp

C++ Cinder Block to use the Open Asset Import Library. Assimp is a portable Open Source library to import various well-known 3D model formats in a uniform manner.

Based on ofxAssimpModelLoader by Anton Marini, Memo Akten, Kyle McDonald and Arturo Castro.

To do list

  • VBO support, instead of TriMesh
  • GPU skinning
  • Better material support
  • Multitexture support

Static library rebuild instructions

The Cinder-Assimp block has a statically compiled version included. The static library can be recompiled with the following steps:

Download Assimp from http://sourceforge.net/projects/assimp/files/assimp-3.0/assimp--3.0.1270-source-only.zip/download

Build instructions on OSX

unzip assimp--3.0.1270-source-only.zip
cd assimp--3.0.1270-source-only
mkdir build
cd build
cmake -DENABLE_BOOST_WORKAROUND=ON -DBUILD_STATIC_LIB=ON \
    -D"CMAKE_OSX_ARCHITECTURES=i386;x86_64" \
    -DCMAKE_CXX_FLAGS="-fvisibility-inlines-hidden" ..
make

which creates libassimp.a in the code/ directory.

Build instructions on Windows

unzip assimp--3.0.1270-source-only.zip
cd assimp--3.0.1270-source-only
cmake -DENABLE_BOOST_WORKAROUND=ON -DBUILD_STATIC_LIB=ON -G"Visual Studio 10"
compile the lib in Visual Studio 10
Something went wrong with that request. Please try again.