Sunday, 1 February 2015

How To Use Live Action Reference To Create Great Animation

Horse in Motion by Edward Muybridge
How can animators use live action reference to create believable animation?

Back in the old 2D days of hand-drawn animation, rotoscoping (as it was called) was a legitimate, if much debated, method of achieving a realistic look and feel to your animation.

Today, the technology has changed, but 3D animators can also benefit from using live action to help inform their animation, and this is especially the case when doing complex animal or creature animation. So how, in practice, does a MAYA animator use live action reference to get a great result? Below are some techniques for making it work.

YouTube: a great source of reference for animation

What are we trying to do?
Our goal is to find a useful bit of live action reference (say, an animal action) from a website such as YouTube, download it, import into Maya, and use it for animation reference. We want to create beautiful, believable animation based on the reference.

Where do we begin?

Dog leap animation by Giuseppe Candido
Let's begin by selecting an downloading appropriate video from YouTube. The video you select is up to you. It could be a man jumping, a horse whinnying, a dog sniffing the ground - whatever it is you are trying to animate.

Of course, we assume you have a functioning animation rig capable of achieving whatever it is that the human or animal in the live action reference is doing. Then, we will import the video into Maya so that it can be used for animation reference


How do we get started?
First find a live action clip that you like. Then use www.keepvid.com (or any website that can be used to download footage from, say, YouTube) to download the video.

YouTube will not let you download their videos directly so you need to go to a third party website to do this.


Quick Time Pro 
So you have the video downloaded  - now what?
Now you need to edit the video to the right length. Trim it down to size in suitable software, such as Premiere Pro, or Final Cut Pro, or Quick Time Pro, until you have edited it down to just the bit that you want.

If you have After Effects on your computer, you can use the auto-stabilize feature to stabilise the camera, which will save you time and effort in Maya.

Once you are done, export the movie file either as a .mov or .avi file, and import the finished result into Maya.   Maya seems to like .movs, mostly.



Now, open up Maya
Open Maya, create a new project, name it, and set to your new project in the usual way.  Now follow these steps:
  1. Copy the video as a .mov (not an mp4) into your Movies folder in your Maya project folder.
  2. Start your timeline at frame 1 (not frame 101) 
  3. In the Maya viewport, go to panels/orthographic/side
  4. Now go to View/image plane/Import movie. The movie file should be directly imported into Maya. Under the show menu turn on image planes so that the image plane is visible in your viewport. Press 6 on your keyboard so you are in texture mode.
  5. In your perspective view, or your camera view, you will also need to turn on image planes under the show menu so that the image plane is visible.
  6. Import your character rig into the shot, and you are ready to animate.  Start off by matching your animation closely to the reference footage. 
  7. Once you have something working reasonably well, you can start to adjust the timing and the spacing to create a believable performance.  The closer you stick to the reference, the more accurate your animation is likely to be. But you may have to change quite a bit to create the performance that you want.

Why doesn't it work?

If your movie isn't showing up, it could be a codec problem with the video. Try going back to Premiere (or whatever editing software you are using) and try exporting your video as a different movie file type. Try mp4, mov and avi files - one of these should work.

You can also try working in a different version of Maya, say Maya 2015 instead of Maya 2016. Sometimes this will solve the problem.

If your image is showing up, but there is no animation - just a still image - make sure the start time of your animation is the same as the start time of the movie file. You can also adjust the offset of the image plane in the Offset channel. Try entering a negative number to make it work.

If this method still doesn't work for you, try Method B below:


Work method B – using image sequences instead of a movie file
  1. As above, find a YouTube video clip you like. Then use www.keepvid.com to download the video. Import the video into AfterEffects, Premiere, or maybe Quick Time Pro, and cut it down to size, as above.
  2. Now, instead of exporting a movie file, export the individual frames as tiffs (Note that Maya will not accept underscores in the tiff file names - you will have to delete these). In Premiere, select TIFF instead of a movie file under the Format drop-down menu.
  3. In Maya, Create an image plane 1080x720
  4. In Maya, Create new material/Blinn. In the Attribute Editor take eccentricity way down.
  5. Under colour/file/select a tiff/
  6. Make sure that use image sequence is turned on
  7. Use frame offset to move animation around (say by advancing it 10 frames or so - or whatever you need).
  8. Now you can match the animation frame by frame

Troubleshooting:
My image looks weird. What can I do?
Select Create UVs from the drop-down menu and click on planar mapping.

To see an example of the use of live action reference to create great animation, see the video below by Animation Apprentice student Henry Fenwick:




To find out more about Animation Apprentice, click here for a link to Frequently Asked Questions. To sign up for our next classroom at Animation Apprentice, follow this link. For more information on finding work and surviving in the animation and visual effects business, read our post on how to find a job in the animation industry, and check out our post about what not to do at a job interview. Also see our post on starting your own small animation business, learn how to create an invoice, and see how we are helping our students find work through our film co-operative Nano Films. Download the free Escape Studios Careers in VFX Handbook. Take a look at how awn.com can help you find a job, and read our piece about how to survive as a freelance animator. Also, find out what Cinesite look for in a student's demo reel, and read our post on setting up your own animation business. Also see our post about freelancers and taxes


No comments:

Post a Comment