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

Similar documents
Computer Graphics Introduction. Taku Komura

Animation & Rendering

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

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

Binghamton University. EngiNet. Thomas J. Watson. School of Engineering and Applied Science. State University of New York. EngiNet WARNING CS 560

Course Title: Computer Graphics Course no: CSC209

EF432. Introduction to spagetti and meatballs

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

COM337 COMPUTER GRAPHICS Other Topics

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

COMP250: Computer Graphics

Lecturer Athanasios Nikolaidis

Topic 0. Introduction: What Is Computer Graphics? CSC 418/2504: Computer Graphics EF432. Today s Topics. What is Computer Graphics?

CS451Real-time Rendering Pipeline

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

Computer Graphics Fundamentals. Jon Macey

3D GRAPHICS. design. animate. render

Computer Graphics CS 543 Lecture 1 (Part I) Prof Emmanuel Agu. Computer Science Dept. Worcester Polytechnic Institute (WPI)

Development of Computer Graphics

EF432. Introduction to spagetti and meatballs

0. Introduction: What is Computer Graphics? 1. Basics of scan conversion (line drawing) 2. Representing 2D curves

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

COURSE DELIVERY PLAN - THEORY Page 1 of 6

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

CIS 581 Interactive Computer Graphics

CHAPTER 1 Graphics Systems and Models 3

TEACHING PLAN FAKULTI TEKNOLOGI MAKLUMAT DAN KOMUNIKASI UNIVERSITI TEKNIKAL MALAYSIA MELAKA

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

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

Development of Computer Graphics. mid 1950s SAGE air defense system command & control CRT, light pens

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

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

Hierarchical Models Josef Pelikán & Alexander Wilkie CGG MFF UK Praha

C P S C 314 S H A D E R S, O P E N G L, & J S RENDERING PIPELINE. Mikhail Bessmeltsev

CS230 : Computer Graphics Lecture 4. Tamar Shinar Computer Science & Engineering UC Riverside

CS GPU and GPGPU Programming Lecture 2: Introduction; GPU Architecture 1. Markus Hadwiger, KAUST

Lahore University of Management Sciences. CS 452 Computer Graphics

Computer Graphics I Lecture 11

Culling. Computer Graphics CSE 167 Lecture 12

Cornell CS4620 Fall 2011!Lecture Kavita Bala (with previous instructors James/Marschner) Cornell CS4620 Fall 2011!Lecture 1.

Models and Architectures

Welcome to CS 4/57101 Computer Graphics

Graphics Hardware and Display Devices

CS427 Multicore Architecture and Parallel Computing

Introduction to Computer Graphics with WebGL

Computer Graphics (CS 543) Lecture 1 (Part 1): Introduction to Computer Graphics

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

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

The Application Stage. The Game Loop, Resource Management and Renderer Design

CS 354R: Computer Game Technology

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

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

Rasterization Overview

CSE 167: Introduction to Computer Graphics Lecture #11: Visibility Culling

Pipeline Operations. CS 4620 Lecture 14

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

Pipeline Operations. CS 4620 Lecture 10

Computer Graphics. Bing-Yu Chen National Taiwan University

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

CS5620 Intro to Computer Graphics

Lecture 12: Advanced Rendering

Graphics and Interaction Rendering pipeline & object modelling

CSE4030 Introduction to Computer Graphics

INTRODUCTION. Computer Graphics

Today. Rendering pipeline. Rendering pipeline. Object vs. Image order. Rendering engine Rendering engine (jtrt) Computergrafik. Rendering pipeline

Chapter 1 Introduction

CSE 167: Introduction to Computer Graphics Lecture #4: Vertex Transformation

Computer Graphics. Shadows

Computer Graphics 1 Instructor Information. Books. Graphics? Course Goals and Outcomes. Where are computer graphics? Where are computer graphics?

03 Vector Graphics. Multimedia Systems. 2D and 3D Graphics, Transformations

Manipal Institute of Technology Manipal University Manipal

Topics and things to know about them:

The Rendering Pipeline (1)

Points and lines, Line drawing algorithms. Circle generating algorithms, Midpoint circle Parallel version of these algorithms

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

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

Chapter 4. Chapter 4. Computer Graphics 2006/2007 Chapter 4. Introduction to 3D 1

CS 464 Review. Review of Computer Graphics for Final Exam

CS Computer Graphics. Junqiao Zhao 赵君峤

CSE 167: Introduction to Computer Graphics Lecture #10: View Frustum Culling

Computer Graphics. Apurva A. Desai

Computer Graphics 1, Fall 2005

Motivation. Sampling and Reconstruction of Visual Appearance. Effects needed for Realism. Ray Tracing. Outline

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

Computer Graphics. Introduction. Prof. SHENG Bin, CS, SJTU

The Graphics Pipeline

Surface Rendering. Surface Rendering

Rendering Objects. Need to transform all geometry then

