Survey in Computer Graphics Computer Graphics and Visualization

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

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

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

Computer Graphics. Bing-Yu Chen National Taiwan University

Introduction to Computer Graphics with WebGL

INTRODUCTION. Slides modified from Angel book 6e

3D graphics, raster and colors CS312 Fall 2010

CSE4030 Introduction to Computer Graphics

Game Programming. Bing-Yu Chen National Taiwan University

VTU QUESTION PAPER SOLUTION UNIT -1 INTRODUCTION

Graphics Systems and Models

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

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

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

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

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

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 and Visualization. Graphics Systems and Models

CS452/552; EE465/505. Image Formation

Models and Architectures

Introduction to Computer Graphics with WebGL

Computer Graphics - Chapter 1 Graphics Systems and Models

CS451Real-time Rendering Pipeline

Computer Graphics Lecture 2

Introduction to Computer Graphics with WebGL

Visualisatie BMT. Rendering. Arjan Kok

Graphics for VEs. Ruth Aylett

Computer Graphics and Visualization. What is computer graphics?

Introduction to Computer Graphics with WebGL

Graphics for VEs. Ruth Aylett

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

Illumination and Shading

Graphics Hardware and Display Devices

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

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

Overview: Ray Tracing & The Perspective Projection Pipeline

3D Production Pipeline

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

OUTLINE. Learn the basic design of a graphics system Introduce pipeline architecture Examine software components for a graphics system

Computer Graphics. Chapter 1 (Related to Introduction to Computer Graphics Using Java 2D and 3D)

Animation & Rendering

Computer Graphics (CS 543) Lecture 10: Soft Shadows (Maps and Volumes), Normal and Bump Mapping

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

CS 464 Review. Review of Computer Graphics for Final Exam

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

CS 4620 Program 3: Pipeline

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

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

CS452/552; EE465/505. Color Display Issues

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

CHAPTER 1 Graphics Systems and Models 3

Spring 2009 Prof. Hyesoon Kim

Multimedia Technology CHAPTER 4. Video and Animation

Rasterization Overview

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

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

Development of Computer Graphics

Pipeline Operations. CS 4620 Lecture 10

3D Programming. 3D Programming Concepts. Outline. 3D Concepts. 3D Concepts -- Coordinate Systems. 3D Concepts Displaying 3D Models

CSC Graphics Programming. Budditha Hettige Department of Statistics and Computer Science

Computer Graphics. Hardware Pipeline. Visual Imaging in the Electronic Age Prof. Donald P. Greenberg October 13, 2016 Lecture 15

Graphics and Interaction Rendering pipeline & object modelling

CSC 8470 Computer Graphics. What is Computer Graphics?

CSE 167: Introduction to Computer Graphics Lecture #6: Colors. Jürgen P. Schulze, Ph.D. University of California, San Diego Fall Quarter 2013

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

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

OpenGl Pipeline. triangles, lines, points, images. Per-vertex ops. Primitive assembly. Texturing. Rasterization. Per-fragment ops.

Lecture 1 Image Formation.

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

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

Chapter 1 Introduction

CIS 581 Interactive Computer Graphics

Computer Graphics MTAT Raimond Tunnel

Computer Graphics. Hardware Pipeline. Visual Imaging in the Electronic Age Prof. Donald P. Greenberg October 23, 2014 Lecture 16

Spring 2011 Prof. Hyesoon Kim

Pipeline Operations. CS 4620 Lecture 14

CIS 441/541: Introduction to Computer Graphics Lecture 14: OpenGL Basics

The Viewing Pipeline Coordinate Systems

Course Title: Computer Graphics Course no: CSC209

Goals. Computer Graphics (Fall 2008) Course Outline. Course Outline. Course Outline. Demo: Surreal and Crazy World (HW 3)

OpenGL. Toolkits.

Principles of Computer Graphics. Lecture 3 1

CS452/552; EE465/505. Overview of Computer Graphics

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

Graphics Hardware. Instructor Stephen J. Guy

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

9. Illumination and Shading

Level of Details in Computer Rendering

Rendering and Radiosity. Introduction to Design Media Lecture 4 John Lee

Introduction to color science

Computer Graphics Fundamentals. Jon Macey

Ulf Assarsson Department of Computer Engineering Chalmers University of Technology

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

1.2 Basic Graphics Programming

COMP30019 Graphics and Interaction Rendering pipeline & object modelling

Lecture outline. COMP30019 Graphics and Interaction Rendering pipeline & object modelling. Introduction to modelling

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

Methodology for Lecture. Importance of Lighting. Outline. Shading Models. Brief primer on Color. Foundations of Computer Graphics (Spring 2010)

Transcription:

Example of a Marble Ball Where did this image come from? Fall 2010 What hardware/software/algorithms did we need to produce it? 2 A Basic Graphics System History of Computer Graphics 1200-2008 Input devices Image formed in FB Output device 3 4 Before 1960 Alexander Bain s Fax Machine 1200 Chinese Abacus 1450 Gutenberg 1826 Photography (Niepce) 1842 FAX (Alexander Bain) 1885 CRT 1888 Record Motion pic. on vax cylinder (Edison, Dickson) 1926 First television (J.L. Baird) 1946 ENIAC Computer 1954 Fortran 1958 Integrated circuit (IC, or Chip) Bain s fax machine used a detector to scan an image. As the detector passed over the page it emitted an electrical signal which registered at one strength as it passed through the image s black points and at a different strength as it passed over white points. The two distinct signals were transmitted over telegraph wires to a receiver which applied them to chemically treated paper to reproduce the image. 5 6

CRT 1960-1969 Can be used as line-drawing device (calligraphic) or to display contents of frame buffer (raster mode). 1961 Spacewars, 1st Videogame 1963 DEC-1 First comersial CAD system 1963-1969 Hidden line, Warnock, Watkins alg., lineclippng 1969 UNIX developed 1969 GUI developed by Xerox (Alan Kay) 7 8 Spacewars 1960-1969 Wireframe graphics Draw only lines Display s Storage tube 9 10 Display 1970-1979 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 1972 Atari founded 1973,1975 z-buffer, phong shading 1975 Microsoft founded 1976 Apple founded 1977 Death Star simulation for Star Wars 11 12

1970-1979 Raster Graphics Raster Graphics Beginning of graphics standards Workstations and PCs Image produced as an array (the raster) of picture elements (pixels) in the frame buffer Allows us to go from lines and wire frame images to filled polygons 13 14 1980-1989 1980-1989 1980 Donkey Kong introduced by Nintendo 1980 Hanna-Barbera, comp. automation of anim. process 1982 Silicon Graphics Inc, Sun microsystems, Adobe 1984 Macintosh 1985 Pixar Image Computer goes to market 1986-1987 TIFF, GIF 1987 VGA 1988 Willow (Lucasfilm) morphing, Who Framed Roger Rabbit 1989 Photoshop Realism comes to computer graphics Smooth Shading Environment Mapping Bump Mapping 15 16 1991-1999 1991-1999 1991 World Wide Web (CERN) 1991 Terminator 2 1991 JPEG/MPEG 1992 OpenGL 1993 Doom, Myst 1994 Linux 1.0 1995 Toy Story 1995 Java 1996 Quake 1998 MPEG-4 1991: February (premiere) issue of DV magazine advises "[to be able to do digital video, get] the most souped up system you can get your hands on. A fast processor (68040 on Amiga or Mac, 80486 on PC) and lots of RAM (8-64 MB) are in order. So is a large hard drive (200 MB - 1 GB) if you want to take on serious production." OpenGL API Completely computer-generated feature-length movies (Toy Story) are successful New hardware capabilities 17 18

2000- Photorealism Graphics cards for PCs dominate market Nvidia, ATI Game boxes and game players determine direction of market Computer graphics routine in movie industry: Maya, Lightwave Programmable pipelines 3-D reenters animations Image Formation 19 20 Image Formation Elements of 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 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) 21 22 Light Luminance and Color Images Luminance Image 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 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! 23 24

Three-Color Theory Additive and Subtractive Color 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 three primary colors Additive color Form a color by adding amounts of three primaries LCDs, projection systems, positive film Primaries are Red (R), Green (G), Blue (B) Subtractive color Form a color by filtering white light with ccyan (C), Magenta (M), and Yellow (Y) filters Light-material interactions Printing Negative film 25 26 Synthetic Camera Model Pinhole Camera Use trigonometry to find projection of point at (x,y,z) 27 28 x p = x y/d y p = y x/d z = d Advantages Global vs Local Lighting Separation of objects, viewer, light sources Two-dimensional graphics is a special case of three-dimensional graphics Leads to simple software API Specify objects, lights, camera, attributes Let implementation determine image Leads to fast hardware implementation In Local Lighting we compute color or shade of each object independently But! Some objects are blocked from light. Light can reflect from object to object. Some objects might be translucent. 29 30

Pipeline Architecture Process objects one at a time in the order they are generated by the application All steps can be implemented in hardware on the graphics card Processing Much of the work in the pipeline is in converting object representations from one coordinate system to another Object coordinates Camera (eye) coordinates Screen coordinates Every change of coordinates is equivalent to a matrix transformation processor also computes vertex colors 31 32 Clipping and Primitive Assembly Rasterization must be collected into geometric objects before clipping and rasterization can take place Objects that are not within this volume are clipped out of the scene If an object is not clipped out, the appropriate pixels in the frame buffer must be assigned colors produces a set of fragments for each object s are potential pixel Have a location in frame buffer Color and depth attributes attributes are interpolated over objects by the rasterizer 33 34 Processing The Programmer s Interface s are processed to determine the color of the corresponding pixel in the frame buffer Colors can be determined by texture mapping or interpolation of vertex colors s may be blocked by other fragments closer to the camera (Hidden-surface removal) Objects Points (0D) Line segments (1D) Polygons (2D) Some curves and surfaces All are defined through locations in space or vertices Viewer (Camera) Light Source(s) Point sources vs distributed sources Spot lights Near and far sources Color properties Materials Color properties Diffuse or specular 35 36