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.

Slides:



Advertisements
Similar presentations
Computer Graphics An Introduction. What’s this course all about? 05/10/2014 Lecture 1 2 We will cover… Graphics programming and algorithms Graphics data.
Advertisements

Graphics Pipeline.
3D Graphics Rendering and Terrain Modeling
Computer Graphics Inf4/MSc Computer Graphics Lecture 13 Illumination I – Local Models.
 Engineering Graphics & Introductory Design 3D Graphics and Rendering REU Modeling Course – June 13 th 2014.
HCI 530 : Seminar (HCI) Damian Schofield.
IMGD 1001: Illumination by Mark Claypool
Computer Graphics (Fall 2005) COMS 4160, Lecture 16: Illumination and Shading 1
(conventional Cartesian reference system)
X86 and 3D graphics. Quick Intro to 3D Graphics Glossary: –Vertex – point in 3D space –Triangle – 3 connected vertices –Object – list of triangles that.
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.
6.1 Vis_04 Data Visualization Lecture 6 - A Rough Guide to Rendering.
1 Angel: Interactive Computer Graphics 4E © Addison-Wesley 2005 Models and Architectures Ed Angel Professor of Computer Science, Electrical and Computer.
Coordinate Systems X Y Z (conventional Cartesian reference system) X Y Z.
Part I: Basics of Computer Graphics Rendering Polygonal Objects (Read Chapter 1 of Advanced Animation and Rendering Techniques) Chapter
Computer Graphics Inf4/MSc Computer Graphics Lecture 11 Texture Mapping.
Computer Graphics Shadows
MULTIMEDIA TECHNOLOGY SMM 3001 MEDIA - GRAPHICS. In this chapter how the computer creates, stores, and displays graphic images how the computer creates,
Computer Graphics Mirror and Shadows
Cornell CS465 Fall 2004 Lecture 1© 2004 Steve Marschner 1 CS465: Computer Graphics I Professor: Steve Marschner.
Computer Graphics An Introduction. Computer Graphics 26/9/2008Lecture 12 What’s this course all about? We will cover… Graphics programming and algorithms.
1 Chapter 1: Graphics Systems and Models. 2 Applications of C. G. – 1/4 Display of information Maps GIS (geographic information system) CT (computer tomography)
Computer Graphics Inf4/MSc Computer Graphics Lecture 9 Antialiasing, Texture Mapping.
Technology and Historical Overview. Introduction to 3d Computer Graphics  3D computer graphics is the science, study, and method of projecting a mathematical.
1 Computer Graphics Week3 –Graphics & Image Processing.
Computer Graphics Computer Graphics is everywhere: Visual system is most important sense: High bandwidth Natural communication Fast developments in Hardware.
3D Programming Concepts How objects are described in 3D and Rendering Pipelines – A conceptual way of thinking of the steps involved of converting an abstract.
Computer Graphics. Requirements Prerequisites Prerequisites CS 255 : Data Structures CS 255 : Data Structures Math 253 Math 253 Experience with C Programming.
Shading & Texture. Shading Flat Shading The process of assigning colors to pixels. Smooth Shading Gouraud ShadingPhong Shading Shading.
C O M P U T E R G R A P H I C S Guoying Zhao 1 / 14 C O M P U T E R G R A P H I C S Guoying Zhao 1 / 14 Going-through.
CS447/ Realistic Rendering -- Radiosity Methods-- Introduction to 2D and 3D Computer Graphics.
CSC 461: Lecture 3 1 CSC461 Lecture 3: Models and Architectures  Objectives –Learn the basic design of a graphics system –Introduce pipeline architecture.
Rendering Overview CSE 3541 Matt Boggus. Rendering Algorithmically generating a 2D image from 3D models Raster graphics.
1 Introduction to Computer Graphics with WebGL Ed Angel Professor Emeritus of Computer Science Founding Director, Arts, Research, Technology and Science.
1Computer Graphics Lecture 4 - Models and Architectures John Shearer Culture Lab – space 2
Advanced Computer Graphics Advanced Shaders CO2409 Computer Graphics Week 16.
Programming 3D Applications CE Displaying Computer Graphics Week 3 Lecture 5 Bob Hobbs Faculty of Computing, Engineering and Technology Staffordshire.
Computer Graphics Chapter 6 Andreas Savva. 2 Interactive Graphics Graphics provides one of the most natural means of communicating with a computer. Interactive.
1 Perception and VR MONT 104S, Fall 2008 Lecture 21 More Graphics for VR.
Advanced Computer Graphics Spring 2014 K. H. Ko School of Mechatronics Gwangju Institute of Science and Technology.
CS 325 Introduction to Computer Graphics 03 / 29 / 2010 Instructor: Michael Eckmann.
Lecture 6 Rasterisation, Antialiasing, Texture Mapping,
Subject Name: Computer Graphics Subject Code: Textbook: “Computer Graphics”, C Version By Hearn and Baker Credits: 6 1.
11/5/2002 (c) University of Wisconsin, CS 559 Last Time Local Shading –Diffuse term –Specular term –All together –OpenGL brief overview.
Where We Stand So far we know how to: –Transform between spaces –Rasterize –Decide what’s in front Next –Deciding its intensity and color.
Render methods. Contents Levels of rendering Wireframe Plain shadow Gouraud Phong Comparison Gouraud-Phong.
Computer Graphics One of the central components of three-dimensional graphics has been a basic system that renders objects represented by a set of polygons.
Chapter 1 Graphics Systems and Models Models and Architectures.
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
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.
- Introduction - Graphics Pipeline
Computer Graphics.
3D Graphics Rendering PPT By Ricardo Veguilla.
Computer Graphics : Introduction
The Graphics Rendering Pipeline
CS451Real-time Rendering Pipeline
Chapter 10: Computer Graphics
Real-time Computer Graphics Overview
Interactive Computer Graphics
Models and Architectures
Chapter 14 Shading Models.
Computer Graphics One of the central components of three-dimensional graphics has been a basic system that renders objects represented by a set of polygons.
Texture Mapping 고려대학교 컴퓨터 그래픽스 연구실.
Chapter 14 Shading Models.
Adding Surface Detail 고려대학교 컴퓨터 그래픽스 연구실.
Adding Surface Detail 고려대학교 컴퓨터 그래픽스 연구실.
Presentation transcript:

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 structures Colour Applied geometry, modelling and rendering

