NickHardeman / ofxFBX

FBX SDK addon for OpenFrameworks
MIT License
111 stars 34 forks source link

feature request- Blendshapes #11

Open freekatet opened 7 years ago

freekatet commented 7 years ago

Unless i missed, i don't see anything to control blend shapes?

NickHardeman commented 7 years ago

Correct, there is no dynamic control for blend shapes currently. But they should animate if provided in the fbx. They should update based on the animation? I don't have much experience with blend shapes... https://github.com/NickHardeman/ofxFBX/blob/master/src/ofxFBXMesh.cpp#L708

freekatet commented 7 years ago

Thanks for the answer Nick. The main idea would be to control the blend shape with OSC

On Wed, May 31, 2017 at 6:22 PM Nick Hardeman notifications@github.com wrote:

Correct, there is no dynamic control for blend shapes currently. But they should animate if provided in the fbx. They should update based on the animation? I don't have much experience with blend shapes... https://github.com/NickHardeman/ofxFBX/blob/master/src/ofxFBXMesh.cpp#L708

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/NickHardeman/ofxFBX/issues/11#issuecomment-305335083, or mute the thread https://github.com/notifications/unsubscribe-auth/ACweTBkgyG_bWnLVCELmJ2z_KP-Z9X8hks5r_egwgaJpZM4NobqH .

towooden commented 6 years ago

Hi Nick, Can you confirm that there is still no support for control of blend shapes? I can however see computeBlendShapes in ofxFBXMesh

NickHardeman commented 6 years ago

Hi @towooden, Apologies for the super delayed response. I don't generally use blend shapes, so I can't even confirm what is in there works. I believe if you play the animation it would control the blend shape? It was adapted from the example code included in the FBX sdk. Looks like Arturo's add-on might let you control the blend shapes with parameters. https://github.com/arturoc/ofxFBX/blob/c717e3df957d208f41a7d5d33d490bfbbecca685/src/ofxFBXMesh.cpp#L163