acm-header
Sign In

Communications of the ACM

Communications of the ACM

Artificial Life For Computer Graphics


Computer graphics modeling for image synthesis, animation, and virtual reality has advanced dramatically over the past decade, revolutionizing the motion picture, interactive game, and multimedia industries. The field has advanced from first-generation, purely geometric models to more elaborate physics-based models. We can now simulate and animate a variety of real-world, physical objects with stunning realism. What's next?

Graphics researchers are exploring a new frontiera world of objects of much greater complexity than those typically accessible through geometric and physical modeling aloneobjects that are alive. The modeling and simulation of living systems for computer graphics resonates with an emerging field of scientific inquiry called artificial life, or ALife, a discipline that transcends the traditional boundaries of computer science and biological science.1 The synergy between computer graphics and artificial life now defines the leading edge of advanced graphics modeling.

Artificial life concepts play a central role in the construction of advanced graphics models for image synthesis, animation, multimedia, and virtual reality. New graphics models have taken bold steps toward the realistic emulation of a variety of living thingsincluding plants and animalsfrom lower organisms all the way up the evolutionary ladder to humans. Typically, these models take complex forms and inhabit virtual worlds in which they are subject to the laws of physics. Consequently, they often incorporate state-of-the-art geometric and physics-based modeling techniques. But more significantly, these models must also simulate many of the natural processes that uniquely characterize living systemsincluding birth and death, growth and development, natural selection, evolution, perception, locomotion, manipulation, adaptive behavior, learning, and intelligence.

Here, I explore an exciting and highly interdisciplinary area of computer graphics that offers a wealth of provocative research problems and great commercial potential. The challenge is to develop and deploy sophisticated graphics models that are self-creating, self-evolving, self-controlling, and self-animating, by simulating the natural mechanisms fundamental to life.

Back to Top

Signs of ALife

Artificial life for computer graphics has spawned several principal avenues of research and development. The artificial life approach has proved especially effective for advanced animation (see Figure 1). Techniques are now available for realistically modeling and animating plants, animals, and humans. Behavioral modeling is a major trend in the motion picture special effects industry. The relentless increase in computational power is drawing the attention of researchers and practitioners to synthetic characters for interactive games. Moreover, artificial evolution is establishing itself as a powerful technique for image synthesis and potentially for model synthesis.

Artificial plants. Formalisms inspired by biological development processes have been used to grow highly complex and realistic graphics models of plants. Przemyslaw Prusinkiewicz, of the University of Calgary, is famous for his work in this area [5]. Lindenmayer systems (L-systems), a formal language framework introduced in the 1960s by biologist Aristid Lindenmayer as a theoretical framework for studying the development of simple multicellular organisms, has more recently been applied by Prusinkiewicz and others to the study of morphogenesis in higher plants with impressive results (see Figure 2). L-systems can realistically model branching and flowering patterns, as well as the propagation of the internal hormonal signals controlling plant growth and development.

Geometric and stochastic plant models expressed using L-systems were also recently proposed by Prusinkiewicz and his students for simulating the interaction between a developing plant and its environment, including light, nutrients, and mechanical obstacles. These environmentally sensitive L-systems appropriately regard the plant as a living organism in continual interaction with its environment. Prusinkiewicz has extended them to include a model of the response of plants to pruning, which yields realistic synthetic images of sculptured plants found in topiary gardens, such as the Levens Hall garden in England, which inspired the synthetic image shown in Figure 2.

Artificial evolution. At Thinking Machines in 1991, Karl Sims pioneered a fascinating computer graphics approach inspired by theories of natural evolutionary processes [7]. Artificial evolution, a form of digital Darwinism, allows complex virtual entities to be created without need for detailed design and assembly. For example, the digital images in Figure 3 by "evolutionary artist" Steven Rooke are the result of artificial evolution. Artificial evolution evolves complex genetic codes (genotypes) that specify the computational procedures for automatically growing entities (phenotypes) useful in graphics and animation. Fortunately, graphics practitioners do not have to understand these codes; they can simply specify the subjective desirability of phenotypes as the entities evolve. The computer does most of the work, applying the principle of "survival of the fittest." The software instantiates populations of individual phenotypes from a variety of genotypes, sexually reproduces new individuals through the combination of genotypes (subject to occasional mutations), and terminates undesirable individuals unfit for survival.

