Introduction to Computer Graphics Mohan Sridharan Based on Slides by Edward Angel and Dave Shreiner CS4395: Computer Graphics 1.

Slides:



Advertisements
Similar presentations
Lecture 1 – Introduction, Overview
Advertisements

1Computer Graphics Lecture 2 - What is Computer Graphics? John Shearer Culture Lab – space 2
01.1 Angel: Interactive Computer Graphics Addison-Wesley 2005 Computer Graphics: Realism comes to computer graphics smooth shadingenvironment.
6/10/2015 3:41:00 AM 1 CSE 307 COMPUTER GRAPHICS  OVERVIEW OF GRAPHICS SYSTEMS  GRAPHICS OUTPUT PRIMITIVES  GEOMETRICAL TRANSFORMATIONS  TWO DIMENSIONAL.
1 Angel and Shreiner: Interactive Computer Graphics 6E © Addison-Wesley 2012 What is Computer Graphics? 靜宜大學 資訊工程系 蔡奇偉 副教授
CS5500 Computer Graphics © Chun-Fa Chang, Spring 2007 CS5500 Computer Graphics February 26, 2007.
1 Angel: Interactive Computer Graphics 4E © Addison-Wesley 2005 Introduction to Computer Graphics Ed Angel Professor of Computer Science, Electrical and.
Graphics Systems I-Chen Lin’s CG slides, Doug James’s CG slides Angel, Interactive Computer Graphics, Chap 1 Introduction to Graphics Pipeline.
1 Angel: Interactive Computer Graphics 4E © Addison-Wesley 2005 What is Computer Graphics? Ed Angel Professor of Computer Science, Electrical and Computer.
Introduction to OpenGL. What is OpenGL OpenGL is a low-level software interface to graphics hardware No commands for performing windowing tasks or obtaining.
1 Angel: Interactive Computer Graphics 4E © Addison-Wesley 2005 Models and Architectures Ed Angel Professor of Computer Science, Electrical and Computer.
Ch 1 Intro to Graphics page 1CS 367 First Day Agenda Best course you have ever had (survey) Info Cards Name, , Nickname C / C++ experience, EOS experience.
CIS 581 Interactive Computer Graphics (slides based on Dr. Han-Wei Shen’s slides) Instructor: Rick Parent Credit: 4 Class: MWF 10:30.
CSE40166 (Notre Dame) Computer Graphics Lecture 1 John H Stewman 205C Cushing
1 Angel and Shreiner: Interactive Computer Graphics 6E © Addison-Wesley 2012 What is Computer Graphics? Sai-Keung Wong ( 黃世強 ) Computer Science National.
CSU0021 Computer Graphics © Chun-Fa Chang CSU0021 Computer Graphics September 10, 2014.
C O M P U T E R G R A P H I C S Guoying Zhao 1 / 16 Computer Graphics Course Introduction.
CS 480/680 Computer Graphics Course Overview Dr. Frederick C Harris, Jr. Fall 2012.
Chapter 1 Graphics Systems and Models. What is Computer Graphics? Ed Angel Professor of Computer Science, Electrical and Computer Engineering, and Media.
CS 480/680 Computer Graphics What is Computer Graphics Dr. Frederick C Harris, Jr.
CHAPTER 4 Window Creation and Control © 2008 Cengage Learning EMEA.
1 Introduction to Computer Graphics with WebGL Ed Angel Professor Emeritus of Computer Science Founding Director, Arts, Research, Technology and Science.
Prof. Zhang Caiming (张彩明) Dr. Zhou Yuanfeng (周元峰) Shandong University
1 Chapter 1: Graphics Systems and Models Dr. Payne CSCI 3600 North Georgia College & St. Univ.
CSC 461: Lecture 1 1 Lecture 1: Introduction Objectives Explore what computer graphics is about Survey some application areas Introduce a history of computer.
CSC 461: Lecture 41 CSC461: Lecture 4 Introduction to OpenGL Objectives: Development of the OpenGL API OpenGL Architecture -- OpenGL as a state machine.
Computer Graphics. Requirements Prerequisites Prerequisites CS 255 : Data Structures CS 255 : Data Structures Math 253 Math 253 Experience with C Programming.
1 Angel and Shreiner: Interactive Computer Graphics 6E © Addison-Wesley 2012 Introduction to Computer Graphics 靜宜大學 資訊工程系 蔡奇偉 副教授
1 Introduction to Computer Graphics with WebGL Ed Angel Professor Emeritus of Computer Science Founding Director, Arts, Research, Technology and Science.
COMPUTER GRAPHICS Hochiminh city University of Technology Faculty of Computer Science and Engineering CHAPTER 01: Graphics System.
Computer Graphics I, Fall : What is Computer Graphics?
Advanced Computer Graphics September 15, Grading Programming homework Paper study and presentation Final project No written exams.
Introduction to Computer Graphics Dr.Giorgos A. Demetriou Dr. Stephania Loizidou Himona Computer Science Department Frederick University.
1 Angel and Shreiner: Interactive Computer Graphics 6E © Addison-Wesley 2012 Introduction to Computer Graphics Ed Angel Professor Emeritus of Computer.
CSE Real Time Rendering. TBT (Not So) Real Time Rendering.
1 Introduction to Computer Graphics SEN Introduction to OpenGL Graphics Applications.
Computer Graphics I, Fall 2008 Introduction to Computer Graphics.
1 Angel: Interactive Computer Graphics 5E © Addison-Wesley 2009 CS4610/7610: Introduction to Computer Graphics.
CSE 581: Interactive Computer Graphics Spring 2012, UG 4 Tuesday, Thursday – 9:00AM – 10:18AM DL 0317 Raghu Machiraju Slides: Courtesy - Prof. Huamin Wang,
1 Introduction to Computer Graphics with WebGL Ed Angel Professor Emeritus of Computer Science Founding Director, Arts, Research, Technology and Science.
What is Computer Graphics?. 2 Objectives In this lecture, we explore what computer graphics is about We will give a historical introduction.
1 Angel and Shreiner: Interactive Computer Graphics 6E © Addison-Wesley 2012 What is Computer Graphics? Sai-Keung Wong ( 黃世強 ) Computer Science National.
1 Angel: Interactive Computer Graphics 4E © Addison-Wesley 2005 What is Computer Graphics?
Subject Name: Computer Graphics Subject Code: Textbook: “Computer Graphics”, C Version By Hearn and Baker Credits: 6 1.
Overview of Graphics System
1 Introduction to Computer Graphics with WebGL Ed Angel Professor Emeritus of Computer Science Founding Director, Arts, Research, Technology and Science.
1 E. Angel and D. Shreiner: Interactive Computer Graphics 6E © Addison-Wesley 2012 Models and Architectures 靜宜大學 資訊工程系 蔡奇偉 副教授 2012.
Intro to Computer Graphics and Image Formation Angel Angel: Interactive Computer Graphics5E © Addison-Wesley
1 Contact Information Wsalhalabi.kau.edu.sa Parts of the slides were adopted from Dr. Barbara Hecker.
Instructor: Dr. Shereen Aly Taie 1.  Broad introduction to Computer Graphics ◦ Software ◦ Hardware ◦ Applications  CAD برامج التصميم 2.
1 Angel: Interactive Computer Graphics 5E © Addison-Wesley 2009 Introduction to Computer Graphics Dr Usman Saeed Assistant Professor Faculty of Computing.
What is Computer Graphics?
Chapter 1 An overview on Computer Graphics
Computer Graphics - Introduction -
CS4610/7610: Introduction to Computer Graphics
Introduction to Computer Graphics
CS4830 Computer Graphics, Fall 2016 Professor: Dr. Mihail
Chapter 1 An overview on Computer Graphics
What is Computer Graphics?
INTERACTIVE COMPUTER GRAPHICS
What is Computer Graphics?
CS 4722 Computer Graphics and Multimedia Spring 2018
Introduction to Computer Graphics with WebGL
Introduction to Computer Graphics with WebGL
Introduction to Computer Graphics
Introduction to Computer Graphics
What is Computer Graphics?
Computer Graphics Course Introduction.
OpenGL-Rendering Pipeline
Presentation transcript:

Introduction to Computer Graphics Mohan Sridharan Based on Slides by Edward Angel and Dave Shreiner CS4395: Computer Graphics 1

Overview Slides based on book by Edward Angel and Dave Shreiner: Interactive Computer Graphics, A Top-down Approach with Shader-Based OpenGL (Sixth Edition), Addison-Wesley, Lots of resources on companion website: Some useful resources listed on course website: CS4395: Computer Graphics 2

Objectives Broad introduction to Computer Graphics: – Software. – Hardware. – Applications. Top-down approach: Shader-Based OpenGL compatible with: – OpenGL 3.1 (and later). – Open GL ES 2.0 – webGL CS4395: Computer Graphics 3

Prerequisites Good programming skills in C (or C++). Basic Data Structures: – Linked lists. – Arrays. Geometry. Simple Linear Algebra. CS4395: Computer Graphics 4

Requirements 4-5 programming projects: – Increasing levels of difficulty: totally 65% of grade. – Will move from 2D to 3D with lighting and texture. Term Project: – You pick! – Substantial challenge since it constitutes 25% of grade. Responses + classroom participation: 10% CS4395: Computer Graphics 5

Resources Can run OpenGL on any system: – Windows: check graphics card properties for level of OpenGL supported. – Linux. – Mac: may need extensions for 3.1 equivalence. Get GLUT from web if needed: – Provided on Macs. – freeglut available on web. Get GLEW from web. WebGL: most newer browsers. CS4395: Computer Graphics 6

