Coder Social home page Coder Social logo

cinder-assimp's Introduction

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

cinder-assimp's People

Contributors

gaborpapp avatar bgbotond avatar

Watchers

James Cloos avatar GalaxyRipple avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.