Math goes to the movies

April 14, 2010
All hairs are simulated in this hybrid volumetric/geometric collision algorithm developed by two of the authors, Aleka McAdams and Joseph Teran (together with additional co-authors). Credit: Copyright Disney Enterprises, Inc.

Whether it's an exploding fireball in "Star Wars: Episode 3", a swirling maelstrom in "Pirates of the Caribbean: At World's End", or beguiling rats turning out gourmet food in "Ratatouille", computer-generated effects have opened a whole new world of enchantment in cinema. All such effects are ultimately grounded in mathematics, which provides a critical translation from the physical world to computer simulations.

The use of mathematics in cinematic special effects is described in the article "Crashing Waves, Awesome Explosions, Turbulent Smoke, and Beyond: Applied Mathematics and Scientific Computing in the Visual Effects Industry", which will appear in the May 2010 issue of the NOTICES OF THE AMS. The article was written by three University of California, Los Angeles, mathematicians who have made significant contributions to research in this area: Aleka McAdams, Stanley Osher, and Joseph Teran.

Mathematics provides the language for expressing and their interactions, often in the form of partial differential equations. These equations are usually too complex to be solved exactly, so mathematicians have developed numerical methods and algorithms that can be implemented on computers to obtain approximate solutions. The kinds of approximations needed to, for example, simulate a firestorm, were in the past computationally intractable. With faster computing equipment and more-efficient architectures, such simulations are feasible today---and they drive many of the most spectacular feats in the visual effects industry.

Another motivation for development in this area of research is the need to provide a high level of controllability in the outcome of a simulation in order to fulfill the artistic vision of scenes. To this end, special effects , while physically based, must be able to be dynamically controlled in an intuitive manner in order to ensure believability and the quality of the effect.

Penny's hair from BOLT is simulated using a clumping technique. Only a few hundred hairs were simulated, and the rest are added at render time. Image copyright Disney Enterprises, Inc. Credit: Copyright Disney Enterprises, Inc.

The area of computational fluid dynamics (CFD) provides many of the tools used in simulations of phenomena such as smoke, fire, and water. Before the use of CFD, computer-generated special effects such as explosions were driven by force fields applied to passive unconnected particles, a method that produced rather unrealistic results. Today, a combination of improved hardware and faster algorithms for CFD models have made such special effects much more realistic. CFD has also been used, unsurprisingly, to simulate water-based phenomena; in fact, such water simulation techniques were recognized by an Academy Award for Technical Achievement for the mathematician/computer scientist Ronald Fedkiw of Stanford University.

Mathematics also plays a key role in computer-generated animations of all kinds of solids, from animated characters to cityscapes. Virtually every computer-generated solid has an explicit mathematical representation as a meshed surface or volume. Flesh simulations can endow computer-generated characters with realistically bulging muscles and rippling fat. Hair simulation provides a realistic way to depict the highly complex phenomenon of thousands of hairs interacting and colliding. The article describes recent work by the the first and third authors that provides a new technique for hair simulation.

The effects industry is emerging as an exciting new frontier for mathematicians, one that uniquely combines mathematical insights with the art of moviemaking.

Explore further: Mathematicians promise animation revolution

Related Stories

Mathematicians promise animation revolution

March 30, 2005

CSIRO mathematicians are combining art and science to solve one of the last big challenges in animation – fluids. They are aiming to develop techniques for fluid animations that are so realistic audiences will bring umbrellas ...

Virtual swimmer to speed up athletes

March 30, 2006

CSIRO and the Australian Institute of Sport are using mathematics in a bid to speed up our top swimmers by testing changes to swimming strokes. The research will make use of the same software CSIRO uses for other fluid simulations ...

And the Oscar Goes To... a Professor?

February 25, 2008

Daniel Day-Lewis, Tilda Swinton and the Coen brothers weren't the only ones honored at last night's Academy Awards. Ron Fedkiw, an associate professor of computer science at Stanford University also received a coveted gold ...

Swedish research can make Super Mario more realistic

March 6, 2009

Computer games are being developed at an ever more rapid pace, and the technical demands are rising, not least regarding graphics boards.  At Mälardalen University in Sweden, researchers have now found a solution to ...

Recommended for you

Chimpanzees shed light on origins of human walking

October 6, 2015

A research team led by Stony Brook University investigating human and chimpanzee locomotion have uncovered unexpected similarities in the way the two species use their upper body during two-legged walking. The results, reported ...

Who you gonna trust? How power affects our faith in others

October 6, 2015

One of the ongoing themes of the current presidential campaign is that Americans are becoming increasingly distrustful of those who walk the corridors of power – Exhibit A being the Republican presidential primary, in which ...

The hand and foot of Homo naledi

October 6, 2015

The second set of papers related to the remarkable discovery of Homo naledi, a new species of human relative, have been published in scientific journal, Nature Communications, on Tuesday, 6 October 2015.

How much for that Nobel prize in the window?

October 3, 2015

No need to make peace in the Middle East, resolve one of science's great mysteries or pen a masterpiece: the easiest way to get yourself a Nobel prize may be to buy one.


Please sign in to add a comment. Registration is free, and takes less than a minute. Read more

Click here to reset your password.
Sign in to get notified via email when new comments are made.