Graphics Pipeline Bringing it all together. Implementation The goal of computer graphics is to take the data out of computer memory and put it up on the.

Slides:



Advertisements
Similar presentations
COMPUTER GRAPHICS SOFTWARE.
Advertisements

CS 4731: Computer Graphics Lecture 20: Raster Graphics Part 1 Emmanuel Agu.
Scan Conversion A. Samal. Scan Conversion Last step in the graphics pipeline Efficiency is a central issue Common primitives – Lines – Polygons – Circles.
CS 352: Computer Graphics Chapter 7: The Rendering Pipeline.
Understanding the graphics pipeline Lecture 2 Original Slides by: Suresh Venkatasubramanian Updates by Joseph Kider.
Graphics Pipeline.
Rasterization and Ray Tracing in Real-Time Applications (Games) Andrew Graff.
HCI 530 : Seminar (HCI) Damian Schofield.
(conventional Cartesian reference system)
CS6500 Adv. Computer Graphics © Chun-Fa Chang, Spring 2003 Adv. Computer Graphics CS6500, Spring 2003.
IN4151 Introduction 3D graphics 1 Introduction to 3D computer graphics part 2 Viewing pipeline Multi-processor implementation GPU architecture GPU algorithms.
Graphics Systems I-Chen Lin’s CG slides, Doug James’s CG slides Angel, Interactive Computer Graphics, Chap 1 Introduction to Graphics Pipeline.
The Graphics Pipeline CS2150 Anthony Jones. Introduction What is this lecture about? – The graphics pipeline as a whole – With examples from the video.
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.
Part I: Basics of Computer Graphics Rendering Polygonal Objects (Read Chapter 1 of Advanced Animation and Rendering Techniques) Chapter
GPU Graphics Processing Unit. Graphics Pipeline Scene Transformations Lighting & Shading ViewingTransformations Rasterization GPUs evolved as hardware.
REAL-TIME VOLUME GRAPHICS Christof Rezk Salama Computer Graphics and Multimedia Group, University of Siegen, Germany Eurographics 2006 Real-Time Volume.
Basic Graphics Concepts Day One CSCI 440. Terminology object - the thing being modeled image - view of object(s) on the screen frame buffer - memory that.
Programmable Pipelines. Objectives Introduce programmable pipelines ­Vertex shaders ­Fragment shaders Introduce shading languages ­Needed to describe.
1 Computer Graphics Week3 –Graphics & Image Processing.
Advanced Computer Graphics March 06, Grading Programming assignments Paper study and reports (flipped classroom) Final project No written exams.
Computer Graphics An Introduction. What’s this course all about? 06/10/2015 Lecture 1 2 We will cover… Graphics programming and algorithms Graphics data.
Chris Kerkhoff Matthew Sullivan 10/16/2009.  Shaders are simple programs that describe the traits of either a vertex or a pixel.  Shaders replace a.
CS 450: COMPUTER GRAPHICS REVIEW: INTRODUCTION TO COMPUTER GRAPHICS – PART 2 SPRING 2015 DR. MICHAEL J. REALE.
Week 2 - Friday.  What did we talk about last time?  Graphics rendering pipeline  Geometry Stage.
Graphics Systems and OpenGL. Business of Generating Images Images are made up of pixels.
CSC 461: Lecture 3 1 CSC461 Lecture 3: Models and Architectures  Objectives –Learn the basic design of a graphics system –Introduce pipeline architecture.
OpenGL Conclusions OpenGL Programming and Reference Guides, other sources CSCI 6360/4360.
CSE Real Time Rendering Week 2. Graphics Processing 2.
1 Introduction to Computer Graphics with WebGL Ed Angel Professor Emeritus of Computer Science Founding Director, Arts, Research, Technology and Science.
Computer Graphics The Rendering Pipeline - Review CO2409 Computer Graphics Week 15.
1Computer Graphics Lecture 4 - Models and Architectures John Shearer Culture Lab – space 2
CS662 Computer Graphics Game Technologies Jim X. Chen, Ph.D. Computer Science Department George Mason University.
Computer Graphics Chapter 6 Andreas Savva. 2 Interactive Graphics Graphics provides one of the most natural means of communicating with a computer. Interactive.
Advanced Computer Graphics Spring 2014 K. H. Ko School of Mechatronics Gwangju Institute of Science and Technology.
Review on Graphics Basics. Outline Polygon rendering pipeline Affine transformations Projective transformations Lighting and shading From vertices to.
What are shaders? In the field of computer graphics, a shader is a computer program that runs on the graphics processing unit(GPU) and is used to do shading.
The Graphics Pipeline Revisited Real Time Rendering Instructor: David Luebke.
1 E. Angel and D. Shreiner: Interactive Computer Graphics 6E © Addison-Wesley 2012 Models and Architectures 靜宜大學 資訊工程系 蔡奇偉 副教授 2012.
1 Introduction to Computer Graphics with WebGL Ed Angel Professor Emeritus of Computer Science Founding Director, Arts, Research, Technology and Science.
1 Chapter 1: Introduction to Graphics. 2 What is computer graphics.
Applications and Rendering pipeline
- Introduction - Graphics Pipeline
Photorealistic Rendering vs. Interactive 3D Graphics
Week 2 - Friday CS361.
Programmable Pipelines
Chapter 10 Computer Graphics
The Graphic PipeLine
A Crash Course on Programmable Graphics Hardware
Graphics on GPU © David Kirk/NVIDIA and Wen-mei W. Hwu,
Graphics Processing Unit
Lecture 18 Fasih ur Rehman
3D Graphics Rendering PPT By Ricardo Veguilla.
The Graphics Rendering Pipeline
CS451Real-time Rendering Pipeline
Real-time Computer Graphics Overview
Models and Architectures
Chapter 14 Shading Models.
Models and Architectures
Models and Architectures
Introduction to Computer Graphics with WebGL
Graphics Processing Unit
Introduction to Computer Graphics with WebGL
The Graphics Pipeline Lecture 5 Mon, Sep 3, 2007.
Chapter V Vertex Processing
Models and Architectures
Models and Architectures
03 | Creating, Texturing and Moving Objects
CIS 6930: Chip Multiprocessor: GPU Architecture and Programming
Presentation transcript:

Graphics Pipeline Bringing it all together

Implementation The goal of computer graphics is to take the data out of computer memory and put it up on the display in a suitable manner –Charts –Graphs –Still images –Video –Real-time animation

Implementation The method of implementation is the Graphics Pipeline –A sequence of operations that perform stepwise transformations of the data Vertex Processor Clipper & Primitive Assembler RasterizerFragment Processor Vertex List Display

Vertex List This is the internal (memory) representation of the scene The list represents a set of objects by their vertices and other attributes (color, texture, material, etc.) It comes from –A scene graph created by a modeler –Data generated by a program –Wherever You’ve seen this in your programs –I gave you a number of model files

Vertex Processor Two primary functions: –Transform object coordinates from model coordinate system to the scene (camera) coordinate system –Set the object’s color Per object shading Per triangle (polygon) shading Per vertex shading Note that the actual shading may not be done until rasterization

Vertex Processor Triangles (polygons) transformed from model coordinates Per Triangle shading Surface normals Per Vertex shading

Clipper & Primitive Assembler Removal of objects that are out of the field of view –Things that can’t be seen by the “camera” –Some objects are only partially out of the scene and therefore must have their primitives (triangles, polygons) truncated at viewing boundaries

Clipper & Primitive Assembler The view frustum

Rasterizer Convert the object primitives (triangles, polygons) to pixels suitable for placement on the display –Scan conversion of lines – Bresenham –Scan conversion of curves – Hermite/Bezier –Scan conversion of triangles (Gouraud, Phong shading) Utilizes the frame buffer (we used a Java BufferedImage object)

Fragment Processor Place the rasterized pixels in the frame buffer –Alpha blending for opaque/transparent objects –Hidden surface removal for object occlusion (by self and other objects) –Texture mapping (attach pictures to objects) –Bump mapping (rough up the surface of an object by manipulating its surface normals Note that this updates the pixels previously placed in the frame buffer

Fragment Processor Texture mapping Bump mapping

Technology The graphics pipeline is implemented in software or in hardware via a graphics processing unit (GPU) nVidia GeForce 6