And the Oscar Goes To: Fluid Simulation Algorithms!

While the stars bask in glitz, the unsung heroes of today's effects-laden blockbusters continue to work on one of the linchpins of CG graphics: realistic water
To flood New York City in The Day After Tomorrow, the designers at Digital Domain needed to develop software that could integrate foam and mists, do large scale simulation, and present it in a way that an artist without a fluid animation background could run easily. The result was the newest version of their FSIM software and SciTech Oscars for Doug Roble, Nafees Bin Zafar and Ryo Sakaguchi. 20th Century Fox/Courtesy Everett Collection

Share

New York City has just been destroyed by a 40-foot-tall deluge. Pirates battle around a giant, violent whirlpool. Without years of work by the 2007 Scientific and Technical Oscar winners, none of those images would have made it to a computer—and then a multiplex—near you.

The geek’s Oscars, held every year in a separate ceremony a few weeks before the main event, are more like a hall of fame for the mathematicians, engineers and scientists behind standout movie tech than awards for recent efforts. While award recipients this year ranged from film technicians to makeup artists, two of the night’s winners centered around the field of fluid animation, which makes possible those crazy flood scenes and massive faked explosions. The first went to Jos Stam, a computer scientist whose paper “Stable Fluids” formed the foundation for the entire field, and the other to technicians at Industrial Light and Magic and Digital Domain, who over the past seven years have developed software based on Stam’s formulas that gives directors an unprecedented amount of control over fluid effects in their movies.

Faking fluids on a large scale is a fairly new development. Until the late 1990s, effects like the water tentacle in The Abyss were drawn into the computer one frame at a time by hand, as with traditional cell animation, or by laying liquid-looking skins over solid, computer-generated frames.

That’s because the equations for calculating the physics of fluids are so complex that until recently, the only fluid simulation being done was at Los Alamos National Laboratory to predict the flow of nuclear explosions. The 1998 movie Antz was the first to use computer-simulated fluids, but the process was so time-consuming and complex that few were willing to attempt it.

Then, in 1999, Stam presented his paper at a computer-graphics conference that changed everything. Building off a 1996 paper by Nick Foster and Dimitri Mataxas, Stam showed how basic fluid-dynamics equations could be calculated by far less powerful computers. The equations soon became integrated into a range of animation software that contributed to the effects of such movies as The Lord of the Rings and Pirates of the Caribbean. But the new equations had two clear shortcomings: Ironically, they couldn’t handle water-like fluids (to a physicist, gases and fire are also fluids), and they only helped animators simulate, not control, the fluids.

That’s because a fluid simulator can only make fluid behave as it does in real life. If the director wanted to manipulate an explosion to get a more dramatic look, tough luck. The programmers needed to develop software that allowed animators to make fluids behave unrealistically while still fooling the audience into believing what they were seeing. “It’s a common misconception that visual effects are about simulating reality. They’re not. Reality is boring. Visual effects are about simulating something dramatic,” says Jonathan Cohen, a 2007 Sci-Tech Oscar winner and principal software engineer at effects house Rhythm and Hues.

Then the geniuses at ILM and Digital Domain came to the rescue. Over the past couple years, designers there have solved the control problem by adding to the equations virtual copies of the kinds of things that move fluids in the real world: fans, invisible whirlpools, hidden suction pumps. Now designers are able to nudge, pull, and generally manipulate their virtual fluids to meet the directors’ and animators’ desires. That control can be seen at work during special-effects set pieces like the whirlpool in the third Pirates of the Caribbean movie or the flooding of New York City in The Day after Tomorrow.

And now that they’ve got the fluid control down, maybe someone can start working on the writing.

For a closer look at the evolution fluid simulation software, see the photo gallery of fluid-filled films here.