References – Standards documents, sample code. The OpenGL Programmer’s Guide (the Redbook) 7 th Edition: – The definitive reference. – Mixes 3.0 and 3.1 OpenGL Shading Language, 3 rd Edition. OpenGL ES 2.0 Programming Guide. CS4395: Computer Graphics 7

Outline: Part 1 Part 1: Introduction. Text: Chapter 1. Chapter topics: – What is Computer Graphics? – Applications Areas. – History. – Image formation. – Basic Architecture. CS4395: Computer Graphics 8

Outline: Part 2 Part 2: Basic OpenGL. Text: Chapter 2. Chapter topics: – Architecture. – GLUT. – Simple programs in two and three dimensions. – Basic shaders and GLSL. – Interaction. CS4395: Computer Graphics 9

Outline: Part 3 Part 3: Three-Dimensional Graphics. Text: Chapters 3-5. Chapter Topics: – Geometry. – Transformations. – Homogeneous Coordinates. – Viewing. – Lighting and Shading. CS4395: Computer Graphics 10

Outline: Part 4 Part 4: Implementation. Text: Chapter 6. Chapter topics: – Approaches (object vs. image space). – Implementing the pipeline. – Clipping. – Line drawing. – Polygon Fill. – Display issues (color). CS4395: Computer Graphics 11

Outline: Part 5 Part 5: Discrete Methods. Text: Chapter 7. Chapter topics: – Buffers. – Texture Mapping. – Shader Applications. – Compositing and Transparency. CS4395: Computer Graphics 12

Outline: Part 6 Part 6: Hierarchy and Procedural Methods. Text: Chapters 8-9. Chapter topics: – Tree Structured Models. – Traversal Methods. – Scene Graphs. – Particle Systems. CS4395: Computer Graphics 13

Outline: Part 7 Part 7: Curves and Surfaces. Text: Chapter 10. CS4395: Computer Graphics 14

Outline: Part 8 Part 8: Advanced Rendering. Text: Chapter 11. We are finally done! CS4395: Computer Graphics 15

