top of page

Introduction to Mocap

During this lesson we spent the first hour or so in the green screen room and got introduced to Vicon Setup. The main steps to set up Mocap are:

  • Marker placement

  • Set Vicon settings 

  • Camera callibration

  • Masking

  • Wand wave

  • Set origin

  • Set floor plane

  • Save camera calibration

  • Wand calibration 

  • Actor calibration

mocap.jpg
avatar_face.jpg

Here is an example of what mo cap footage from Shogun Post looks like in Maya. 

We get a rig with movement and later on this could be baked onto a 3d model.

Maya HIK Retargeting and edit

For this weeks class we learnt how to assign the Mocap data to a 3D object.

The first step was to import FBX Mocap file and open HumanIK window.

Next, open script editor and run a MEL script which puts Mocap skeleton in t-pose and created a new HIK Character Definition with hips. Then in Human IK window I pressed a small folder icon to load skeleton definition and later on locked the settings by pressing the lock next to folder button.

After that I manually characterised rig by selecting the joints and assigning it to bones. 

87069521_893560714432312_296183271745440

The next step after setting up the Mocap rig was to import the 3d skeleton object and and pick the character that we are working with and choose the source which drives the animation in the HumanIK window. 

The outcome is our skeleton moving by Mocap information.

Playblast

HIK Rig

Cleanup and Editing

Hip Rotation

Often times Mocap data will have minor issues caused by things like marker occlusion during capture or differences between the data and character, however that can be easily fixed in Maya

Screenshot 2020-02-21 at 17.30.16.png

For instance,

our skeleton model has incorrectly aligned hips which causes the twitches during the sequence.

Screenshot 2020-02-21 at 17.30.09.png
Screenshot 2020-02-21 at 21.30.56.png
Screenshot 2020-02-21 at 21.30.47.png

Sollution to this is a AnimLayer (select all rig elements>Layer>Create layer from selected), turn on HIK Pinning for knees and upper torso to lock position. Lastly, rotate and key the hips at frame 00 with another layer.

Screenshot 2020-02-21 at 18.25.27.png

Human IK

Animation layer

Rotated hips

Human IK

Fixed problem

Finger poses

There was a problem with our rig's fingers as it wasn't captured by mocap system so in animation layers you have to enable hand pose layer

Screenshot 2020-02-21 at 23.40.08.png
Screenshot 2020-02-21 at 23.40.04.png
Screenshot 2020-02-21 at 23.39.58.png

Assignment 01

Motion Capture Shoot

Vicon mocap filming session

First step in mocap progress is marker placement on the suit by using 53-Marker set as it is the standard Vicon FrontWaist setup .

IMG_0147.HEIC

Second step is to set up the Vicon software, creating a new session and adding 4 separate sessions to it (CAL, ROM, AM, PM)

IMG_0142.HEIC

Next step - camera calibration 

Walk around the mask area and wave the wand in 8's. Yous should see red dots in Vicon.

IMG_0127.HEIC
IMG_0134.HEIC

Next step - Subject (actor) calibration. 

In order to calibrate the actor he has to perform range of motions for the software.

And the final step is filming! During our session we shared our ideas and one of our classmate tried to play various scenes, from ballet to moonwalk to driving a car and many more. The filming session was loads of fun.

Assignment 01

Maya HIK Retargeting 

To begin with I brought the Mocap fbx file as well as my model. I choose a lego figure in the beginning of my assignment process, however, later on due to weird rigging I changed my model.

Next step to open Human Ik window and Windows>Script editor and run a T pose script.

Screenshot 2020-03-17 at 13.49.42.png

Project outliner

Screenshot 2020-03-17 at 13.24.15.png

After getting the Mocap into a T-pose we I loaded character definition and locked by pressing the lock button in Human IK window.

Screenshot 2020-03-17 at 13.47.28.png
Screenshot 2020-03-17 at 13.49.37.png

It was time to move to my 3d model

Screenshot 2020-03-17 at 13.24.07.png

My lego man wasn't rigged, therefore, I made him a Quick Rig 

Screenshot 2020-03-17 at 13.52.02.png
Screenshot 2020-03-17 at 13.52.26.png

After connecting source my lego man was walking by the mocap footage, however, he was weirdly stretching out. I couldn't find a fix, therefore, I redid it on a bit better and more human like model

Assignment 01

Maya HIK Retargeting

Take 2 

Screenshot 2020-03-17 at 14.13.35.png