Computer Graphics is about animation (films)‏ 06/10/2015 Lecture 1 3 Major driving force now

Games are very important in Computer Graphics 06/10/2015 Lecture 1 4

Medical Imaging is another driving force 06/10/2015 Lecture 1 5

Computer Aided Design too 06/10/2015 Lecture 1 6

Scientific Visualisation 06/10/2015 Lecture 1 7 To view below and above our visual range

Overview of the Course Graphics Pipeline (Today)‏ Modelling – Surface / Curve modelling (Local lighting effects) Illumination, lighting, shading, mirroring, shadowing Rasterization (creating the image using the 3D scene) Ray tracing Global illumination Curves and Surfaces 06/10/2015 Lecture 1 8

Graphics/Rendering Pipeline Graphics processes generally execute sequentially Pipelining the process means dividing it into stages Especially when rendering in real-time, different hardware resources are assigned for each stage 06/10/2015 Lecture 1 9

Graphics / Rendering Pipeline There are three stages – Application Stage – Geometry Stage – Rasterization Stage 06/10/2015 Lecture 1 10

Application stage Entirely done in software by the CPU Read Data – the world geometry database, – User’s input by mice, trackballs, trackers, or sensing gloves In response to the user’s input, the application stage change the view or scene 06/10/2015 Lecture 1 11

Geometry Stage 06/10/2015 Lecture 1 12 Model Transformation Modeling: shapes Shading: reflection and lighting Transformation: viewing Hidden Surface Elimination Rasterization Stage

