Giter Site home page Giter Site logo

benject / metahuman_facial_transfer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from swnolan/metahuman_facial_transfer

0.0 0.0 0.0 17.42 MB

Extracts/Transfers Metahuman Facial from exported FBX onto Maya face control board

License: MIT License

Python 100.00%

metahuman_facial_transfer's Introduction

Metahuman Facial Transfer

Maya Python code that will reference in previously exported FBX animation from Unreal. The code will copy these attribute keys from the referenced transform node over to the Metahuman Face board controls. The referenced file is then removed once completed.

Note: This was built and tested using Maya 2022.4 and 2022.5 running Python 3.7 using latest assets from Unreal 5.2.

The FBX data coming from Unreal 5 is incompatible with Maya 2023.

To confirm the animation data will work with your version of Maya and Maya FBX importer version (2020.2), open up the sample FBX provided in the project and if you see keyframe data exists on the transforms attributes. If not, then your version/cut of Maya is not supported with this code at this time.

Tutorial

Tutorial

Reference links:

Export FBX Data from Unreal

  • Export FBX Facial animation out from Unreal Sequencer
  • Select the "Face Track" and not the "Face_ControlBoard_CtrlRig" track Screenshot
  • Bake keys down onto the Control rig
  • Select the track and Export FBX Screenshot

Install:

  • Download script and place somewehere in your MAYA_PYTHON_PATH or maya/scripts folder
  • Included in this project is a sample FBX file (metahuman_facial_example.fbx)

Usage:

  • Open/Reference/Import your Metahuman rig into the scene
  • Select a face control on the rig
  • Run Code in Maya Python Editor and use provided sample FBX or your own:
import metahuman_facial_transfer
metahuman_facial_transfer.import_metahuman_animation()

Free to use personally or commercially.

metahuman_facial_transfer's People

Contributors

swnolan avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.