As I started all over again, I followed same retargeting steps as before: loaded MEL script, put Mocap rig in T-Pose, loaded HIK character definition by pressing the folder in Human IK settings

After those steps it's important to press the lock button below the blue button. 

Screenshot 2020-03-17 at 14.14.59.png
Screenshot 2020-03-17 at 20.52.51.png

Did a Quick Rig on my new model as well by choosing One-Click and Auto-Rig

It creates a automatic rig for the model and it is quite accurate.

Screenshot 2020-03-17 at 22.00.03.png

In Human IK make sure to set character to the quick rig you just made and source to Mocap HIK character definition

Screenshot 2020-03-17 at 21.13.48.png
Screenshot 2020-03-17 at 21.13.52.png

Unfortunately I had another problem and, I believe, it had to do with Vicon file itself, the left arm was completely off. I had to change my mocap footage which meant I would have to redo retargeting again.

render.jpg

My second Mocap footage choice was a ballet dance, after redoing every retargeting step again and connnecting mocap with 3d model in Human IK I finally made it work. Here is a little render of my 3d model doing one of the moves from ballet dance

A playblast of the mocap footage put on the zombie model

To make render a bit more interesting, I added a SkyDome light and added a 2k HDRI haven image and adjusted the render settings a bit

A couple of still render shots

I rendered my sequence in jpeg format and I rendered 1795 shots, took quite a few hours.

Screenshot 2020-03-17 at 23.48.41.png
33.jpg
45.jpg
354.jpg
234.jpg
Screenshot 2020-03-19 at 13.02.57.png

The last step was importing the render sequence into Final Cut Pro and making it into H.264 format video. I added a color board as well and adjusted the exposure and colour settings a little bit

Screenshot 2020-03-19 at 14.24.40.png

Final render sequence

MoCap clip blending with Maya Time Editor

Annotation 2020-05-21 205639.png

Started off by adding a mocap fbx into the scene and opened up the Time Editor and trimed the footage to use the part that I only need

Then I added another animation clip into the editor and also trimmed it.

To connect the mocap footage I selected the second clip and selected match relocators, to make the transition even smoother I dragged the clip over the first one

Annotation 2020-05-21 204417.png
Annotation 2020-05-21 205608.png

Depth of field 

Did a little exercise to practise depth of field in Arnold rendering.

In order to have depth of field for the object I had to find out object's distance from camera by 

Annotation 2020-05-21 220907.png

I added a plane with Arnold shadow matte material, skydome light and directional light to have some shadows

Annotation 2020-05-21 213841.png

Render with no depth of field

Annotation 2020-05-21 214103.png

Selected the perpective camera, scrolled down to Arnold and typed the focus distance from the object to camera, ticked enable DOF and Aperture size increases or decreases the amount of depth

Annotation 2020-05-21 215455.png
Annotation 2020-05-21 214837.png

Results of DOF

Annotation 2020-05-21 215311.png
Annotation 2020-05-21 215354.png

Camera Sequencer  Workflow

We remembered from last year the camera shots and framing. A little guide sheet explaining multiple shots available

Annotation 2020-05-21 210643.png
Annotation 2020-05-21 232526.png

One of the camera sequence workflows is to create a single shot, cut into multiple pieces and assign different cameras which I did. I used for cameras and also added some animation to two of them to create a zoom out and a dolly. 

Assignment

I started off by combining tghe desired mocap clips in time editor, trimmed and put them in desired order, to make the transitions smooth I used match relocations.

Then I imported my model from the previous assignment and matched him with the mocap footage. Added a skydome light, added a 4k hdri raven image, plane with Ai shaddow matte material and a directional light for a shadow. 

Annotation 2020-05-24 224408.png

Here I have a workflow of the camera shots that I did in the camera sequencer

Here is the final camera sequence, I used 9 cameras and did some medium, long shots, tilts, close ups.

After that it was time to render the sequence, I tried doing the layers,  however, when I would made a layer and change render from masterlayer to new layer my model and the plane would dissapear. It seem very confusing so I did it manually and rendered each camera's sequence separetely. The rendering process took a while.

Some still renders

Mocap_v008_1.1233.jpg
Mocap_v008_1.1815.jpg
Mocap_v008_1.2310.jpg
Mocap_v008_1.1493.jpg
Annotation 2020-05-24 230319.png

Put the render sequence into after effects, did adjust colours, brightness and contrast a little bit.

Final render

bottom of page