Printer Friendly
The Free Library
14,679,288 articles and books
Member login
User name  
Password 
 
Join us Forgot password?

Calculating cartoons: physics simulations create convincing illusions in films and games.


In the animated film Monsters, Inc., James P. Sullivan The name James P. Sullivan may refer to:
  • James P. Sullivan (Olympic athlete), an American Olympic athlete
  • James P. Sullivan (Monsters, Inc.), the main character in Pixar's Monsters, Inc.
See also:
  • James Sullivan a political figure
 is an 8-foot-tall monster who's covered from head to toe in to stand or carry the feet in such a way that the toes of either foot incline toward the other.

See also: Toe
 a luxurious powder-blue pelt pelt

the undressed, raw skin of a wild animal with the fur in place. If from a sheep or goat there is a short growth of wool or mohair on the skin.
 with faint red polka dots polka dots
Noun, pl

a regular pattern of small bold spots on a fabric
. What makes him stand out in the already eye-popping domain of computer animation is the independent motion of every single one of the 3.2 million hairs on his body. The result is a coat of animated fur that looks soft enough to stroke and behaves with a remarkable degree of realism.

Using the mathematics that accounts for the behavior of miniature systems of springs and weights, computer scientists at Pixar Animation Studios in Emeryville, Calif., which released the film last November, devised an efficient way to represent a few thousand of the monster's hairs. Computers then calculated how those representative strands would respond to the motions of the monster's massive body and to gravity, wind, and other conditions of the animated environment. With these few thousand strands serving as guideposts Guideposts is a Christian-faith based non-profit organization founded in 1945 by Dr. Norman Vincent Peale and his wife, Ruth Stafford Peale. The Guideposts organization is headquartered in Carmel, New York, with additional offices in New York City, Chesterton, Indiana, and Pawling, , the computer then interpolated interpolated /in·ter·po·lat·ed/ (in-ter´po-la?ted) inserted between other elements or parts.  the behavior of the millions of strands between them.

In another 2001 film, Pearl Harbor Pearl Harbor, land-locked harbor, on the southern coast of Oahu island, Hawaii, W of Honolulu; one of the largest and best natural harbors in the E Pacific Ocean. In the vicinity are many U.S. military installations, including the chief U.S. , real and animated warplanes and ships are indistinguishable as they mingle on the screen. None of the real planes crash, but the animated ones do. The fake planes were rendered graphically using so-called rigid-body models, which essentially let the animators build structures--and blow them up--using a virtual kit of wing and fuselage parts. The puffs of flak that dot the sky in some scenes emanated from a computer simulation of fluid dynamics fluid dynamics
n. (used with a sing. verb)
The branch of applied science that is concerned with the movement of gases and liquids.
, replete with equations for heat buildup and pressure waves that add to the verisimilitude.

In those films and many more, including Stuart Little, The Perfect Storm, and Shrek, powerful, physics-based computer simulations are vastly expanding the range of realistic effects that can be brought to the screen. Leaps in computing power and new algorithms for generating simulated action are also transforming the $7-billion computer-game industry.

The physics being simulated "was all basically solved like 300 years ago," notes Chris Hecker Christopher Bryan Hecker is a programmer and commentator associated with independent video games. Biography
Hecker was a student at Parsons in New York City, studying the fine arts towards work as an illustrator.
, a game developer in Oakland, Calif. But getting the simulations to play out accurately and efficiently for the countless phenomena in movie and game scenes is a hot area of computer-science research (SN: 4/10/99, p. 15). "As someone watching, you take them completely for granted, but they're incredibly complicated things to get looking right," says animation researcher Nick Foster of PDI PDI Protein Disulfide Isomerase
PDI Personal Docente e Investigador (Spanish: Personal Educational and Investigating)
PDI Pre Delivery Inspection
PDI Professional Development Institute
 Dreamworks in Palo Alto Palo Alto, city, California
Palo Alto (păl`ō ăl`tō), city (1990 pop. 55,900), Santa Clara co., W Calif.; inc. 1894. Although primarily residential, Palo Alto has aerospace, electronics, and advanced research industries.
, Calif., the studio that created Shrek, Antz, and numerous short animated films and commercials.

ANIMATING AN ENTIRE WORLD In hand-drawn animated films dating back to the 1930s such as Walt Disney's Dumbo Dumbo

little elephant’s huge ears take him up and away. [Am. Cinema: Dumbo in Disney Films, 49–53]

See : Flying
, Snow White and the Seven Dwarves dwarves  
n.
A plural of dwarf.
, and Sleeping Beauty Sleeping Beauty

sleeps for 100 years. [Fr. Fairy Tale, The Sleeping Beauty]

See : Enchantment


Sleeping Beauty

