h1

Hair Maths 2: Why CGI needs maths

May 6, 2015

Pic 0 mathspig hair maths 2a

 The challenge is to make CGI hair look real. This isn’t easy. Some CGI hair doesn’t need maths because it doesn’t move. Some CGI is just ugly. Eg.

pic 1 world's Worst CGI hair

More from the worst video game hair cuts ever here and here.

In the world of CGI hair, curly hair is the challenge. It is difficult to model.

According to Pixar animators:

Hair curls due to the way it is grown. Curly hair is almost like a ribbon, while straight hair is more tubular.

(Mike Seymour,Brave New Hair Fxguide)

pic 7 brave  hair

 You will find detailed maths used by Pixar to model Merida’s hair here.

pic 8 Merida's Hair Graphics

So straight hair swishes and curly hair springs or bobs.

pic 9 Ariel-the-little-mermaid

Ariel, the Little Mermaid, was meant to have curly hair, but animators stuck with a ‘flowing block’ of hair. Before Ariel Disney Princess often had up-dos.

pic 10 disney pricess dilemaProgress was made with Merida’s hair in the Disney/Pixar animation BRAVE. See BRAVE NEW HAIR WIRED and fxguide.

According to Rachel Gross of Wired Magazine in 2009 Chung’s team designed a new simulator named Taz, after the wild Looney Tunes character. It forms individual coils around computer-generated cylinders of varying lengths and diameters. The resulting locks stretch out when Merida runs but snap back into place as soon as she stops. Add a little randomness, some gravity, and more than 1,500 hand-placed corkscrews and flyaway wisps and voilà: hair with depth and texture viewers have never seen before. The result may look wild, but it’s not. “It’s very stylized, very controlled,” Chung says. No hair spray required.

Rachel Newar explained last year in the Scientific American that physicists have modeled the movement of a single curly hair.

pic 11 graph of single strand

But, co-author Pedro Reis, an assistant professor of mechanical engineering and of civil and environmental engineering at MIT noted. “ the geometry of a curly hair is highly nonlinear— a word we often use for something complicated.”

The model could also calculate curvature of steel pipes or other spooled material. “We were engineers trying to solve practical, useful problems from the start,” Reis says. “I’m not a professional hairstylist—I’m bald, actually.”

More @ Mashable Video here.

And, from Stanford, if you’ve ever been curious this is what a curly hair algorithm looks like ie. It is a computer program for curling graphic hair.

So you don’t have to eat your crusts after all.

What were mothers thinking!!!!

Advertisements

2 comments


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: