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

Computer Graphics with Open GL

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

Chapter 2

Computer Graphics Software - all with Video Answers

Educators


Chapter Questions

01:14

Problem 1

What command could we use to set the color of an OpenGL display window to dark gray? What command would we use to set the color of the display window to white?

Averell Hause
Averell Hause
Carnegie Mellon University
02:30

Problem 2

List the statements needed to set up an OpenGL display window whose lower-left corner is at pixel position $(75,200)$ and has a window width of 200 pixels and a height of 150 pixels.

Morgan Cheatham
Morgan Cheatham
Numerade Educator
04:13

Problem 3

List the OpenGL statements needed to draw a line segment from the upper-right corner of a display window of width 150 and height 250 to the lowerleft corner of the window.

Morgan Cheatham
Morgan Cheatham
Numerade Educator
01:36

Problem 4

Suppose we have written a function called rect angle whose purpose is to draw a rectangle in the middle of a given display window. What OpenGL statement would be needed to make sure the rectangle is drawn correctly each time the display window needs to be repainted?

Debasish Das
Debasish Das
Numerade Educator
01:13

Problem 5

Explain what is meant by the term "OpenGL display callback function".

Yujie Wang
Yujie Wang
College of San Mateo
02:10

Problem 6

Explain the difference between modeling coordinates and world coordinates.

Linh Vu
Linh Vu
Numerade Educator
01:08

Problem 7

Explain what normalized coordinates are and why they are useful for graphics software packages.

Ashley High
Ashley High
Numerade Educator