120 likes | 211 Views
Maya Facial Animation Plug-in: The Update. Jennifer Matlock. A recap…. Markers on face Video First stage – marker extraction Marker file Second stage – facial animation. The markers. Bridge of nose Tip of nose Bottom of nose Upper lip Sides of mouth Lower lip Chin. Test videos.
E N D
Maya Facial Animation Plug-in: The Update Jennifer Matlock
A recap… • Markers on face • Video • First stage – marker extraction • Marker file • Second stage – facial animation
The markers • Bridge of nose • Tip of nose • Bottom of nose • Upper lip • Sides of mouth • Lower lip • Chin
Test videos • Dot on hand • Still face • Moving face • Extreme expressions • More markers • Smaller markers • Full face
Stage 1: Marker extraction • Select video • Select marker configuration • Display frame from video • Select colour for each marker [“eyedropper”] • Select sample rate • Run program
Finding the markers • Scan for largest areas of marker colours, from top to bottom • Memory array stores locations • If 2 on similar level, assign to L and R 00000000000000A00000000000000000 0000000000000AA00000000000000000 00000000000000000000000000000000 0000000000000AA00000000000000000 0000000000000A000000000000000000 0000000000000CC00000000000000000 0000000000000C000000000000000000 0000000000000DD00000000000000000 00000000EE000DD00EE0000000000000 000000000E0000000E00000000000000 0000000000000DD00000000000000000 0000000000000DD00000000000000000 0000000000000CC00000000000000000 00000000000000C00000000000000000 00000000000000000000000000000000
Finding the markers [2] • Scan memory array • Find middle of block • Record co-ordinate • Output marker file //Marker file //Dimensions 360, 480 //# markers 8 //Frame #, NB, NT, NL, LT, LB, LL, LR, CH 1, 34, 23, 56, 345, 67, 23, 78, 23, 36, 56, 78, 34, 23, 36, 57, 38
The plug-in • Reads marker file • Creates objects [spheres?] • Same number as markers, in relative positions to those in first set of co-ords for marker file • Reads in rest of file, placing keyframes at each change of position of objects • Users “glues” face model to markers
Progress • Maya tutorials • ActiveX plug-in for Delphi – VideoGrabber – frame capture • Started Stage 1 program – marker colour selector working • Taped/digitised sample film
Stuff to do • Maya plug-in coding • Finish stage 1 program • Face scan • Test usefulness with different face shapes • Expand marker system • 3D