👼 HW 14: Metahumans
Digital Twins
What are digital twins and how does Unreal Engine play a role in this context? According to Unreal Engine, a "digital twin is a 3D model of a physical entity". They can refer to highly detailed, real-time 3D representations of physical entities, people, or systems. These virtual counterparts replicate the behavior, appearance, and sometimes even the functionality of their real-world counterparts in a digital environment.
Digital twins in Unreal Engine allows us to create real-time, high-fidelity simulations of a real-world object, process, or environment. As users, we can visualize, interact with, and analyze data or scenarios virtually.
Some use cases include:
- Architecture and Construction: Simulating buildings, cities, and infrastructure for planning and visualization.
- Manufacturing: Monitoring and predicting machinery performance and factory workflows.
- Healthcare: Creating detailed anatomical models for training, diagnostics, or treatment planning.
- Gaming and Entertainment: Creating immersive environments that mirror real-world locations.
Digital Humans
Virtual avatars and representations of people can be used as part of a digital twin. In Unreal Engine, MetaHumans are realistic-looking 3D human models generated with the MetaHuman Creator. Unreal is able to bring details in skin, fair, and facial expressions with Unreal. We can create MetaHumans to represent individuals for virtual meetings, trainings, simulations, and much more. In healthcare, we can also simulate patient behaviors for medical training or telehealth. In films and games, we can create realistic characters based on real-world individuals including ourselves!
Problems
For this homework assignment, please work with the character we have been working on during Unreal Mondays! Please make sure you are working with the project version with pathfinding (Unreal Engine AI with Navigation System - NavMesh).
Problem 1: Design Character
Step 1: Documentation
Read Unreal's documentation on creating Metahumans. Please not that you must be workin in Unreal Engine 5 or above.
Here is also a corresponding YouTube tutorial that is helpful: MetaHuman Animator Tutorial
Step 2: Create Character
If you are on Windows, please install the MetaHuman Plugin from the Marketplace. Currently, the MetaHuman Plugin does not work on Linux and MacOS (unless I am mistaken).
If you are unable to access the MetaHuman Plugin, you may work with the MetaHuman Creator platform.
Both MetaHuman Plugin and MetaHuman Creator allow you to design your own character; however, in my experience, MetaHuman Creator seemed to be more laggy.
Problem 2: Animating Characters
Step 1: Download Live Link
After creating our 3D Metahuman Character, we would like to animate our characters by mapping our facial expressions to our 3D model. Fist, install Live Link for Unreal Engine on your iOS devices.
Step 2: Calibrating
We need to take some calibration videos! * Take a video of yourself looking: straight ahead, left angle, right angle, smile with teeth * Take our main calibration video making a variety of facial expressions.
Step 3: Capture Source
Import footages and source files. One for each device.
Step 4: IP Address
Make sure your IP address is matching.
Step 5: Metahuman Identity
Calibrate a new human face based on footage.
Problem 3: Deepfake
Step 1: DeepFaceLab (Optional)
Turning your MetaHuman into a deepfake is optional for this homework assignment. However, creating a deep fake can be really fun! I recommend that you try making something :) To train your own deepfake we can follow the following resources:
- DeepFaceLab: provides an overview of how we can make our own deepfake by inputting videos and images
- Then we can go to Google's DeepFaceLab Colab or the First Order Model Deepfakes Notebook.
Resources and Links
- Live Link for Unreal Engine
- Animating with Live Link
- MetaHuman Creator
- Downloading and Exporting MetaHumans
- Unreal Engine Metahuman Deepfake Tutorial
- How to use Deep Live Cam Real-Time Face Swap and One-Click Video Deepfake with a Single Image
- Integrate AI Characters with MetaHuman Avatars in Unreal Engine 5 - Convai
- Customizing MetaHuman Textures | Unreal Engine
Submission
BrightSpace Submission
Please take a video of your MetaHumans character working with Live Link.