enchanted heroine awakened from century of slumber by prince’s kiss.
, artists created two-dimensional fantasy worlds This is a partial list of fictional fantasy worlds, according to the medium they appear in: Novels and short stories
  • Alagaësia - Christopher Paolini novels
  • Amber - Roger Zelazny's The Chronicles of Amber novels
  • Arda - J.R.R.
 by drawing them on sheets of paper or celluloid. Now, armed with computers, animators can digitally make characters, machines, and environments with three-dimensional identities. Released in 1995, the first computer-animated feature film, Pixar's Toy Story, was rendered completely in three dimensions.

Building a simulated 3-D world can be both a boon and a curse. Thoroughly simulating characters and their surroundings makes it possible to look at them from any angle and to manipulate them via computer commands. On the other hand, nearly everything in every scene must have carefully defined physical characteristics and boundaries.

Sometimes it doesn't work out that way, especially when parts of the scene move out of view. For instance, Foster notes, "in computer-animation-land, it's easy for an animator to put part of a character's arm through his stomach," when that's not the intention.

Then, the physics goes haywire. During the making of Monsters, Inc., such a boundary problem at first turned the clothing on some characters into an unrecognizable tangle. "We had days when we doubted if this could be solved," recalls David Baraff of Pixar.

Baraff, who was a professor of robotics at Carnegie Mellon University Carnegie Mellon University, at Pittsburgh, Pa.; est. 1967 through the merger of the Carnegie Institute of Technology (founded 1900, opened 1905) and the Mellon Institute of Industrial Research (founded 1913).  in Pittsburgh before making the switch to entertainment, hasn't yet revealed how the problem was resolved. However, Pixar has applied for a patent on the solution and may present a report on it next summer at the annual meeting known as Siggraph, where computer graphics specialists exchange ideas, Baraff notes.

As animation pioneers experimented with computer-calculated 3-D motion, starting in the 1960s, they first overcame the challenges of automating the movement of simple, solid objects, like a ball flying through the air. The physics and math are simple enough for a computer to easily calculate a moving object's new position for each frame (SN: 11/24/90, p. 328). That's every 1/24 of a second for a film and as fast as every 1/60 of a second for a game.

The same Newtonian laws of motion laws of motion  

See Newton's laws of motion.
 apply to collisions of solid objects. These calculations rapidly become enormous computational tasks as the number and complexity of colliding objects grow, but they already have become routine tools for making today's animated productions.

Some everyday phenomena, such as moving fluids, act in an even more complicated and difficult-to-compute manner. To make images of them look real, animators have turned to more-specialized tools. "For amorphous things like water, clouds, smoke, and pieces of Jello, there seem to be two approaches," notes ex-academic Hugh Reynolds, who cofounded the physics-based animation company Havok in Redwood City Redwood City, city (1990 pop. 66,072), seat of San Mateo co., W Calif., on San Francisco Bay; inc. 1868. Manufactures include commmunications, electrical, electronic, and medical equipment. , Calif., in 1998. "One [approach] is to try to come up with a big, mysterious equation that represents all this stuff. The other is to think of it as a big cluster of chunks," he explains. The latter--a spinoff from the field known as computational fluid dynamics--is the more practical of the two, and the one that animation scientists have embraced.

Consider the huge waves in The Perfect Storm, the spurting mud blobs and lava in Shrek, and other fluid effects. To simulate these, animation scientists have adapted methods created by physicists and engineers for breaking up the space occupied by a fluid into tiny volumes, each of which can be processed in a computer.

For each volume and each frame, a computer calculates the forces between the volume and its neighbors, as well as other forces, such as gravity. With those results, it then determines the velocity and pressure that the fluid would have at the center of each volume.

To depict motion, the computer treats the fluid space as if thousands of particles were sprinkled into component volumes at random locations. The machine next calculates intermediate velocities at those locations and figures out where the particles would have moved to by the next frame.

The computer then uses those new coordinates "to build a smooth, implicit surface" that portrays the fluid, says Foster, a pioneer of fluid-animation techniques in film. That last step is "pretty tricky mathematically," he notes. The process of calculating all the forces, pressures, velocities, and particle trajectories is then repeated frame by frame as the action advances. Although real fluids don't act like tens of thousands of individual volumes jostling each other, the approximation yields realistic-looking flows.

Most recently, Foster says, his team has added more physical nuance to the simulations by switching from a uniform grid of volumes filling the fluid space to one in which, nearest the surface, the volumes grow smaller and more densely packed. That enables the computer to capture tiny ripples, swirls, and other surface details beyond the gross movements of the fluid.

Carrying the technique to an extreme, researchers at the Georgia Institute of Technology Georgia Institute of Technology, in Atlanta, Ga.; coeducational; state supported; chartered 1885, opened 1888. It is a member school in the university system of Georgia. Significant among its facilities and programs are the Frank H.  in Atlanta have recently extended physics-based animation to simulating explosions. That's not yet done in the film industry, where movies such as Pearl Harbor convincingly depict blasts by combining footage of real explosions with manually generated computer graphics.

