Back to Blog Index

DIY Motion Capture for 3D Character Animation

No items found.

Learn how to record your own Motion Capture data for Cinema 4D for cheap!

Welcome to the second part of our series covering Character Animation using Mixamo in Cinema 4D. In our previous article we took a look at how to Rig and Animate 3D Characters with Mixamo in Cinema 4D using Mixamo's character animation library. At this point you may have begun to play with Mixamo and have come to the realization that the mocap library may not be as extensive as you wished.

For example, What if you needed a very specific movement for a project? What if you wanted to motion capture your own movements? Do you need to rent one of those ping-pong ball suits?! I was just as curious as you so I took some time to research and test a DIY motion capture system that can be imported into Cinema 4D. The result is my recreation of the "crane kick" scene from the original Karate Kid movie. I've even setup a free project file for you to download and mess around with. Enjoy!

EXPLORE ALL COURSES

Dive into real-time 3D with our Unreal Engine beginner's course by Jonathan Winbush. Master importing assets, world-building, animation, and cinematic sequences to create stunning 3D renders in no time! Perfect for motion designers ready to level up.

Explore this Course

Unlock the secrets of character design in this dynamic course! Explore shape language, anatomy rules, and motifs to craft animation-ready characters. Gain drawing tips, hacks, and Procreate mastery (or any drawing app). Ideal for artists seeking to elevate their craft.

Explore this Course

Elevate your freelance motion design career with our guide to client success. Master a repeatable method for finding, contacting, and landing clients. Learn to identify prospects, nurture leads, and develop a thriving freelance philosophy amidst chaos.

Explore this Course

Rev up your editing skills with After Effects! Learn to use it for everyday needs and craft dynamic templates (Mogrts) for smarter teamwork. You'll master creating animated graphics, removing unwanted elements, tracking graphics, and making customizable templates.

Explore this Course

Stand out with Demo Reel Dash! Learn to spotlight your best work and market your unique brand of magic. By the end, you'll have a brand new demo reel and a custom campaign to showcase yourself to an audience aligned with your career goals.

Explore this Course

Illuminate your 3D skills with Lights, Camera, Render! Dive deep into advanced Cinema 4D techniques with David Ariew. Master core cinematography skills, gain valuable assets, and learn tools and best practices to create stunning work that wows clients.

Explore this Course

Master After Effects at your own pace with Jake Bartlett's beginner course. Perfect for video editors, you'll learn to create stylish animated graphics, remove unwanted elements, and track graphics into shots. By the end, you'll be equipped for everyday AE needs and more.

Explore this Course

Revolutionize your Premiere workflow with customizable AE templates! Master creating dynamic Motion Graphics Templates (Mogrts) in After Effects to speed up your team's work. By the end, you'll craft easily-customizable templates for seamless use in Premiere Pro.

Explore this Course
Motion Capture Files
Follow along with this FREE project
Your download is in your inbox!!!
Check your email (spam, too) for the download link!
Please check the spam folder if you don't see the message within a minute or two. Google likes to hide your downloads, sometimes.
Oops! Something went wrong while submitting the form.

Now before the Karate Kid movie buffs give me flack for Johnny Lawrence not infamously crawling on his face after a right head kicking, let me add that I had to improvise with FallingBackDeath.fbx from the Mixamo library due to recording in a small room. I mentioned this was DIY, right?

DIY Motion Capture for Cinema 4D

After doing some research I found a great DIY motion capture rig to be iPi Soft mixed with an Xbox Kinect Camera. The result was even better than I originally imagined.

You may already own some of the gear required to build this kit. If so, lucky you!

HARDWARE FOR DIY MOTION CAPTURE

Here's a quick list of hardware you will need to setup the DIY motion capture rig.

1. A PC (or MAC with Windows installed using Boot Camp) 2. Kinect 2 Camera (~$40) 3. Kinect 2 USB Adapters for Xbox One & Windows ($18.24). 4. Camera Tripod ($58.66)

Grand Total w/o Computer: $116.90

Kinect 2 Sensor.jpg

SOFTWARE FOR DIY MOTION CAPTURE  

Below is a quick list of software that you will need to perform the DIY Motion Capture project.

We are going to try to keep this cheap as possible.

You can get an express $195 perpetual license for iPi. That means it’s totally yours and includes two years of technical support and software updates. The express edition includes the both iPi Recorder & iPi Mocap Studio. You are however limited to using a single RGB/depth sensor camera, but it's 99% as reliable as the more expensive options. For this article demo purposes I just downloaded the trial version, you can do the same to follow along.

iPi says you can only record frontways on a single camera. However, I spun around and... oh my goodness, it worked!Bear in mind this is the only software I've tested using this technique. If you use any other applications to test out DIY motion capture please tell us about your experience. I've listed them at the end of this article for reference.

DIY Motion Capture: Step-by-Step

Now that we have our software and hardware gathered, let's take a look at how to do some quick DIY Motion Capture.  

STEP 1: INSTALLATION

  1. First install iPi Recorder & IPi Mocap Studio before connecting your Kinect to your PC.
  2. Plugin your Kinect to your PC
  3. It will prompt you for  Kinect One Driver. If not, download here.

STEP 2:  IPI RECORDER

1. Setup the camera between 2 feet (0.6m) and 6 Feet (1.8m) off the floor. Note: The floor has to be completely visible! We need to see your feet!

