Introduction To Computer Graphics Applications
Introduction To Computer Graphics Applications
Simulators (flight, driving) Simulators (flight, driving) Mechanical CAD (Computer Mechanical CAD (Computer Aided Design)
Applications
Simulators (flight, driving) Mechanical CAD (Computer Aided Design) Architectural visualization Virtual reality Virtual reality Advertising
Applications
Computer games Special effects Computer art
Applications
Education Scientific visualization Medical imaging
Geometric Model
Rendering Engine
Modeling
From a concept (or a real object) to a geometric model representable on a computer. Example: a sphere can be described by four real numbers: (x,y,z,r). Example: a polygon can be described by listing the coordinates of its vertices.
P0
P1 P2
P3
Huge models :
Modeling
How to represent more complex shapes? Polygon meshes: a large collection of polygonal facets, connected with each other. Free Free-form surfaces: using low-degree polynomial functions. CSG: construct a shape by applying boolean operations on primitive shapes.
700,000
13 million
372,422,615 82 million
Objets CSG
Description of complex shapes Definition
Object = set of points Object = sphere, cylinder, cone, box, Object = Obj1 bop Obj2 bop = union, intersection, difference
+ -
Surfaces splines
Rendering
Given a scene and viewing parameters, produce an image = a 2D array of pixels.
u v
Rendering
Important sub-tasks: Scan conversion: Which pixels in the image are covered by each object? Visible surface algorithms: What is visible at each pixel of the image? Illumination and shading: What color should be assigned to each pixel?
Surface Appearance
Surface: Appearance
What are the properties of material? How the surface reacts to light? In what direction and what part of the spectra is it reflecting? Is it fuzzy? Is the surface bumped like metal? etc.
Animation
How to define complex time-dependent behavior of objects? Examples:
Automatic inbetweening (interpolation keyframes).
Summary
How the image is created?
Put objects into the memory Assign appearance and/or textures to their surfaces Assign lights Position camera(s) Run the illumination algorithm: different techniques (scan conversion, ray tracing) Display images
Physically-based simulation.
Context
Image Processing: from images to images Computer Vision: from images to models Computer Graphics: from models to images
Perspective View
Depth Cue
Phong shading
Texture mapping
Texture mapping
10