• Home
  • Textbooks
  • Computer Graphics with Open GL
  • Hierarchical Modeling

Computer Graphics with Open GL

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

Chapter 10

Hierarchical Modeling - all with Video Answers

Educators


Chapter Questions

00:54

Problem 1

Discuss model representations that would be appropriate for several distinctly different kinds of
systems. Also discuss how graphical representations might be implemented for each system.

James Kiss
James Kiss
Numerade Educator
01:14

Problem 2

Devise a two-dimensional neighborhood layout
package. A menu of various building structures
(e.g., residential buildings, commercial buildings,
roads, etc.) is to be provided to a designer, who can
use a mouse to select and place an object in any location within a given tract of land that constitutes
a neighborhood (a one-level hierarchy). Instance
transformations can be limited to translations and
rotations.

MB
Manav Bhatia
Numerade Educator
02:47

Problem 3

Extend the previous exercise so that building structures can also be scaled along each
dimension.

Jay Patel
Jay Patel
Numerade Educator
01:14

Problem 4

Devise a two-dimensional city-planning package that presents a menu of building structure
(e.g., residential buildings, commercial buildings,
roads, etc.) to a designer. A two-level hierarchy is to be used so that building structures can
be placed into various neighborhoods, and the
neighborhoods can be arranged within a larger
area comprising the land a given city can occupy.
Building structures are to be placed into neighborhoods using only translation and rotation
instance transformations.

MB
Manav Bhatia
Numerade Educator
02:47

Problem 5

Extend the previous exercise so that building
structures can also be scaled along each dimension.

Jay Patel
Jay Patel
Numerade Educator
02:16

Problem 6

Write a set of routines for creating and displaying
symbols for logic-circuit design. As a minimum,
the symbol set should include the and, or, and not
gates shown in Figure 1.

Nishant Kumar
Nishant Kumar
Numerade Educator
02:00

Problem 7

Develop a modeling package for designing logic
circuits that will allow a designer to position
electrical symbols within a circuit network. Use
the symbol set from the previous exercise, and
use only translations to place an instance of one
of the menu shapes into the network. Once a component has been placed in the network, it is to
be connected to other specified components with
straight-line segments.

Adriano Chikande
Adriano Chikande
Numerade Educator
01:07

Problem 8

Suppose you are designing a “creature creator”
for a video game. The player should be given access to a list of various forms from a fixed set of
body parts: heads, bodies, arms, and legs. A creature must have exactly one head and one body,
but may have any number of arms or legs. Write a
set of routines for editing creatures (a single creature in this instance would be a module) in the
proposed game. Your routines should provide for
the ability to replace one body part instance for
another, insert additional arms or legs, and delete
existing arms or legs.

Joanna Quigley
Joanna Quigley
Numerade Educator
00:32

Problem 9

Given the coordinate extents of all displayed
objects in a model, write a routine to delete any
selected object.

Ashley High
Ashley High
Numerade Educator
01:45

Problem 10

Write procedures to display and to delete a specified module in a model.

Oluwadamilola Ameobi
Oluwadamilola Ameobi
Numerade Educator
03:37

Problem 11

Write a routine that will selectively take modules
out of a model display or return them to the display.

Grant Castaneda
Grant Castaneda
Numerade Educator
03:24

Problem 12

Write a procedure to highlight a selected module
in some way. For example, the selected module
could be displayed in a different color or it could
be enclosed within a rectangular outline.

Jay Patel
Jay Patel
Numerade Educator
01:31

Problem 13

Write a procedure to highlight a selected module
in a model by causing the module’s scale to oscillate slightly.

Khoobchandra Agrawal
Khoobchandra Agrawal
Numerade Educator