Extra Lectures Marching Squares. Virtual Trackball. Environment Mapping. Shadows, fractals. Display Issues. Bump Mapping, sampling and aliasing. Reflection and transmission. CS4395: Computer Graphics 16

What is Computer Graphics? CS4395: Computer Graphics 17

Computer Graphics Computer graphics deals with all aspects of creating images with a computer: – Hardware. – Software. – Applications. CS4395: Computer Graphics 18

Example Where did this image come from? What hardware/software did we need to produce it? CS4395: Computer Graphics 19

Preliminary Answer Application: object is an artist’s rendition of the sun for an animation to be shown in a domed environment (planetarium). Software: Maya for modeling and rendering but Maya is built on top of OpenGL. Hardware: PC with graphics card for modeling and rendering. CS4395: Computer Graphics 20

Basic Graphics System CS4395: Computer Graphics 21 Input devices Output device Image formed in frame buffer

CRT Can be used either as a line-drawing device (calligraphic) or to display contents of frame buffer (raster mode) CS4395: Computer Graphics 22

Computer Graphics: Computer graphics goes back to earliest days of computing: – Strip charts. – Pen plotters. – Simple displays using A/D converters to go from computer to calligraphic CRT. Cost of refresh for CRT too high: – Computers slow, expensive, unreliable (not anymore!). CS4395: Computer Graphics 23

Computer Graphics: Wireframe graphics: – Draw only lines! Sketchpad. Display Processors. Storage tube. CS4395: Computer Graphics 24 wireframe representation of sun object

Sketchpad Ivan Sutherland’s PhD thesis at MIT: – Recognized the potential of man-machine interaction. – Loop: Display something. User moves light pen. Computer generates new display. – Sutherland also created many of the now common algorithms for computer graphics. CS4395: Computer Graphics 25

Display Processor Rather than have the host computer try to refresh display, use a special purpose computer called a display processor (DPU). Graphics stored in display list/file on display processor. Host compiles display list and sends to DPU. CS4395: Computer Graphics 26

Direct View Storage Tube Created by Tektronix: – Did not require constant refresh. – Standard interface to computers: Allowed for standard software. Plot3D in Fortran. – Relatively inexpensive: Opened door to use of computer graphics for CAD community. CS4395: Computer Graphics 27

Computer Graphics: Raster Graphics. Beginning of graphics standards. – IFIPS: GKS: European effort. – Becomes ISO 2D standard. Core: North American effort. – 3D but fails to become ISO standard. Workstations and PCs. CS4395: Computer Graphics 28

Raster Graphics Image produced as an array (the raster) of picture elements (pixels) in the frame buffer. CS4395: Computer Graphics 29

Raster Graphics Allows us to go from lines and wire frame images to filled polygons! CS4395: Computer Graphics 30

PCs and Workstations Although we no longer make the distinction between workstations and PCs, they evolved from different roots: – Early workstations characterized by: Networked connection: client-server model. High-level of interactivity. – Early PCs included frame buffer as part of user memory: Easy to change contents and create images. CS4395: Computer Graphics 31

Computer Graphics: Realism comes to computer graphics CS4395: Computer Graphics 32 smooth shadingenvironment mapping bump mapping

Computer Graphics: Special purpose hardware: – Silicon Graphics geometry engine: VLSI implementation of graphics pipeline. Industry-based standards: – PHIGS. – RenderMan. Networked graphics: X Window System. Human-Computer Interface (HCI). CS4395: Computer Graphics 33

Computer Graphics: OpenGL API. Completely computer-generated feature-length movies (Toy Story) are successful. New hardware capabilities: – Texture mapping. – Blending. – Accumulation, stencil buffers. CS4395: Computer Graphics 34

Computer Graphics: Photorealism. Graphics cards for PCs dominate market: Nvidia, ATI. Game boxes and game players determine market direction. Computer graphics routine in movie industry: Maya, Lightwave. Programmable pipelines. CS4395: Computer Graphics 35

What next? Overview of image formation. Overview of graphics architectures. CS4395: Computer Graphics 36