Books: 1) Computer Graphics, Principles & Practice, Second Edition in C JamesD. Foley, Andriesvan Dam, StevenK. Feiner, John F.

CSE528 Computer Graphics: Theory, Algorithms, and Applications

Computergrafik. Matthias Zwicker Universität Bern Herbst 2016

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

CSE528 Computer Graphics: Theory, Algorithms, and Applications

Computer Graphics. Anders Hast. måndag 25 mars 13

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

Effects needed for Realism. Ray Tracing. Ray Tracing: History. Outline. Foundations of Computer Graphics (Spring 2012)

3D Rasterization II COS 426

CS 450: COMPUTER GRAPHICS REVIEW: INTRODUCTION TO COMPUTER GRAPHICS SPRING 2016 DR. MICHAEL J. REALE

The Rendering Pipeline

S U N G - E U I YO O N, K A I S T R E N D E R I N G F R E E LY A VA I L A B L E O N T H E I N T E R N E T

Transcription:

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

1 Introduction 2 Basic math 3 2D transformations 4 3D transformations 5 Viewing 6 Primitives 7 Geometry 8 Shading 9 Splines 10 Texture 11 Hidden surfaces 12 Ray-tracing Donald Hearn, M. Pauline Baker, Warren Carithers. Computer Graphics with OpenGL, 4 th edition, Pearson Prentice Hall, paperback

Why computer graphics? Visual system offers: Parallel input Parallel processing Computer graphics: ideal for humancomputer communication

Applications Graphs and charts Computer-Aided Design Virtual Reality Data Visualization Education and training Computer Art Movies Games Graphical User Interfaces

Business graphics

Computer-Aided Design AutoDesk IAME 2-stroke race kart engine

Computer Aided Design 8

Scientific Visualisation To view below and above our visual range 9

expression Movies depth of field fracture water motion reflection hair

Hardware Fast development History Now: Graphics Processing Unit (GPU), LCD-screen

Generating graphics Special-purpose programs Photoshop, Powerpoint, AutoCAD, StudioMax, Maya, Blender, PovRay, General graphics libraries and standards Windows API, OpenGL, Direct3D,

Python modeller for POV-Ray

Blender

Beyond the laptop screen Microsoft Surface Apple ipad

Beyond the laptop screen Reality Deck Stony Brook University 416 2560 1440 27 monitors

Beyond the laptop screen Oculus Rift

CG standards Set of graphics functions, to be called from programming language Access to and abstract from hardware Standardization Fortran, Pascal, Display Input dev. C, C++, Java, Delphi, Display CG API Drivers 1975 2000 Input dev.

PHIGS -OpenGL Programmer's Hierarchical Interactive Graphics System) : an API standard for rendering 3D computer graphics, 3D graphics standard for the 1980s through the early 1990s., A combination of features : the rise of OpenGL the most popular professional 3D API of the mid to late 1990s.

Software standards GKS (Graphical Kernel System), PHIGS(Programmer's Hierarchical Interactive Graphics System), PHIGS+ (1980-) GL (Graphics Library, SGI) OpenGL (early 1990s) Direct3D (MS), Java3D, VRML,

OpenGL 3D (and 2D) Fast Hardware, language, OS, company independent OpenGL architecture review board Broad support Standard graphics terminology

Functions Graphics Output Primitives Line, polygon, sphere, Attributes Color, line width, texture, Geometric transformations Modeling, Viewing Shading and illumination Input functions

More info on OpenGL http://www.opengl.org, http://www.opengl.org/sdk/docs/man2/ The Red Book: http://www.glprogramming.com/red/ Many other web-sites

Schematic Model Display Image interaction User

Schematic Computer Graphics Model Image Pattern Recognition Image Processing

From model to image Model World View NDC Display Graphics pipeline Coordinates and transformations

From model to image Model World View NDC Display Cylinder: x 2 + y 2 = r 2 0 z h Local or modeling coordinates Geometric modeling

From model to image Model World View NDC Display Position cylinders in scene: World coordinates

From model to image Model World View NDC Display Look at cylinders, project on virtual screen Viewing coordinates Visible surfaces, shading

From model to image Model World View NDC Display Display: 1 Normalized Device Coordinates 0 1

From model to image Model World View NDC Display 0 1024 Display on screen: Device Coordinates 768 Interaction

Geometry Stage Modeling: shapes Model Transformation Transformation: viewing Hidden Surface Elimination Shading: reflection and lighting Rasterization Stage 32

Rasterization Stage Geometry Stage Rasterization and Sampling Texture Mapping Image Composition Intensity and Colour Quantization Framebuffer/Display

An example thro the pipeline The scene we are trying to represent: Images courtesy of Picture Inc.

Preparing Shape Models Designed by polygons, parametric curves/surfaces, implicit surfaces and etc. Defined in its own coordinate system

Model Transformation 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 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 Objects occluded by other objects must not be drawn

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

Anti-aliasing Aliased polygons (jagged edges) Anti-aliased polygons