Midterm 2 Flashcards
(112 cards)
What is computer graphics?
The science and art of communicating visually via a computer’s display and its interaction devices
What are the combining models to to produce a representation of a particular view of the scene: (4)
Model of objects
Model of the light
Geometric model
Mathematical model
Why Computer Graphics?
- better set of tools for plotting curves and presenting data they encounter in studies or work.
- to write computer-animated games, new medium for artistic expression.
- to be more productive, communicate ideas better, and computer graphics can be a great help.
Types of Visualization
*Scientific Visualization: the use of interactive visual representations of scientific data, typically physically based, to amplify cognition.
*Information Visualization: the use of interactive visual representations of abstract, non-physically based data to amplify cognition.
how do we use visualization? (FICGU)
*Form a mental image or vision
*Imagine or remember as if actually seeing
*Construct a visual image in the mind
*Graphical representation of data or concepts
*Use computer supported, interactive, visual representations of data to amplify cognition
draw the stages of visualization
slide 7
the stages of visualization (CPMH)
*collection and storage of data
*Preprocessing / transforming the data into something that is easier to manipulate
*Mapping from the selected data to a visual representation
*human perceptual and cognitive system (the perceiver)
Information Visualization User Tasks (OZFDRHE)
*Overview: provide an overview of the entire collection of data.
*Zoom: drill down from the abstract view to the detail view (items of interest).
*Filter: eliminate unnecessary or unimportant details.
*Details on Demand: select of an item or group and retrieve, as needed,
additional information.
*Relate: view relationships among items.
*History: maintain a history of actions to support undo, replay and refinement.
*Extract: extraction of sub-collections and query parameters.
The four basic dataset types
tables, networks, fields, and geometry
the five data types
items, attributes, links, positions, and grids.
types of an attribute
categorical or ordered, with a further split into
ordinal and quantitative.
ordering direction of attributes
can be sequential, diverging, or cyclic.
GUI component (widget)
element that displays an information
arrangement changeable by the user
provides a single interaction point for a given kind of data.
*basic visual building blocks which, combined in an application, hold all the data processed by the application and the available interactions on this data.
*To appear onscreen, must be part of a containment
hierarchy, a tree of components that has a top-level
container as its root.
layout manager
determines the size and position of the components within a
container.
GUI framework
uses computer graphics to display individual GUI components
and the overall GUI.
support classes for graphics
§Canvas: provides a rectangular area where drawing takes place.
§Graphics context: maintains the state (attributes) for drawing:
o The attribute values are implicitly used for drawing operations.
how is support for graphics provided?
§Wrapper classes for an existing graphics library (e.g., OpenGL).
§Custom framework classes and services.
what do support classes usually include?
§Canvas: provides a rectangular area where drawing takes place.
§Graphics context: maintains the state (attributes) for drawing:
o The attribute values are implicitly used for drawing operations.
Low level graphics libraries
(OpenGL) the basic drawing shapes are
points, lines, and triangles.
Evolution of 2D Graphics Platform (FDSP)
from immediate mode to retained mode
Drawing primitives instead of individual pixels.
State information.
Physical and abstract coordinate systems.
draw the evolution of 2d graphics
slide 13
integer pixel coordinates -> GUI PLATFORMS ( floating point coordinates -> templates and reusability ->layout managers and smart controls )
draw the graphics pipeline
slide 14
color
the sensation that arises when our eyes are presented with different
spectral mixes of light
Color is a perceptual phenomenon; spectral distributions are physical
phenomena.
how is the eye logarithmic?
Each time you double the light energy
(without altering the spectral distribution) arriving at your eye, the brightness that
you perceive will increase by the same amount.