Visualization, Spring'98, Yap
LECTURE 4: INTERACTION
-
INTRODUCTION
Interactive graphics must be developed in
the context of a windowing system and
graphical interface. OpenGL does not
directly provide for these, but we shall
examine the provisions in the
GL Utility Toolkit (GLUT) Library.
-
PHYSICAL INPUT/OUTPUT DEVICES
-
-
Output devices
-
-
Input devices
-
LOGICAL INPUT DEVICES
-
-
A physical device may represent several logical devices.
-
-
PHIGS and GKS classifies 6 classes
of logical input devices.
-
GLUT INTERACTIVE PROGRAMMING
-
-
Model of Interaction
-
-
3 principal modes of interaction
-
-
GLUT events
-
-
Some Mechanics of Windows
-
-
GLUT Skeleton Program
-
-
Using Multiple and SubWindows
-
DISPLAY LISTS
-
-
There are two display modes:
immediate mode
and
retained mode.
-
-
Display lists is the vehicle
for using retained mode.
-
-
Advantages of retained mode: it saves recomputation
of primitives, but requires extra memory to store
display lists on graphics server.
-
-
Using Fonts (a non-example!)
[PREVIOUS LECTURE]
[NEXT LECTURE]
[ALL LECTURES]
[CLASS PAGE]