diy motion capture with kinecttopin

26
DIY Motion Capture 12/5 Volumetric Society of NYC

Upload: fakegreendress

Post on 15-May-2015

8.712 views

Category:

Technology


3 download

DESCRIPTION

Slides from the 12/4 Volumetric Society presentation at Pratt

TRANSCRIPT

Page 1: DIY motion capture with KinectToPin

DIY Motion Capture12/5 Volumetric Society of NYC

Page 2: DIY motion capture with KinectToPin

How does the Kinect work?

Photo by y3rdua

Page 3: DIY motion capture with KinectToPin

Getting Started: Hardware

You will need:• A Kinect, or generic equivalent such as the Asus Xtion• USB adapter cable, if you have a Kinect that was

bundled with the Xbox (don’t buy the Microsoft adapter, the cheap ones work fine)• Enough space to perform

Page 4: DIY motion capture with KinectToPin

Getting Started: Software

OpenNI driver bundle:simple-openni.googlecode.com

KinectToPin:kinecttopin.fox-gieg.com

Page 5: DIY motion capture with KinectToPin

KinectToPinKinect Motion Capture for After Effects

Page 6: DIY motion capture with KinectToPin

What is KinectToPin?

A standalone motion capture application A UI panel for After Effects

+

Page 7: DIY motion capture with KinectToPin

What can you do with it?

Page 8: DIY motion capture with KinectToPin

Rig 2D character models in 3D

Page 9: DIY motion capture with KinectToPin

Setting up your space to record

6 – 10 feet

Page 10: DIY motion capture with KinectToPin

Capturing

• Record 15-point 3D skeletal tracking data• Capture in sync to dialogue• Remote control with a

standard presentation remote• Open source and cross-

platform: runs on OpenNI, built in Processing, also works with generic sensors like the Asus Xtion

Page 11: DIY motion capture with KinectToPin
Page 12: DIY motion capture with KinectToPin

Acting for Kinect

• The Kinect can’t record what it can’t see. • Keep your entire body in the camera’s range• Face the camera when capturing• Watch out for occluded joints (sitting down, putting your

hands behind your back etc. can cause it to lose the track)

• It’s surprisingly good at picking up subtle posture shifts, but not smaller motions like laughter. • Use a different performer for each character if possible

Page 13: DIY motion capture with KinectToPin

Importing tracking dataNative import or copy & paste

Page 14: DIY motion capture with KinectToPin

Getting data into After Effects

Data format options:• 3D Point Controls (CS5.5+)• 2D Point Controls (CS4+)• Puppet pins• Raw XML and JSON

Page 15: DIY motion capture with KinectToPin

UI Panel

• Create character templates• 2D and 3D setups• Native XML import

(SLOW)• Automatically add

expressions to smooth tracking data• Automate rigging

Page 16: DIY motion capture with KinectToPin

Building a CharacterRigging with the UI panel

Page 17: DIY motion capture with KinectToPin

The Puppet ToolTHREE OR MORE PINS ON ONE LAYER: Elbows don’t bend this way. Ow.

TWO PINS EACH, MULTIPLE LAYERS:Rotation with stretch and squash!

Page 18: DIY motion capture with KinectToPin

AE Puppet best practices

• Work BIG. Start high-res, scale down in the puppet comp, then scale back up in the project comp (enable Collapse Transformations).• Precompose if you’re using vectors or shape layers• Keep multiple angles of the same character in syncHigh-res Character

Layers

Rigging Template

Project Comp

End big.Start big.

Page 19: DIY motion capture with KinectToPin

Retargeting for arbitrary character shapes

Page 20: DIY motion capture with KinectToPin

Quick auto-lip sync

1. Convert audio amplitude to keyframes2. Connect to mouth animation3. Size the audio data to fit. Use this expression:

linear(source,sourceMin,sourceMax,targetMin,targetMax)

Page 21: DIY motion capture with KinectToPin

Beyond After EffectsMotion capture for live production

Page 22: DIY motion capture with KinectToPin

Embrace the limitations of the

format.

One last thought:

Page 23: DIY motion capture with KinectToPin

Further non-K2P tools

FREEBrekel Kinect

Open-source capture for 3D animation (Windows-only)www.brekel.com

DuikInverse kinematics plugin for AEwww.duduf.net

COMMERCIALiPi Soft

Uses two Kinects to recordwww.ipisoft.com

NI MateKinect for OSC/MIDI/Blenderwww.ni-mate.com

Page 24: DIY motion capture with KinectToPin

Questions?

Page 25: DIY motion capture with KinectToPin

kinecttopin.fox-gieg.comDownload the software!

Page 26: DIY motion capture with KinectToPin

Contact UsNick Fox-Giegwww.fox-gieg.com@N1ckFG

Victoria Necewww.victorianece.com@FakeGreenDress