ipi_recorder_device_v2.png

2. Launch iPi Recorder

3. Under your devices tab an icon of Kinect 2 for Windows will appear highlighted in orange and marked ready. If not, either make sure USB is correctly plugged in, the driver was installed, & restart your computer.

4. Click Record Video

5. New Tabs will appear. Setup, Background & Record.

6. Click Background

7. Click Evaluate Background This will take a single snapshot of the background. Setup the timer for the snapshot with the Start Delay dropdown menu (be careful not to move the camera once your snapshot has been taken).

Evaluate_Background_v2.png

8. Be sure to Change your Folder path to where you want recording to live.

9. Click the RECORD tab, set your Start Delay dropdown to give you a chance to get your behind the camera into position & press “Start Recording”

10. Create the 'T' Plate - Get yourself into a T-pose. Stand straight with your arms out like you about to turn into an aeroplane. Just for a 1-2secs, then start moving/acting.

11. A new window will popup labeled Recording Finished.  Click the Rename Video Icon and give your recording an appropriate name.  

STEP 3: IPI MOCAP STUDIO

Let's take that data into Mocap Studio!

1. Launch Ipi Mocap Studio

2. Drag your .iPiVideo onto the window/canvas

3. You will be prompted to choose if character’s gender & height. If you don’t know the height your will get another chance to manually edit it. Click Finish.

4. You will now see yourself appear, along with blue dotted mesh & lots of grain.

5. At the bottom of the window is a timeline that you can scrub to view your recording

6. Drag the Region of Interest (grey bar) and the Take (grey bar) to crop to the begin of your T-pose and your final resting position before you walked off your computer to stop your recording.

7. Under Tracking/settings be sure to check enable all check boxes for fast tracking algorithm, foot tracking, ground collisions & head tracking.

8. Scrub timeline to begin of cropped region and click track forward. You will now see a bone rig tracked to your recording.

9. On your first track you may find an arm or leg stuck to the body on your first track. To resolve this go to Individual Body Parts Tracking dropdown and uncheck all the parts only leaving the offending body part checked. Then just press Refind Forward which will only refine that track on just that single leg or arm.  

10. Then click Jitter Removal. It works pretty well off the bat. If it’s extra jittery on a specific limb, click Option” and drag the sliders of the offending part to a higher smoothing range. Think of it as a blur tool. If you smooth you may remove detail (i.e. a wobbly hand will stabilize), but if you sharpen you're adding detail in (i.e. you may get a better head movement).

11. Now go to File/Set Target Character import your Mixamo T-pose .fbx file

12. Go to Actor tab and set your characters height (this is the size your character will be once imported in C4D) .

13. Go to Export tab and click Export Animation and export out your .FBX file.  

14. Now these are the basics. If you want to go more in depth check out their User Guide. Also iPi doesn't track fingers. If you want to know more about manually keyframing check out Hand Keyframing in iPi or alternatively Keyframe it in C4D. My advice is also to keep your recordings short to minimize tracking errors. You can then stitch all of the shorts together in Cinema 4D.

STEP 4: OPEN IN CINEMA 4D (OR 3D PACKAGE OF YOUR CHOICE)

  1. Import the .FBX by going to File/Merge and locate your Running.fbx  
  2. If you need a refresher on what to do next? Read Rig and Animate 3D Characters with Mixamo in Cinema 4D.

That's all there is to it! You're motion captured data is now inside of Cinema 4D.

Learn More: Motion Capture Using Cinema 4D

Hat tip to Brandon Parvini who was my Mr Miyagi for this project! This video tutorial featuring Brandon is a great resource for more insight into the process I used for this project.

Here are some other tutorials that I found to be helpful for Motion Capture as well.

Motion capture is a rabbit hole that can get REALLY deep. If you're looking for some alternative methods to those listed here in this article, here are some different motion capture solutions from around the industry.

ALTERNATE APPLICATIONS FOR DIY MOTION CAPTURE

ALTERNATE CAMERAS FOR DIY MOTION CAPTURE

ALTERNATE MOTION CAPTURE SYSTEMS

Ready to Defeat Cinema 4D?

If you're new to Cinema 4D, or want to learn the program from a master, sensei EJ Hassenfratz has developed an entire course to help you get up to speed with with everything you need to know to conquer the program. If you want to learn more check out Cinema 4D Basecamp here on School of Motion. This is super fun Cinema 4D training; No fence painting or car washing required!

Not sure where to start?

If you’re a beginner, here are some great courses to help you get started:

After Effects Kickstart

Dive into the fundamentals of motion design with our most popular (and recently updated) After Effects course.

LEARN MORE

Photoshop + Illustrator Unleashed

Master the basics of Photoshop and Illustrator and gain invaluable insights in this introductory level course.

LEARN MORE

Design Kickstart

An introduction to the design principles behind all great work.

LEARN MORE

More Advanced?

If you’re a more advanced student looking to up your game, here are some great options:

Animation Bootcamp

Learn the art and principles of creating beautiful movements in Adobe After Effects.

LEARN MORE

Design Bootcamp

Learn to design for motion in this intermediate-level, project-based course.

LEARN MORE

Cinema 4D Basecamp

Learn Cinema 4D from the ground up in this exciting introductory C4D course.

LEARN MORE

Now is the time to learn the skills you need to advance in your motion design career: