1 introduction to computer graphics sen 991 - introduction to opengl graphics applications

18
1 Introduction to Computer Graphics SEN 991 - Introduction to OpenGL Graphics Applications

Upload: mark-lang

Post on 02-Jan-2016

218 views

Category:

Documents


4 download

TRANSCRIPT

Page 1: 1 Introduction to Computer Graphics SEN 991 - Introduction to OpenGL Graphics Applications

1

Introduction to Computer Graphics

SEN 991 - Introduction to

OpenGL Graphics Applications

Page 2: 1 Introduction to Computer Graphics SEN 991 - Introduction to OpenGL Graphics Applications

2

Overview

• These lectures accompany the textbook by Ed Angel, Interactive Computer Graphics, A Top-down Approach with OpenGL (Fourth Edition), Addison-Wesley

• This class will cover Chapters 1-6 in detail and survey Chapters 7-12

• Each .ppt file corresponds to one 50 minute lecture (a few require a bit more time)

Page 3: 1 Introduction to Computer Graphics SEN 991 - Introduction to OpenGL Graphics Applications

3

Objectives

• Broad introduction to Computer Graphics Software

Hardware

Applications

• Top-down approach• OpenGL

Page 4: 1 Introduction to Computer Graphics SEN 991 - Introduction to OpenGL Graphics Applications

4

Prerequisites

• Good programming skills in C (or C++)• Basic Data Structures

Linked lists

Arrays

• Geometry• Simple Linear Algebra

Page 5: 1 Introduction to Computer Graphics SEN 991 - Introduction to OpenGL Graphics Applications

5

Requirements

• 4 Assigned Projects Simple

Interactive (2)

3D

• See www.bhecker.com for assignments and course materials.

Page 6: 1 Introduction to Computer Graphics SEN 991 - Introduction to OpenGL Graphics Applications

6

Resources

• Can run OpenGL on any system Windows Linux

Mac

• Get GLUT from web if needed

Page 7: 1 Introduction to Computer Graphics SEN 991 - Introduction to OpenGL Graphics Applications

7

References

• Other helpful references OpenGL: A Primer, Ed Angel, Addison-Wesley,

(Second Edition), 2005• Designed for students who need more

programming information

The OpenGL Programmer’s Guide (the Redbook) and the OpenGL Reference Manual (The Blue book), Addison-Wesley,

– The definitive references

Page 8: 1 Introduction to Computer Graphics SEN 991 - Introduction to OpenGL Graphics Applications

8

Web Resources

• Great source of examples and information at: www.opengl.org

• PowerPoint lecture notes at www.bhecker.com

Page 9: 1 Introduction to Computer Graphics SEN 991 - Introduction to OpenGL Graphics Applications

9

Outline: Part 1

• Part 1: Introduction• Text: Chapter 1• Lectures 1-3

What is Computer Graphics?

Applications Areas

History

Image formation

Basic Architecture

Page 10: 1 Introduction to Computer Graphics SEN 991 - Introduction to OpenGL Graphics Applications

10

Outline: Part 2

• Part 2: Basic OpenGL• Text: Chapters 2-3• Lectures 4-9

Architecture

GLUT

Simple programs in two and three dimensions

Interaction

Page 11: 1 Introduction to Computer Graphics SEN 991 - Introduction to OpenGL Graphics Applications

11

Outline: Part 3

• Part 3: Three-Dimensional Graphics• Text: Chapters 4-6• Lectures 10-20

Geometry

Transformations

Homogeneous Coordinates

Viewing

Shading

Page 12: 1 Introduction to Computer Graphics SEN 991 - Introduction to OpenGL Graphics Applications

12

Outline: Part 4

• Part 5: Implementation• Text: Chapter 7• Lectures: 21-23

Approaches (object vs image space)

Implementing the pipeline

Clipping

Line drawing

Polygon Fill

Display issues (color)

Page 13: 1 Introduction to Computer Graphics SEN 991 - Introduction to OpenGL Graphics Applications

13

Outline: Part 5

• Part 4: Discrete Methods• Text: Chapter 8• Lectures 24-27

Buffers

Bitmaps and Pixel Maps

Texture Mapping

Compositing and Transparency

Page 14: 1 Introduction to Computer Graphics SEN 991 - Introduction to OpenGL Graphics Applications

14

Outline: Part 6

• Part 6: Programmable Pipelines• Text: Chapter 9• Lectures 28-30

Shading Languages

GLSL

Vertex Shaders

Fragment Shaders

Page 15: 1 Introduction to Computer Graphics SEN 991 - Introduction to OpenGL Graphics Applications

15

Outline: Part 7

• Part 7: Hierarchy• Text: Chapter 10• Lectures: 31-34• Tree Structured Models

Traversal Methods

Scene Graphs

Page 16: 1 Introduction to Computer Graphics SEN 991 - Introduction to OpenGL Graphics Applications

16

Outline: Part 8

• Part 8: Curves and Surfaces• Text: Chapter 11• Lectures: 35-39

Page 17: 1 Introduction to Computer Graphics SEN 991 - Introduction to OpenGL Graphics Applications

17

Outline: Part 9

• Part 9: Advanced Rendering• Text: Chapter 12• Lectures: 40-42

Page 18: 1 Introduction to Computer Graphics SEN 991 - Introduction to OpenGL Graphics Applications

18

Extra Lectures

• Marching Squares• Virtual Trackball• Display Issues• Fractals• Sampling and Aliasing• Bump Mapping• Environment Mapping• Reflection and Transmission