Lecture 1. Computer Graphics and Systems. Tuesday, January 15, 13

Similar documents
Image Formation. Ed Angel Professor of Computer Science, Electrical and Computer Engineering, and Media Arts University of New Mexico

Introduction to Computer Graphics with WebGL

3D graphics, raster and colors CS312 Fall 2010

Computer Graphics. Bing-Yu Chen National Taiwan University

National Chiao Tung Univ, Taiwan By: I-Chen Lin, Assistant Professor

Survey in Computer Graphics Computer Graphics and Visualization

INTRODUCTION. Slides modified from Angel book 6e

Game Programming. Bing-Yu Chen National Taiwan University

Computer Graphics. Bing-Yu Chen National Taiwan University The University of Tokyo

Introduction to Computer Graphics with WebGL

Overview CS Plans for this semester. References. CS 4600 Fall Prerequisites

CSE4030 Introduction to Computer Graphics

CS452/552; EE465/505. Image Formation

Introduction to Computer Graphics with WebGL

Graphics Systems and Models

Image Formation. Introduction to Computer Graphics. Machiraju/Zhang/Möller/Klaffenböck

Image Formation. Introduction to Computer Graphics Torsten Möller. Machiraju/Zhang/Möller

Computer Graphics Lecture 2

VTU QUESTION PAPER SOLUTION UNIT -1 INTRODUCTION

MMGD0206 Computer Graphics. Chapter 1 Development of Computer Graphics : History

Introduction to Computer Graphics. Overview. What is Computer Graphics?

The Display pipeline. The fast forward version. The Display Pipeline The order may vary somewhat. The Graphics Pipeline. To draw images.

CHAPTER 1 Graphics Systems and Models 3

Computer Graphics - Chapter 1 Graphics Systems and Models

Models and Architectures. Ed Angel Professor of Computer Science, Electrical and Computer Engineering, and Media Arts University of New Mexico

Lecturer Athanasios Nikolaidis

Computer Graphics I Lecture 11

Computer Graphics and Visualization. Graphics Systems and Models

Illumination and Shading

CS452/552; EE465/505. Color Display Issues

CIS 581 Interactive Computer Graphics

Introduction to Computer Graphics with WebGL

CS5620 Intro to Computer Graphics

Models and Architectures

CS451Real-time Rendering Pipeline

Computer Graphics. Instructor: Oren Kapah. Office Hours: T.B.A.

Interactive Computer Graphics A TOP-DOWN APPROACH WITH SHADER-BASED OPENGL

Animation & Rendering

CSE328 Fundamentals of Computer Graphics: Concepts, Theory, Algorithms, and Applications

CS 464 Review. Review of Computer Graphics for Final Exam

Computer Graphics Fundamentals. Jon Macey

History of computer graphics

CIS 581 Interactive Computer Graphics (slides based on Dr. Han-Wei Shen s slides) Requirements. Reference Books. Textbook

Course Title: Computer Graphics Course no: CSC209

Color and Shading. Color. Shapiro and Stockman, Chapter 6. Color and Machine Vision. Color and Perception

Computer Graphics Introduction. Taku Komura

Supplement to Lecture 16

Topics and things to know about them:

Overview. Computer Graphics CS324. OpenGL. Books. Learning Resources. CS131 Notes. 30 Lectures 3hr Exam

CS 428: Fall Introduction to. Realism (overview) Andrew Nealen, Rutgers, /11/2009 1

Today. Rendering algorithms. Rendering algorithms. Images. Images. Rendering Algorithms. Course overview Organization Introduction to ray tracing

Today. Rendering algorithms. Rendering algorithms. Images. Images. Rendering Algorithms. Course overview Organization Introduction to ray tracing

Instructor. Goals. Image Synthesis Examples. Applications. Foundations of Computer Graphics. Why Study 3D Computer Graphics?

Introduction to Computer Graphics. Knowledge basic concepts 2D and 3D computer graphics

CS450/550. Pipeline Architecture. Adapted From: Angel and Shreiner: Interactive Computer Graphics6E Addison-Wesley 2012

Lecture 12 Color model and color image processing

Rendering. Converting a 3D scene to a 2D image. Camera. Light. Rendering. View Plane

The Viewing Pipeline Coordinate Systems

Computer Graphics Disciplines. Grading. Textbooks. Course Overview. Assignment Policies. Computer Graphics Goals I

Three Main Themes of Computer Graphics

Lecture 15: Shading-I. CITS3003 Graphics & Animation

COMP Preliminaries Jan. 6, 2015

Midterm Exam! CS 184: Foundations of Computer Graphics! page 1 of 13!

