Openframeworks addon to pose Assimp skinned meshes with OpenNI
Forks
Forks pushed to more recently than gissmoto/ofxAssimpNISync itself, plus any admin-confirmed fork with commits of its own — worth checking if you're hitting issues with the original.
README
Openframeworks addon to simplify posing Assimp bones with OpenNI joints.
___________ *** Note this addon is not complete yet. Its still needs community help to get bone joint
--------------
Tested with OF 007 Pre
___________ *** Note this addon is not complete yet. Its still needs community help to get bone joint
synchronization to work.
--------------
Installation :
- Get ofxAssimpModelLoader Addon
- Get ofxOpenNI Addon
- Clone this addon into your openframeworks/addon folder
- Add ofxAssimpModelLoader to your project
- Add ofxOpenNI to your project
- Drag ofxAssimpNISync/src folder to your favorite IDE
Usage :
- Create an instance of ofxAssimpNISync lets say assimpNISync
- create and instance of ofxAssimpNISyncModelLoader and load your model.
- call assimpNISync.setup with model loader and and openNI user generator.
- set new sync by calling syncBoneAndOpenNIJoint with bone name and associated mesh index, user id and finally OpenNI Joint
- call update
- draw model in draw call.
Tested with OF 007 Pre
ofxAddons