cs 4731: computer graphics lecture 1: introduction

18
CS 4731: Computer Graphics Lecture 1: Introduction Emmanuel Agu

Upload: zhen

Post on 22-Feb-2016

56 views

Category:

Documents


0 download

DESCRIPTION

CS 4731: Computer Graphics Lecture 1: Introduction. Emmanuel Agu. About This Course. Course about Computer Graphics NOT a course in OpenGL OpenGL only used as example Concerned with how to build graphics tools Concerned with underlying mathematics Concerned with underlying data structures - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: CS 4731: Computer Graphics Lecture 1: Introduction

CS 4731: Computer GraphicsLecture 1: Introduction

Emmanuel Agu

Page 2: CS 4731: Computer Graphics Lecture 1: Introduction

About This Course

Course about Computer Graphics NOT a course in OpenGL

OpenGL only used as example Concerned with how to build graphics tools Concerned with underlying mathematics Concerned with underlying data structures Concerned with underlying algorithms

This course is a lot of work: Requires extensive coding You will really know C++ when done

Page 3: CS 4731: Computer Graphics Lecture 1: Introduction

Syllabus Summary

2 Exams (50%), 5 Projects (50%) Will use openGL Code base provided: miniGL Required to extend miniGL functionality Write code on any platform. Must run on CCC machines Can work in pairs, unique projects All slides, material on class website

Page 4: CS 4731: Computer Graphics Lecture 1: Introduction

Homeworks

Many phases to homework: Understanding/design/coding/debugging/tesing Encouraged to work together Must only hand in your own work

Cheating: Heavily frowned on Immediate NR in the course

Advice: Come to class Keep up with the reading Make sure you understand before coding

Homework 1 on website tomorrow

Page 5: CS 4731: Computer Graphics Lecture 1: Introduction

What is Computer Graphics

Use a computer to create pictures Started early ’60s: Ivan Sutherland (MIT) SIGGRAPH conference:

started 1969, 30,000 annually SIGGRAPH 2003: San Diego 18,000

Tools to make a picture• Hardware tools• Software tools

Page 6: CS 4731: Computer Graphics Lecture 1: Introduction

Tools

Hardware tools• Output devices: Video monitors, printers• Input devices:Mouse/trackball, pen/drawing tablet, keyboard

Software tools• Operating system• Editor• Compiler• Debugger

Page 7: CS 4731: Computer Graphics Lecture 1: Introduction

Motivation for CG

Appealing pictures produced Humans respond better to pictorial information Human brain recognizes visual patterns “If it looks right, it is right”, Jim Blinn, CG pioneer

Page 8: CS 4731: Computer Graphics Lecture 1: Introduction

Reasons to study CG

Better information presentation Job in computer graphics (games, movies, etc) New medium for artistic expression Communicate ideas better Get a grade??

Page 9: CS 4731: Computer Graphics Lecture 1: Introduction

Uses of Computer Graphics

Art, entertainment, publishing: • movies, TV, books, magazines, games

Courtesy: Pixar.com,Quake3world.com

Page 10: CS 4731: Computer Graphics Lecture 1: Introduction

Uses of Computer Graphics

Image processing: • alter images, remove noise

Page 11: CS 4731: Computer Graphics Lecture 1: Introduction

Uses of Computer Graphics

Process monitoring: • large systems or plants

Courtesy:

Dataviews.de

Page 12: CS 4731: Computer Graphics Lecture 1: Introduction

Uses of Computer Graphics

Display simulations: • flight simulators, virtual worlds

Courtesy: Evans and Sutherland

Page 13: CS 4731: Computer Graphics Lecture 1: Introduction

Uses of Computer Graphics

Computer-aided design: • architecture, electric circuit design

Courtesy:

cadalog.com

Page 14: CS 4731: Computer Graphics Lecture 1: Introduction

Uses of Computer Graphics

Scientific analysis and visualization: • molecular biology, weather, matlab, Mandelbrot set

Courtesy:

Human Brain Project, Denmark

Page 16: CS 4731: Computer Graphics Lecture 1: Introduction

Elements of CG

Polylines: connected straight lines (edges, vertices) Text: font, typeface Filled regions: colors, patterns Raster images: pixels have values (pixmap)

Page 17: CS 4731: Computer Graphics Lecture 1: Introduction

Computer Graphics

Functions/routines to draw line or circle, etc Elaborate: pull-down menus, 3D coordinate system, etc Previously device-dependent

Difficult to port Error Prone

Now device-independent libraries APIs: OpenGL, DirectX, java3D

Page 18: CS 4731: Computer Graphics Lecture 1: Introduction

References

Hill, Chapter 1