Lahore University of Management Sciences. CS 452 Computer Graphics

GLOBAL EDITION. Interactive Computer Graphics. A Top-Down Approach with WebGL SEVENTH EDITION. Edward Angel Dave Shreiner

CSE 167: Lecture #6: Color. Jürgen P. Schulze, Ph.D. University of California, San Diego Fall Quarter 2011

Graphics and Interaction Rendering pipeline & object modelling

Midterm Exam CS 184: Foundations of Computer Graphics page 1 of 11

Global Rendering. Ingela Nyström 1. Effects needed for realism. The Rendering Equation. Local vs global rendering. Light-material interaction

TSBK 07! Computer Graphics! Ingemar Ragnemalm, ISY

(0, 1, 1) (0, 1, 1) (0, 1, 0) What is light? What is color? Terminology

Computer Science 175. Introduction to Computer Graphics lib175 time: m/w 2:30-4:00 pm place:md g125 section times: tba

CS 354R: Computer Game Technology

Digital Image Processing COSC 6380/4393. Lecture 19 Mar 26 th, 2019 Pranav Mantini

Graphics for VEs. Ruth Aylett

CS354 Computer Graphics Introduction. Qixing Huang Januray 17 8h 2017

Computer Graphics and Visualization. What is computer graphics?

2: Introducing image synthesis. Some orientation how did we get here? Graphics system architecture Overview of OpenGL / GLU / GLUT

I expect to interact in class with the students, so I expect students to be engaged. (no laptops, smartphones,...) (fig)

CS452/552; EE465/505. Finale!

782 Schedule & Notes

Last week. Machiraju/Zhang/Möller

CS2401 COMPUTER GRAPHICS ANNA UNIV QUESTION BANK

Visualisatie BMT. Rendering. Arjan Kok

Reading. 2. Color. Emission spectra. The radiant energy spectrum. Watt, Chapter 15.

Image Formation. CS418 Computer Graphics Eric Shaffer.

Pipeline Operations. CS 4620 Lecture Steve Marschner. Cornell CS4620 Spring 2018 Lecture 11

REYES REYES REYES. Goals of REYES. REYES Design Principles

Lecture 1 Image Formation.

critical theory Computer Science

INFOGR Computer Graphics

Computer Graphics. Lecture 02 Graphics Pipeline. Edirlei Soares de Lima.

CSC 8470 Computer Graphics. What is Computer Graphics?

Local Illumination. CMPT 361 Introduction to Computer Graphics Torsten Möller. Machiraju/Zhang/Möller

CS130 : Computer Graphics Lecture 2: Graphics Pipeline. Tamar Shinar Computer Science & Engineering UC Riverside

Some Resources. What won t I learn? What will I learn? Topics

Pipeline Operations. CS 4620 Lecture 14

COURSE DELIVERY PLAN - THEORY Page 1 of 6

3D GRAPHICS. design. animate. render

Graphics Hardware and Display Devices

Transcription:

Lecture 1 Computer Graphics and Systems

What is Computer Graphics? Image Formation Sun Object Figure from Ed Angel,D.Shreiner: Interactive Computer Graphics, 6 th Ed., 2012 Addison Wesley

Computer Graphics 1960-70 Wireframe Graphics Sketchpad - an early CG system wireframe representation of sun object Figure from Ed Angel,D.Shreiner: Interactive Computer Graphics, 6 th Ed., 2012 Addison Wesley

Computer Graphics 1980-90 Realism comes to computer graphics smooth shading environment mapping bump mapping Figures from Ed Angel,D.Shreiner: Interactive Computer Graphics, 6 th Ed., 2012 Addison Wesley

Basic Graphics System Input devices Output device Image formed in frame buffer Figure from Ed Angel,D.Shreiner: Interactive Computer Graphics, 6 th Ed., 2012 Addison Wesley

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 (display file) on display processor Host compiles display list and sends to DPU Figure from Ed Angel,D.Shreiner: Interactive Computer Graphics, 6 th Ed., 2012 Addison Wesley

Raster Graphics Image produced as an array (the raster) of picture elements (pixels) in the frame buffer

Digital Graphics + Visual Acuity Allows us to go from lines and wire frame images to filled polygons Figure from Ed Angel,D.Shreiner: Interactive Computer Graphics, 6 th Ed., 2012 Addison Wesley

Computer Graphics 2000 ++ Photorealism with Interactivity Graphics cards for PCs dominate market - Nvidia, ATI (part of AMD) Game boxes and game players determine direction of market Computer graphics routine in movie industry: Maya, Lightwave Programmable graphics pipelines

