• Home
  • Textbooks
  • Computer Graphics with Open GL
  • Computer Animation

Computer Graphics with Open GL

Donald Hearn. M. Pauline. Baker, Warren R.Carithers

Chapter 11

Computer Animation - all with Video Answers

Educators


Chapter Questions

00:52

Problem 1

Design a storyboard layout and accompanying key frames for an animation of a simple stick figure, as in Figure 17 .

Mayukh Banik
Mayukh Banik
Numerade Educator
01:22

Problem 2

Write a program to generate the in-betweens for the key frames specified in Exercise 1 using linear interpolation.

Adriano Chikande
Adriano Chikande
Numerade Educator
02:34

Problem 3

Expand the animation sequence in Exercise 1 to include two or more moving objects.

Supratim Pal
Supratim Pal
Numerade Educator
01:22

Problem 4

Write a program to generate the in-betweens for the key frames in Exercise 3 using linear interpolation.

Adriano Chikande
Adriano Chikande
Numerade Educator
00:57

Problem 5

Write a morphing program to transform any given polygon into another specified polygon, using five in-betweens.

Monica Miller
Monica Miller
Numerade Educator
00:48

Problem 6

Write a morphing program to transform a sphere into a specified polyhedron, using five in-betweens.

Allison Knapp
Allison Knapp
Numerade Educator
05:00

Problem 7

Set up an animation specification involving accelerations and implementing Eq. 7 .

Suzanne W.
Suzanne W.
Numerade Educator
01:03

Problem 8

Set up an animation specification involving both accelerations and decelerations, implementing the in-between spacing calculations given in Equations 7 and 8 .

James Kiss
James Kiss
Numerade Educator
01:00

Problem 9

Set up an animation specification implementing the acceleration-deceleration calculations of Equation $9 .$

Keshav Singh
Keshav Singh
Numerade Educator
03:17

Problem 10

Write a program to simulate the linear, twodimensional motion of a filled circle inside a given rectangular area. The circle is to be given an initial position and velocity, and the circle is to rebound from the walls with the angle of reflection equal to the angle of incidence.

Shelby Mohamed
Shelby Mohamed
Numerade Educator
19:31

Problem 11

Convert the program of the previous exercise into a two-player ball and paddle game by replacing two opposite sides of the rectangle with short line segments that can be moved back and forth along each of the rectangle edges. Interactive movement of each line segment simulates a paddle that can be positioned to prevent the bouncing ball from escaping that side of the rectangle. Each time the circle escapes from the interior of the rectangle the score of the player assigned to the opposite side is increased. Initial input parameters include circle position, direction, and speed. The game scores can be displayed in one corner of the display window.

Brian Ketelobeter
Brian Ketelobeter
Numerade Educator
01:14

Problem 12

Modify the ball and paddle game in the previous exercise to vary the speed of the bouncing ball. After each successful block by a player, the speed of the ball is incremented by a small amount.

Kara Merfeld
Kara Merfeld
Numerade Educator
02:08

Problem 13

Modify the game in the previous exercise to include two balls, each initialized to the same speed but different positions and opposite directions.

Manish Kumar ( Iit K )
Manish Kumar ( Iit K )
Numerade Educator
02:15

Problem 14

Modify the two-dimensional bouncing ball inside a rectangle to a three-dimensional motion of a sphere bouncing around inside a parallelepiped. Interactive viewing parameters can be set to view the motion from different directions.

Mayukh Banik
Mayukh Banik
Numerade Educator
06:33

Problem 15

Write a program to implement the samulation of a bouncing ball using Eq. 10 .

Willis James
Willis James
Numerade Educator
02:08

Problem 16

Expand the program in the previous exercise to include squash and stretch effects.

James Kiss
James Kiss
Numerade Educator
19:31

Problem 17

Write a program to implement the motion of a bouncing ball using dynamics. The motion of the ball is to be governed by a downward gravitational force and a ground-plane friction force. Initially, the ball is to be projected into space with a given velocity vector.

Brian Ketelobeter
Brian Ketelobeter
Numerade Educator
01:24

Problem 18

Write a program to implement dynamic motion specifications. Specify a scene with two or more objects, initial motion parameters, and specified forces. Then generate the animation from the solution of the force equations. (For example, the objects could be the earth, moon, and sun with attractive gravitational forces that are proportional to mass and inversely proportional to distance squared.)

Prem Bijarniya
Prem Bijarniya
Numerade Educator
04:10

Problem 19

Modify the rotating hexagon program in Section 10 to allow a user to interactively choose a three-dimensional object from a list of menu options to be rotated about the $y$ axis. Use a perspective projection to display the object.

Steven Emmel
Steven Emmel
University of California - Los Angeles
View

Problem 20

Modify the program in the previous exercise so that the rotation about the $y$ axis is an elliptical path in the $x z$ plane.

Victor Salazar
Victor Salazar
Numerade Educator
06:29

Problem 21

Modify the program in the previous exercise to allow interactive variation of the rotation speed.

Zachary Warner
Zachary Warner
Numerade Educator