Gary D. Yngve, now a graduate student at the University of Washington in Seattle, and his colleagues have built upon equations and algorithms borrowed from scientific computational fluid dynamics Computational fluid dynamics

The numerical approximation to the solution of mathematical models of fluid flow and heat transfer. Computational fluid dynamics is one of the tools (in addition to experimental and theoretical methods) available to solve
. Their technique models the shock waves generated by a detonation and can depict the interaction between the blast and solid objects that may either shape the explosion or be shattered by it.

Among scientists pushing the envelope of computer animation, most focus on its visual aspects, but others are tuning in tuning in,
v process in which a therapeutic touch practitioner centers himself or herself so as to be aligned with or “in tune” with a healing energy “frequency,” so that the patient may choose to join the practitioner (tune
 to sounds. James F. O'Brien For other persons of the same name, see James O'Brien.
James F. O'Brien is a computer graphics researcher and professor of Computer Science and Electrical Engineering at the University of California, Berkeley.
 of the University of California, Berkeley The University of California, Berkeley is a public research university located in Berkeley, California, United States. Commonly referred to as UC Berkeley, Berkeley and Cal , who was also a coauthor of the explosion-simulation research, and his colleagues at Princeton University Princeton University, at Princeton, N.J.; coeducational; chartered 1746, opened 1747, rechartered 1748, called the College of New Jersey until 1896. Schools and Research Facilities
 have developed a computer program that calculates vibration patterns generated in the surfaces of objects during collisions and other mechanical interactions. The program then simulates the pressure waves--that is, the sounds--produced as the vibrating vibrating,
v using quivering hand motions made across the client's body for therapeutic purposes.
 surface shakes the air. The researchers described the novel method last August at the Siggraph conference in Los Angeles Los Angeles (lôs ăn`jələs, lŏs, ăn`jəlēz'), city (1990 pop. 3,485,398), seat of Los Angeles co., S Calif.; inc. 1850. .

Since the streamlined technique adds only about 1 percent of additional computation time In computational complexity theory, computation time is a measure of how many steps are used by some abstract machine in a particular computation. For any given model of abstract machine, the computation time used by that abstract machine is a computational resource which can be  to animation, game developers, who do not tolerate slowed-down action, may be interested in using the approach says O'Brien. Games now rely on prerecorded pre·re·cord  
tr.v. pre·re·cord·ed, pre·re·cord·ing, pre·re·cords
To record (a television program, for example) at an earlier time for later presentation or use.

Adj. 1.
 audio tracks, which can quickly get boring. "After a while, people just turn off the audio," he notes

One thing that computers still can't simulate adequately with equations is natural bodily motions, such as walking and running, by human or animal characters. "Our mathematics is not sophisticated enough yet," says Jovan Popovic of the Massachusetts Institute of Technology Massachusetts Institute of Technology, at Cambridge; coeducational; chartered 1861, opened 1865 in Boston, moved 1916. It has long been recognized as an outstanding technological institute and its Sloan School of Management has notable programs in business, . "The motion of creatures is a lot harder than the passive simulations, such as fluid dynamics" Moreover, people are such innately keen observers of human and animal motion that the simulations have to be especially realistic.

To make their simulated characters move, animators use computer programs that represent the characters as a virtual Tinkertoy kit of body parts. A grid of numbers, called a matrix, defines how each joint moves in space and what its limitations are.

To create believable motion, animators sometimes use so-called motion capture, in which footage of real people or animals in action serves as a template. Mostly, however, the animators just use the computer as a tool to draw the action frame by frame. Like puppet masters, they adjust controls provided by their computer programs to move virtual body parts, with additional refinements for the soft tissues of the face.

"Our characters have 700 to 800 animation controls," Foster notes. An eyebrow, for instance, may be allotted al·lot  
tr.v. al·lot·ted, al·lot·ting, al·lots
1. To parcel out; distribute or apportion: allotting land to homesteaders; allot blame.

2.
 up to six adjustments for some characters to create realistic arching and wrinkling, he says.

THE DIRECTOR'S ALWAYS RIGHT Films tell stories. A top goal of animation scientists is to open realistic simulations to the creativity of the head raconteur--the director. "In film, you can overuse overuse Health care The common use of a particular intervention even when the benefits of the intervention don't justify the potential harm or cost–eg, prescribing antibiotics for a probable viral URI. Cf Misuse, Underuse.  these [physics-simulation] tools and destroy the fundamental storytelling," says Seamus Blackley, a former particle physicist who heads computer game-console development for Microsoft Corp. in Redmond, Wash.

Whereas water flowing in some scientific simulations needs only behave like real water, water in an animated film may have to scowl at someone or take on the shape of a horse or dance along a diving board. "The huge challenge is making these things what we call `directable'," says Baraff.

For simple animations, Popovic and his colleagues have recently demonstrated one way to that end. The researchers were considering what happens after a mug drops onto a table. Suppose the director wants it to land upright, but in an accurate physics simulation, the vessel always ends up on its side.

By adding subtle unevenness to what had been a perfectly flat table top, the scientists showed that they can create conditions in which the mug bounces a few times and then settles upright. Moreover, they've devised a way to enable an animator to make incremental adjustments in the trajectory of animated motion, including collision-related motions that gradually reshape the original simulation.

"Our mathematical models of collisions are all approximations of what happens in the real world anyway, so we can vary them to our benefit," Popovic explains. The technique also works more rapidly than approaches in which researchers fix the final outcome from the start and then compute backwards, sometimes for hours, to find a physically sound sequence of actions, he adds.

PLAYING WITH PHYSICS Unlike films, computer games have always been simulations. What's new is the raw computing power in the latest game consoles and the advent of more efficient physics engines--the science-based programs that produce all of the action.

Whereas typical games play clips of prerecorded animation to generate car crashes, football tackles, or other events, a game with a good physics engine "empowers the user to have a real effect on the virtual world," says David Wu, founder of Pseudo Interactive, a Toronto-based game-development company.

Even if a game has a warped physical reality compared with our everyday world, simulating the physics helps ensure that the responses of that realm are consistent and believable. "Physics is one of the great tools in our arsenal to create this consistency," says Microsoft's Blackley.

A new game called Cel Damage, for example, combines physics muscle with the look and brutal zaniness of a Roadrunner roadrunner
 or chaparral cock

Either of two species of terrestrial cuckoo, especially Geococcyx californianus (family Cuculidae), of Mexican and southwestern U.S. deserts. About 22 in.
 cartoon. Hecker, who is also editor-at-large of Game Developer Magazine, describes Cel Damage as "state-of-the-art for computer-game physics."

Wu's company created the game to run on Microsoft's X-box, a console launched last November. With this game, a player can attack opponents with an array of weapons, including giant hammers, harpoons, and freezing rays that make an enemy turn brittle enough to shatter into chunks.

To keep the game's action consistent with players' physical intuitions, the game's physics engine calculates all the relevant interactions. But to make the action also outlandishly cartoony, the computer plays loose with some of the numbers used in its engine.

For instance, it assigns cars the elasticity of balloons and makes hammers as heavy as anvils. When a hammer blow hits a car, the vehicle temporarily squashes flat--cartoon fashion--and then springs back again. Overweight harpoons hit like missiles, powerful enough to penetrate steel. It's all in the parameters of the equations.

For game developers and filmmakers who know how to manipulate such representations of physical reality, even the immutable IMMUTABLE. What cannot be removed, what is unchangeable. The laws of God being perfect, are immutable, but no human law can be so considered.  laws of physics can give wings to their fancy.
COPYRIGHT 2002 Science Service, Inc.
No portion of this article can be reproduced without the express written permission from the copyright holder.
Copyright 2002, Gale Group. All rights reserved. Gale Group is a Thomson Corporation Company.

 Reader Opinion

Title:

Comment:



 

Article Details
Printer friendly Cite/link Email Feedback
Author:Weiss, Peter Ulrich
Publication:Science News
Date:Jan 26, 2002
Words:2307
Previous Article:Shower power: raindrops shoot seeds out with a splat. (Science News This Week).(Brief Article)
Next Article:The persistent problem of cystic fibrosis: why are people with this disease plagued by lung infections?(ongoing research to understand cystic...
Topics:



Related Articles
Recipes for artificial realities: intriguing images emerge from a blend of mathematics, physics and computer graphics. (Cover Story)
Cartoons get virtual reality spin: Southland's SimGraphics blends computer animation, virtual reality technology. (SimGraphics Engineering Corp.)
Microsoft Bob: the social interface.
Budge: what happened to Canada's king of film.
DO YOU BELIEVE IN MAGIC? INTERACTIVE DISPLAY MIXES SCIENCE, TRICKERY FOR SPELLBINDING SHOW.(L.A. Life)
Who needs human actors? As digital characters become more real, advances in technology threaten to make actual people obsolete in Hollywood....
Simulations of 9/11 crashes could assist building designs.
LAUGHS BECOME A LOST CAUSE.(U)(Review)
Dance theater.(Avenue Q)(Theater Review)
Truman turns into virtual playground for navy crews.(WARGAMING)

Terms of use | Copyright © 2009 Farlex, Inc. | Feedback | For webmasters | Submit articles