joeVenner / control-3d-character-using-python

Controlling 3D character's Face Movements using OpenCV and pyhton
MIT License
162 stars 47 forks source link

New Character #5

Open syedasara-angelium opened 3 years ago

syedasara-angelium commented 3 years ago

Hi I want to use this character for this module. https://www.cgtrader.com/items/979192/download-page

But I do not have its bone,eyelids and head values which are mentioned in OpenCVAnimOperator.py Kindly tell me how to get those values if I use another 3d model

joeVenner commented 3 years ago

Hi Syedasara,

Yes you can use another character, u need just to change the name of the character, bones = bpy.data.objects["RIG-Vincent"].pose.bones You can find in the code in OpenCVAnimOperator.py Line 160

Thank you! Joe

syedasara-angelium commented 3 years ago

The name of the blender file is angry_man.blend. I changed the Line 160 to "bones = bpy.data.objects["RIG-angry_man"].pose.bones" and "bones = bpy.data.objects["angry_man"].pose.bones" but still found error that "It cannot find this file.