Sims has shown that artificial evolution holds great promise for evolving many graphical entities, in addition to synthetic image art, including 3D sculptures, virtual plants, and virtual creatures.

Behavioral modeling and animation. In 1987, Craig Reynolds, then at Symbolics, Inc., published his landmark "boids" experiment, bridging the gap between artificial life and computer animation [6]. His work on flocking showed how complex animations can emerge with minimal effort on the part of the animator through models of how characters should behave. These models take the form of behavioral rules governing the interaction of multiple autonomous agents capable of locomotion and perception within a virtual world. Behavioral modeling and animation now represents a major trend in computer graphics, and the technique has been applied extensively in the motion picture industry (see Table 1). Behavioral animation techniques, first demonstrated by Reynolds in the groundbreaking 1987 animated short film Stanley and Stella, have been used to create such feature film special effects as animated flocks of bats in Batman Returns, herds of wildebeests in The Lion King, and crowd scenes of epic proportions in Mulan. Behavioral techniques have also been popular for controlling multiple animated characters in interactive games and multimedia applications.

Artificial animals. A comprehensive artificial life approach to the realistic modeling of animals for animation and virtual reality is emerging, along with convincing results [9]. Its key ingredients are functional models of animal bodies and brains. Functional body modeling involves simulating the physics of the animal in its world, the use of biomechanics for locomotion, and the operation of active sensory organs, such as eyes. Functional brain modeling involves emulating the information processing in biological brain centers responsible for motor control, perception, behavior, learning, and, in higher animals, cognition. I revisit the topic of artificial animals in greater depth later in the article, referring to my research group's work on artificial marine animals.

Artificial humans. For the typical computer graphics animator, the most important animal species is Homo sapiens, and significant effort has been invested in modeling and animating the most highly advanced living system known. In particular, the human face has attracted much attention, from Frederic Parke's pioneering work at the University of Utah in the 1970s to recent work on the biomechanical and anatomical modeling of faces [4] (see Figure 4). Daniel Thalmann at the Swiss Federal Institute of Technology in Lausanne and Nadia Magnenat-Thalmann at the University of Geneva in Switzerland have for years championed the grand challenge of modeling and animating virtual humans (see [8], ligwww.epfl.ch, and www.miralab.unige.ch). The Thalmanns have recently investigated the increasingly important role of sensory perception in human modeling, equipping virtual humans with visual, tactile, and auditory sensors to make them aware of their environments. Sensory awareness supports such human behavior as visually directed locomotion, object manipulation, and response to sounds and utterances.

