At the Heart of Every Great Pixar Film there is Math


As Pixar’s Senior Scientist, Dr. Tony DeRose is the genius that makes telling Pixar stories possible. While most animation might be considered an artistic discipline, computer-based animation relies on strong principles of mathematics. At a lecture DeRose gave at New York’s Museum of Math, he describes his job as “translating principles of arithmetic, geometry, and algebra into software that renders objects or powers physics engines.” Most everybody has seen a Pixar film or short and fallen for their near-flawless stories, but their advantage in computer animation that started in 1997 made Pixar stand out among their contemporaries.

Nearly every major element in a Pixar film have their own set of physics: hair, cloth, fluids, smoke, clouds, fire, etc. These components behave in specific and unique ways and to represent them realistically, Pixar scientists have to create physics engines for each element. But that’s just the beginning. Simulating water is easy,” said DeRose during his lecture. “What’s hard is, how do you make water more directable?” Every element in an animated film requires its own physics and rules that allow it to come to life and tell a story.

DeRose, who has a PhD in computer science with a specialty in computational physics and a decade of experience as a professor of computer science and engineering at the University of Washington, is concerned with not just making they physics of an animation realistic, but also be a part of the story being told. In the film Brave, the hair of the main character required its own physics engine so it could be beautiful, realistic, and expressive. Tim Carmody writes for The Verge:

“In the real world, hair keeps its bounciness and volume by constantly colliding with itself,” DeRose says. Merida’s hair is made of 100,000 individual elements. “If you know any combinatorics, you know that if you have n objects, you have n² possible collisions,” he says, or 10 billion. How can you render so many collisions quickly enough to be usable? You have to create a new spatial data structure that culls extraneous collisions without being too lossy. Instead of a quick-and-dirty compression algorithm like MP3 or JPEG, Pixar has to create the equivalent of the PNG or the FLAC for animating hair.
 

The detail of computer animation often requires more modeling calculations than what physicists might normally use. In order to make the production of a film feasible, DeRose spends a great deal of his time trying to create mathematical approximations for detailed calculations without sacrificing the fidelity of an animation. DeRose has worked extensively from converting the industry standard of polygons to smooth parabolas.

In most video game and film animation, models are built out of many planar surfaces called polygons, the concept being that if you increased the number of polygons by massive orders of magnitude, eventually the model would look organic and smooth. (This is similar to the idea of starting with a triangle, then adding another side to make a square; another to make a pentagon; then hexagon; heptagon; octagon; nonagon; decagon; on and on until the shape looks indistinguishable from a perfect circle.) But even the most detailed polygon models can be seen, so they were placed with parabolic curves that would be continuous at any level of detail. But they too were difficult to calculate, so mathematicians created subdivision surfaces, which quickly generate smooth shapes but finding and dividing the midpoints of lines.

This method of subdivision surfaces was first used in Pixar’s 1997 short film Geri’s Game. This radically changed how films were animated, and while the technique was originally just applied to parts of character models like the nose, ears, eyes, and expressions on the face, now nearly every model in animation uses advancements on the subdivision surfaces standard. DeRose and other computer scientists work vigorously to update and improve these methods, but Pixar no longer has the lead on the industry it used to. The open-source nature of the Internet has allowed many ambitious amateurs to come up with their own models of animation and allows anyone with a modem to have access to nearly the same software Pixar uses. Independent filmmakers are able to create models of the same fidelity, but the real quality of the film falls back on the nature of the story being told.


Attribution

The Verge


Commentary Ticker

  • Google Glass Lets You Take Photos With Your Brain
    July 12, 2014 | 4:02 pm

    If you haven’t heard, electroencephalograms (EEGs) have been getting better. Way better. Artificial limbs and even video game controllers are utilizing the non-invasive brain-wave monitoring method to guide computers by thought. Now English startup This Place has developed a way to bring the technology to Google Glass, allowing Google’s wearable to read your mind. Well, […]

  • Android Art: The Accidental Selfies of Google Art Project
    July 5, 2014 | 11:11 am

    Within the cultural centers of the world lurks a mechanical beast draped in silver spinning madly and capturing everything, sometimes even itself. In 2011 Google created the Art Project, an initiative to bring their Street View technology inside the cultural epicenters of the world. Google enlisted 17 world-class museums in short time. Institutions such as […]

  • Purple Mountunes Majesty: The Most Patriotic Playlist
    July 4, 2014 | 12:13 pm

    A while ago, Paul Lamere of The Echo Nest, a music-analysis company, took to finding each state’s most distinctive, yet popular, artist in a viral article. Spotify took note, purchasing Echo Nest for their analytical talent. Together, they’ve released a blog post documenting each state’s most distinctively American song creating a patriotic playlist for the […]

  • Emojinealogy: Where the Heck Emojis Come From
    July 2, 2014 | 3:10 pm

    On June 16th, the Unicode Consortium announced that 250 new emoji would be added to the list of symbols available to people’s cellphones and computer devices. The list of the new symbols can be found on Emojipedia. And no, the list doesn’t include the much needed minority representation, but it does include your favorite (?) […]

  • The Decline and Fall of the American Mall
    June 24, 2014 | 9:07 pm

    For ages, the shopping mall was as essential to the architecture of suburbia as Levittowns and freeways. But in an era of online shopping, these epicenters of brick and mortar yesteryear are quietly being abandoned across the country. While the U.S. currently has around 1,500, the number may soon shrink, and rapidly, leading to abandoned […]

  • RSSArchive for Commentary Ticker »

Join our mailing list!



Trending on The Airspace