openframeworks/openFrameworks — pull request #1720 by julapy (2012-12-03 08:40:23+00:00)
Title: ofxAssimpModelLoader aiNode bugfix

found a pretty big bug in ofxAssimpModelLoader where the aiNodes were being completely ignored.
this was breaking basic node transformations and animations.

this article shows how to render assimp data correctly,
http://www.lighthouse3d.com/cg-topics/code-samples/importing-3d-models-with-assimp/
and ive implemented a fix based on that.

also had to make a couple tweaks to the example models which were set on the wrong axis... im assuming to compensate for the previous incorrect behaviour.

ofxAssimpModelLoader still needs some more loving... it seems its only be setup to work for bone animations and a load of other functionality has been ignored.