cleaned up ofxAssimpMeshHelper
added ofxAssimpAnimation which acts a lot like a video player for 3d models and wraps aiAnimation object.
moved all animation code from ofxAssimpModelLoader to ofxAssimpAnimation.
added modelMatrix to ofxAssimpModelLoader
this is the combination of position, scale and rotation of the model.
its mainly for accessing when wanting to draw things in the model space.
added ofxAssimpUtils which groups all static function for converting different data types between OF => Assimp and Assimp => OF
optimised ofxAssimpAnimation.
split up ofxAssimpMeshHelper in .h and .cpp files.
also added matrix property to ofxAssimpMeshHelper which is the matrix transformation of the mesh in relation to the world.
ofxAssimpModelLoader,
1) moved static function to ofxAssimpUtils
2) mesh matrix is calculated on update and is stored inside ofxAssimpMeshHelper
3) added deprecation messages for old animations functions.
big clean up of assimp example.
removed ofx3DBaseLoader.h which was never used.
couple small tweaks for backward compatibility.
fixed mesh render in asssimp example, so its orientated in the same way as the model.
updated iOS assimp example.
makefile android: fix install target
ofAndroidLib: updated to api17
Merge branch 'develop' of github.com:openframeworks/openFrameworks into develop
optimize in loadModel is now set to false by default.
this option alters the models and for someone that is not aware, it can cause a lot of hassles.
it did for me!
two loadModel() function were duplicating code - fixed.
ofMesh was incorrectly being casted to ofVboMesh and was causing a big leak in the app.
calling update() after loading new model - this ensures the model is positioned correctly straight after loading.