Image Formation In computer graphics, we form images which are generally two dimensional using a process analogous to how images are formed by physical imaging systems - Cameras - Microscopes - Telescopes - Human visual system

Elements of Image Formation Objects Viewer Light source(s) Attributes that govern how light interacts with the materials in the scene Note the independence of the objects, the viewer, and the light source(s) Figure from Ed Angel,D.Shreiner: Interactive Computer Graphics, 6 th Ed., 2012 Addison Wesley

Light Light is the part of the electromagnetic spectrum that causes a reaction in our visual systems Generally these are wavelengths in the range of about 350-750 nm (nanometers) Long wavelengths appear as reds and short wavelengths as blues

Ray Tracing & Image Formation One way to form an image is to follow rays of light from a point source finding which rays enter the lens of the camera. However, each ray of light may have multiple interactions with objects before being absorbed or going to infinity. Figure from Ed Angel,D.Shreiner: Interactive Computer Graphics, 6 th Ed., 2012 Addison Wesley

Local vs Global Illumination Cannot compute color or shade of each object independently - Some objects are blocked from light - Light can reflect from object to object - Some objects might be translucent Figure from Ed Angel,D.Shreiner: Interactive Computer Graphics, 6 th Ed., 2012 Addison Wesley

Luminance & Color Images Luminance Image - Monochromatic - Values are gray levels - Analogous to working with black and white film or television Color Image - Has perceptional attributes of hue, saturation, and lightness - Do we have to match every frequency in visible spectrum? No!

Three Color Theory Human visual system has two types of sensors - Rods: monochromatic, night vision - Cones Color sensitive Three types of cones Only three values (the tristimulus values) are sent to the brain Need only match these three values - Need only three primary colors Figure from Ed Angel,D.Shreiner: Interactive Computer Graphics, 6 th Ed., 2012 Addison Wesley

Additive / Subtractive Color Additive color - Form a color by adding amounts of three primaries CRTs, projection systems, positive film - Primaries are Red (R), Green (G), Blue (B) Subtractive color - Form a color by filtering white light with cyan (C), Magenta (M), and Yellow (Y) filters Light-material interactions Printing Negative film

Perspective Camera Use trigonometry to find projection of point at (x,y,z) x p = -x/z/d y p = -y/z/d z p = d These are equations of simple perspective Figures from Ed Angel,D.Shreiner: Interactive Computer Graphics, 6 th Ed., 2012 Addison Wesley

Virtual Camera Model projector p image plane projection of p center of projection Figure from Ed Angel,D.Shreiner: Interactive Computer Graphics, 6 th Ed., 2012 Addison Wesley

What will you learn in this course? An introduction to Interactive Computer Graphics - Software - Applications Top-down approach Shader-Based OpenGL compatible with - OpenGL 3.1 (and later) - Open GL ES 2.0 (iphone/macosx) - webgl (intro)

Pre-requisites Good programming skills in C++ Basic Data Structures - Linked lists - Arrays Geometry Simple Linear Algebra

Resources Can run OpenGL on any system - Windows: check graphics card properties for level of OpenGL supported - Linux - Mac: 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

www.opengl.org - Standards documents - Sample code References 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

1.Chapter 1 (Intro) Lectures & Text Book Organization - What is Computer Graphics? - Applications Areas - History - Image formation - Basic Architecture 3.Chapters 3-5 (3D Graphics) - Geometry - Transformations - Homogeneous Coordinates - Viewing Part I : Jan -> Feb (upto midterm I) 2. Chapter 2 (Basic OpenGL) - Architecture - GLUT - Simple programs in two and three dimensions - Basic shaders and GLSL - Interaction 4.Chapter 10 (Curves and Surfaces) 5. Extra Material! - Quaternions (chap 3) - A-splines/B-splines (implicit vs parametric) - Fractals & L-systems (Turtle geometry) (chap 9)

Lectures & Text Book Organization Part II : March -> mid April (upto midterm II) 6. Chapter 5 (Illumination) - Display, Color - Lighting & Shading 7. Chapter 7,11 (Per-Pixel) - Buffers - Texture Mapping - Shader Applications - Compositing and Transparency - Bump Mapping - Global Illumination (Radiosity) 8. Extra Material! - Sampling and Anti-Aliasing - Reflection, Refraction, Shadows (Ray Tracing)

Lectures & Text Book Organization Part III : mid April -> end (upto Final) 9. Chapter 6, 8 (Polygon Visibility) - Depth Sort, Painter s - BSP Trees 10. Extra Material! - Particle Systems (Chap 9) - Fast Neighborhood Data Structures - Physically Based Animation