Skip to content

gaborpapp/Cinder-Assimp

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
lib
 
 
 
 
 
 
src
 
 
 
 

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

About

Cinder block for the 3d model importing Open Asset Import Library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published