06/10/2015 Lecture 1 13 Rasterization and SamplingTexture Mapping Image Composition Intensity and Colour Quantization Geometry Stage Framebuffer/Display

An example thro’ the pipeline… 06/10/2015 Lecture 1 14 The scene we are trying to represent: Images courtesy of Picture Inc.

Geometry Pipeline 06/10/2015 Lecture 1 15 Model TransformationLoaded 3D Models Shading: reflection and lighting Transformation: viewing Hidden Surface Elimination Imaging Pipeline

Preparing Shape Models 06/10/2015 Lecture 1 16 Designed by polygons, parametric curves/surfaces, implicit surfaces and etc. Defined in its own coordinate system

Model Transformation 06/10/2015 Lecture 1 17 Objects put into the scene by applying translation, scaling and rotation Linear transformation called homogeneous transformation is used The location of all the vertices are updated by this transformation

Perspective Projection 06/10/2015 Lecture 1 18 We want to create a picture of the scene viewed from the camera We apply a perspective transformation to convert the 3D coordinates to 2D coordinates of the screen Objects far away appear smaller, closer objects appear bigger

Hidden Surface Removal 06/10/2015 Lecture 1 19 Objects occluded by other objects must not be drawn

Shading 06/10/2015 Lecture 1 20 Now we need to decide the colour of each pixels taking into account the object’s colour, lighting condition and the camera position Object point light source

Shading : Constant Shading - Ambient 06/10/2015 Lecture 1 21 Objects colours by its own colour

Shading – Flat Shading 06/10/2015 Lecture 1 22 Objects coloured based on its own colour and the lighting condition One colour for one face

Gouraud shading, no specular highlights 06/10/2015 Lecture 1 23 Lighting calculation per vertex

Shapes by Polynomial Surfaces 06/10/2015 Lecture 1 24

Specular highlights added 06/10/2015 Lecture 1 25 Light perfectly reflected in a mirror-like way

Phong shading 06/10/2015 Lecture 1 26

Next, the Imaging Pipeline 06/10/2015 Lecture 1 27 Rasterization and SamplingTexture Mapping Image Composition Intensity and Colour Quantization Geometry Framebuffer/Display Pipeline

Rasterization Converts the vertex information output by the geometry pipeline into pixel information needed by the video display Aliasing: distortion artifacts produced when representing a high-resolution signal at a lower resolution. Anti-aliasing : technique to remove aliasing 06/10/2015 Lecture 1 28

Anti-aliasing 06/10/2015 Lecture 1 29 Aliased polygons (jagged edges)‏ Anti-aliased polygons

06/10/2015 Lecture 1 30 How is anti-aliasing done? Each pixel is subdivided (sub-sampled) in n regions, and each sub-pixel has a color; Compute the average color value

Texture mapping 06/10/2015 Lecture 1 31

Other covered topics: Reflections, shadows & Bump mapping 06/10/2015 Lecture 1 32

Other covered topics: Global Illumination 06/10/2015 Lecture 1 33

Polynomial Curves, Surfaces

Graphics Definitions Point – a location in space, 2D or 3D – sometimes denotes one pixel Line – straight path connecting two points – infinitesimal width, consistent density – beginning and end on points 06/10/2015 Lecture 1 35

Graphics Definitions Vertex – point in 3D Edge – line in 3D connecting two vertices Polygon/Face/Facet – arbitrary shape formed by connected vertices – fundamental unit of 3D computer graphics Mesh – set of connected polygons forming a surface (or object)‏ – : 06/10/2015 Lecture 1 36

Graphics Definitions Rendering : process of generating an image from the model Framebuffer : a video output device that drives a video display from a memory containing the color for every pixel 06/10/2015 Lecture 1 37

Summary The course is about algorithms, not applications Lots of mathematics Graphics execution is a pipelined approach Basic definitions presented Some support resources indicated 06/10/2015 Lecture 1 38