Their demonstrations include sensor-based navigation, walking on irregular terrain, grasping, game playing, behavior of virtual human crowds, and more. They have also explored communication among virtual humans and among real and virtual humans, including the compositing of interactive virtual humans into real scenes. Other researchers in the virtual human area are Norman Badler and Dimitri Metaxas at the University of Pennsylvania (see Badler et al.'s "Animation Control for Real-Time Virtual Humans" in this issue) and Jessica Hodgins at the Georgia Institute of Technology, whose impressive research involves biomechanical modeling and motor control of human locomotion for animation.

Interactive synthetic characters. Forthcoming computer-based interactive entertainment will captivate users with lifelike graphical characters in rich environments, an application for which artificial life techniques are well suited. Key concepts from artificial life are finding application in home entertainment, such as in the computer game Creatures (see Figure 5). Creatures allows users to interact with cute autonomous agents called "norns," whose behavior is controlled by genetically specified neural networks and biochemistry. The commercial success of this title, with more than a million copies sold worldwide, reflects the relationships many users are willing to form with believable artificial life characters (see www.creatures.co.uk).

Increasingly potent artificial life modeling techniques for graphical characters are being explored in university and corporate research labs. Notably, Bruce Blumberg of the MIT Media Lab has developed prototype systems, such as the Artificial Life Interactive Virtual Environment (ALIVE) system, which enables full-body interaction between human participants and graphical worlds inhabited by engaging artificial life forms [1]. These characters have their own motivations and can sense and interpret the actions of other characters, as well as the human participants, responding to them in real time. His most recent project, which involves similar goals, is Swamped (see Figure 5).

The apex of the computer graphics modeling pyramid in Figure 1 addresses human cognitive functionality, an area that has challenged researchers in artificial intelligence since the field's earliest days. John Funge is pioneering the use in computer games and animation of hardcore artificial intelligence techniques, such as logic-based knowledge representation, reasoning, and planning [2]. This form of "animal logic" is a feature of Demosaurus Rex, an experimental interactive game environment, illustrated in Figure 5. Systematic cognitive modeling of this sort will ultimately lead to self-animating virtual humans and other graphical characters intelligent enough to be directed like human actors.

Back to Top

Lifelike Autonomous Agents

A particularly sophisticated artificial life model for computer animation was developed at the University of Toronto by Xiaoyuan Tu [9] (see the sidebar "Artificial Fishes"). The artificial fish is an autonomous agent with a deformable body actuated by internal muscles. The body also includes eyes and a brain with motor, perception, behavior, and learning centers, as shown in the sidebar figure. Through controlled muscle actions, artificial fishes swim through simulated water in accordance with hydrodynamic principles. Their articulate fins enable them to locomote, maintain balance, and maneuver in the water. Thus, the functional artificial fish model captures not just 3D shape and appearance in the form of a conventional computer graphics display model. More significantly, it also captures the basic physics of the animal (biomechanics) and its environment (hydrodynamics), as well as the function of the animal's brain. In accordance with its perceptual awareness of the virtual world, the brain of an artificial fish arbitrates a repertoire of piscine behaviors, including collision avoidance, foraging, preying, schooling, and mating. Though these artificial brains are rudimentary compared to the biological brains in real animals, they can also learn basic motor functions and carry out perceptually guided motor tasks, as shown by Radek Grzeszczuk while at the University of Toronto [3].

Artificial fish display models, such as the one in the sidebar, should capture the form and appearance of real fish with reasonable visual fidelity. To this end, we convert photographs of real fish into 3D spline surface body models using an interactive image-based modeling approach. The shapes and textures of the fish bodies are extracted from digitized photographs through computer vision techniques.

The motor system is the fish's dynamic model, including its muscle actuators and motor controllers. The biomechanical body model produces realistic piscine locomotion using only 23 lumped masses and 91 viscoelastic elements interconnected to maintain structural integrity under muscle-actuated deformation. Elements running longitudinally along the body function as actively contractile muscles. Artificial fishes locomote like natural fishesby autonomously contracting their muscles in a coordinated manner. As the body flexes, it displaces virtual fluid, producing thrust-inducing reaction forces that propel the fish forward. The mechanics are governed by systems of Lagrangian equations of motion (69 equations per fish) driven by hydrodynamic forces. The coupled, second-order ordinary differential equations are continually integrated through time by a numerical simulator (employing a stable, implicit Euler time-integration method). The model achieves a good compromise between realism and computational efficiency, while permitting the design of motor controllers using data gleaned from the literature on fish biomechanics.

A set of motor controllers in the motor center of the artificial fish's brain coordinates muscle actions to carry out specific motor functions, such as swimming forward, turning left, and turning right. Additional motor controllers coordinate the actions of the pectoral fins, enabling the neutrally buoyant artificial fish to pitch, roll, and yaw its body in order to navigate freely in its 3D world.

Artificial fishes are aware of their world through sensory perception, relying on a set of onboard virtual sensors to gather information about the dynamic environment. To achieve natural sensorimotor behaviors, it is necessary to model not only the abilities but also the limitations of animal perception systems. The perception center of the brain includes an attention mechanism that allows the artificial fish to sense the world in a task-specific way. For example, the artificial fish attends to sensory information about nearby food sources when foraging. (A biomimetic approach to perception based on computational vision was developed by Tamer Rabie at the University of Toronto; see www.cs.toronto.edu/~dt/animat-vision.)

The behavior center of an artificial fish's brain mediates between its perception system and its motor system. A set of innate characteristics determines a fish's (static) genetic legacy, such as whether it is male or female, predator or prey, and more. A (kinetic) mental state includes variables representing hunger, fear, and libido, whose values depend on sensory inputs. The behavioral repertoire of an artificial fish includes such primitive, reflexive behavior routines as obstacle avoidance, as well as more sophisticated motivational behavior routines, such as schooling and mating, whose activation depends on the fish's kinetic mental state. An appropriately curtailed (piscene) cognitive capacity stems from the fish's action-selection mechanism.

At each simulation time step, action selection entails combining the innate characteristics, the mental state, and the incoming stream of the fish's sensory information to generate sensible, survival-dependent goals, such as avoiding obstacles and predators, hunting and feeding on prey, and courting potential mates. A limited, single-item behavior memory reduces dithering, giving goals persistence to improve the robustness of the more prolonged foraging, schooling, and mating behaviors.

Though rudimentary compared to those in real animals, the brains of artificial fishes are also able to learn. For example, an artificial fish can learn to locomote through practice and sensory reinforcement. Coordinated muscle contractions that produce forward movements are remembered. These partial successes then form the basis for the fish's subsequent improvement in its swimming technique. More formally, the learning center of an artificial fish's brain comprises a set of optimization-based motor learning algorithms that can discover and perfect muscle controllers capable of producing efficient locomotion. These artificial animals can also learn to accomplish higher-level sensorimotor tasks, including the delightful sort of leaping stunts trained dolphins perform at aquatic theme parks [3].

A large-scale virtual seaquarium implemented by Qinxin Yu at the University of Toronto was installed at SMART Toronto (www.sto.org), February 1998. This real-time version of the artificial fishes virtual reality simulation enables users to pilot a virtual submarine through the synthetic undersea world. Participants are fascinated by the lifelike marine animals they observe through the virtual submarine's huge, panoramic "window." The simulation runs in a Trimension Reality Theater (see www.trimension-inc.com), which combines an SGI eight-processor (R10000) Onyx2 system and multichannel PRODAS projection technology from U.K.-based SEOS Displays. The system features three SGI InfiniteReality graphics pipelines, each feeding video to an overhead-mounted projector. The system simulates, animates, and renders the 3D virtual marine world at a sustainable rate greater than 30 frames per second. The three projectors produce a seamless display of approximately 4000×1000-pixel resolution across an 18-foot by 8-foot curved screen.

Back to Top

Conclusion

Artificial life is playing an increasingly important role across computer graphics, including image synthesis, modeling, animation, interactive games, multimedia, and virtual reality. A fast-growing technological corpus is available for realistically modeling and animating objects that are alive. The techniques emulate phenomena fundamental to biological organisms, such as birth, growth, and death, biomechanics and motor control, awareness, behavior, intelligence, and even evolution.

The exciting challenge to graphics researchers and practitioners is to develop and creatively deploy ever more sophisticated graphics modelsthat are self-creating, self-controlling, self-animating, and self-evolvingby simulating the mechanisms of life. That an area of such interdisciplinary reach can emerge within computer graphics is a testament to the richness and scope of the field.

Back to Top

References

1. Blumberg, B., and Galyean, T. Multi-level direction of autonomous creatures for real-time virtual environments. In Proceedings of SIGGRAPH'95 (Los Angeles, Aug. 611). ACM Press, New York, 1995, pp. 4754.

2. Funge, J., Tu, X., and Terzopoulos, D. Cognitive modeling: Knowledge, reasoning, and planning for intelligent characters. In Proceedings of SIGGRAPH'99 (Los Angeles, Aug. 813). ACM Press, New York, 1999; see also Funge, J. AI for Games and Animation: A Cognitive Modeling Approach, A.K. Peters, Wellesley, Mass., 1999.

3. Grzeszczuk, R., and Terzopoulos, D. Automated learning of muscle-actuated locomotion through control abstraction. In Proceedings of SIGGRAPH'95 (Los Angeles, Aug. 611). ACM Press, New York, 1995, pp. 6370.

4. Lee, Y., Terzopoulos, D., and Waters, K. Realistic modeling for facial animation. In Proceedings of SIGGRAPH'95 (Los Angeles, Aug. 611). ACM Press, New York, 1995, pp. 5562.

5. Mëch, R., and Prusinkiewicz, P. Visual models of plants interacting with their environment. In Proceedings of SIGGRAPH'96 (New Orleans, Aug. 49). ACM Press, New York, pp 397410; see also Prusinkiewicz, P., and Lindenmayer, A. The Algorithmic Beauty of Plants, Springer-Verlag, Berlin, 1990.

6. Reynolds, C. Flocks, herds, and schools: A distributed behavioral model. In Proceedings of SIGGRAPH'87 (Anaheim, Calif., July 2731). ACM Press, New York, pp. 2534.

7. Sims, K. Artificial evolution for computer graphics. In Proceedings of SIGGRAPH'91 (Las Vegas, July 28Aug. 2). ACM Press, New York, 1991, pp. 319328; see also Evolving virtual creatures. In Proceedings of SIGGRAPH'94 (Orlando, Fla., July 2429). ACM Press, New York, 1994, pp. 1522.

8. Thalmann D. The artificial life of virtual humans. In Artificial Life for Graphics, Animation, Multimedia, and Virtual Reality (SIGGRAPH'98 Course Notes), D. Terzopoulos, Ed. ACM Press, New York, 1998; see also H. Noser et al. Playing games through the virtual life network. In Artificial Life V, C. Langton and K. Shimohara, Eds., MIT Press, Cambridge, Mass., 1996, pp. 135142.

9. Tu, X., and Terzopoulos, D. Artificial fishes: Physics, locomotion, perception, behavior. In Proceedings of SIGGRAPH'94 (Orlando, Fla., July 2429). ACM Press, New York, 1994, pp. 4350; see also Tu, X. Artificial Animals for Computer Animation. ACM Distinguished Dissertation Series, Springer-Verlag, Berlin, 1999.

Back to Top

Author

Demetri Terzopoulos (dt@cs.toronto.edu) is a professor of computer science and a professor of electrical and computer engineering at the University of Toronto, where he directs the Visual Modeling Group (see www.cs.toronto.edu/~dt).

Back to Top

Footnotes

1For a readable introduction and historical perspective, see S. Levy's Artificial Life, Vintage Books, New York, 1992.

Funding was provided in part by the Natural Sciences and Engineering Research Council of Canada and the Canada Council for the Arts.

Back to Top

Figures

F1Figure 1. Artificial life modeling and the computer graphic animation modeling hierarchy.

F2Figure 2. Artificial plants.

F3Figure 3. Evolutionary art.

F4Figure 4. Artificial humans.

F5Figure 5. Interactive synthetic characters.

Back to Top

Tables

T1Table 1. Examples of behavioral animation in the movies.

Back to Top

UF1-1Figure.


©1999 ACM  0002-0782/99/0800  $5.00

Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. To copy otherwise, to republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee.

The Digital Library is published by the Association for Computing Machinery. Copyright © 1999 ACM, Inc.


 

No entries found