1 By Dr. Hany Elsalamony. 2 3  Computer graphics generally means creation, storage and manipulation of models and images  Such models come from diverse.

Slides:



Advertisements
Similar presentations
Real-Time Rendering 靜宜大學資工研究所 蔡奇偉副教授 2010©.
Advertisements

Computer Graphics- SCC 342
Fundamentals of Computer Graphics Part 1
Graphics Pipeline.
1 Lecture 2 Main components of graphical systems Graphical devices.
Graphics Systems I-Chen Lin’s CG slides, Doug James’s CG slides Angel, Interactive Computer Graphics, Chap 1 Introduction to Graphics Pipeline.
SWE 423: Multimedia Systems Chapter 4: Graphics and Images.
1 King ABDUL AZIZ University Faculty Of Computing and Information Technology CS 454 Computer graphicsIntroduction Dr. Eng. Farag Elnagahy
1 Angel: Interactive Computer Graphics 4E © Addison-Wesley 2005 Models and Architectures Ed Angel Professor of Computer Science, Electrical and Computer.
Ch 1 Intro to Graphics page 1CS 367 First Day Agenda Best course you have ever had (survey) Info Cards Name, , Nickname C / C++ experience, EOS experience.
Computer Graphics Hardware and Software Lecture Notes, CEng 477.
Computer Graphics/and Multimedia CMM472/CIT773 What is CG ?, History of CG, Course Overview.
IE433 CAD/CAM Computer Aided Design and Computer Aided Manufacturing Part-2 CAD Systems Industrial Engineering Department King Saud University.
1 Perception, Illusion and VR HNRS 299, Spring 2008 Lecture 19 Other Graphics Considerations Review.
Course Overview, Introduction to CG Glenn G. Chappell U. of Alaska Fairbanks CS 381 Lecture Notes Friday, September 5, 2003.
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)
B a c kn e x t h o m e CSCI 346 Chapter 1 Graphics Systems and Models.
C O M P U T E R G R A P H I C S Guoying Zhao 1 / 46 C O M P U T E R G R A P H I C S Guoying Zhao 1 / 46 Computer Graphics Introduction II.
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 10: Computer Graphics Computer Science: An Overview Tenth Edition.
Basics of a Computer Graphics System Introduction to Computer Graphics CSE 470/598 Arizona State University Dianne Hansford.
Computer Graphics/and Multimedia CMM472/CIT773 What is CG ?, History of CG, Course Overview.
Graphics System CSC 2141 Introduction to Computer Graphics.
ISC/GAM 4322 ISC 6310 Multimedia Development and Programming Unit 1 Graphics Systems and Models.
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.
Computer Graphics.
Chapter 1: Graphics Systems and Models Instructor: Shih-Shinh Huang 1.
Graphics Systems and Models Chapter 1. CS 480/680 2Chapter 1 -- Graphics Systems and Models Introduction: Introduction: Computer Graphics Computer Graphics.
CSC 461: Lecture 1 1 Lecture 1: Introduction Objectives Explore what computer graphics is about Survey some application areas Introduce a history of computer.
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.
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.
Graphics Systems and OpenGL. Business of Generating Images Images are made up of pixels.
COMPUTER GRAPHICS Hochiminh city University of Technology Faculty of Computer Science and Engineering CHAPTER 01: Graphics System.
CSC 461: Lecture 3 1 CSC461 Lecture 3: Models and Architectures  Objectives –Learn the basic design of a graphics system –Introduce pipeline architecture.
CS 480/680 Computer Graphics Image Formation Dr. Frederick C Harris, Jr.
1 Introduction to Computer Graphics with WebGL Ed Angel Professor Emeritus of Computer Science Founding Director, Arts, Research, Technology and Science.
1 Computer Graphics Week2 –Creating a Picture. Steps for creating a picture Creating a model Perform necessary transformation Lighting and rendering the.
1Computer Graphics Lecture 4 - Models and Architectures John Shearer Culture Lab – space 2
INT 840E Computer graphics Introduction & Graphic’s Architecture.
Institute for Visualization and Perception Research 1 © Copyright Haim Levkowitz Graphics Systems Overview Video display devices … Input devices.
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.
Review on Graphics Basics. Outline Polygon rendering pipeline Affine transformations Projective transformations Lighting and shading From vertices to.
Subject Name: Computer Graphics Subject Code: Textbook: “Computer Graphics”, C Version By Hearn and Baker Credits: 6 1.
Overview of Graphics System
1 Computer Graphics Week1 -Introduction. Computer graphics History Computer graphics generally means creation, storage and manipulation of models and.
1 Angel: Interactive Computer Graphics5E © Addison- Wesley 2009 Image Formation Fundamental imaging notions Fundamental imaging notions Physical basis.
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)
1 Perception and VR MONT 104S, Fall 2008 Lecture 20 Computer Graphics and VR.
Chapter 1 Graphics Systems and Models Models and Architectures.
1 E. Angel and D. Shreiner: Interactive Computer Graphics 6E © Addison-Wesley 2012 Models and Architectures 靜宜大學 資訊工程系 蔡奇偉 副教授 2012.
Mohammed AM Dwikat CIS Department Digital Image.
Graphics Graphics Korea University cgvr.korea.ac.kr Introduction to Computer Graphics 고려대학교 컴퓨터 그래픽스 연구실.
1 Chapter 1: Introduction to Graphics. 2 What is computer graphics.
COMP413: Computer Graphics Overview of Graphics Systems Chapter 1.
Chapter 10: Computer Graphics
- Introduction - Graphics Pipeline
Graphics Programming CSC
CS451Real-time Rendering Pipeline
Understanding Theory and application of 3D
Models and Architectures
Models and Architectures
Models and Architectures
Introduction to Computer Graphics with WebGL
Introduction to Computer Graphics
Models and Architectures
Models and Architectures
Chapter 2 Overview of Graphics Systems
Presentation transcript:

1 By Dr. Hany Elsalamony

2

3  Computer graphics generally means creation, storage and manipulation of models and images  Such models come from diverse and expanding set of fields including physical, mathematical, artistic, biological, and even conceptual (abstract) structures Frame from animation by William Latham, shown at SIGGRAPH Latham uses rules that govern patterns of natural forms to create his artwork. By Dr. Hany Elsalamony

 Examples: OpenGL™, DirectX™, Windows Presentation Foundation™ (WPF), RenderMan™  Primitives (chars, lines, polygons, meshes,…)  Attributes color line style material properties for 3D  Lights  Transformations  Immediate mode vs. retained mode immediate mode: no stored representation, package holds only attribute state, and application must completely draw each frame retained mode: library compiles and displays from scene graph that it maintains, a complex DAG. It is a display-centered extract of the Application Model 4 By Dr. Hany Elsalamony

5

6

 Computer graphics – process of producing a picture or image using the computer  Computer interfaces popular on personal computers  Desktop publishing  Realistic images generated using mathematical and physical methods 7 By Dr. Hany Elsalamony

 Creating a model  Perform necessary transformation  Lighting and rendering the object  The goal is the creation of an image by writing a program instead of taking a picture with a camera  There exists an analogy between writing graphical programs and taking pictures by a camera 8 By Dr. Hany Elsalamony

 Pixel or “Picture element” is the simplest element in computer graphics  Single location on the computer screen or printout  Value of each pixel is the range from white to black or range of intensities of red, green, blue (RGB) colors. 9 By Dr. Hany Elsalamony

 The pixels of an image are organized into two dimensional grid – frame buffer  Multiple frame buffers can be stored in computer memory  Double buffering – first image is drawn into frame buffer and sent to display. While the user is looking on the display, the next picture is drawing to the second buffer. 10 By Dr. Hany Elsalamony

 Image don’t fill the entire screen but is drawn into a window  Pixels are adressed within the window based on their location  Relative position of each pixel enables moving the window and change its size 11 By Dr. Hany Elsalamony

 Calculating pixel values to create impression of a realistic picture  Simulation of objects from the real word  Approximation of physical properties of objects  Limitations given by computing time and memory space 12 By Dr. Hany Elsalamony

 Modeling – creates an internal representation of the objects in the scene  Rendering – converts the screen description into image  Display – shows the image on the output device 13 By Dr. Hany Elsalamony

Object Specification Model Transformation Scene Description Model Transformation View and Light Specification Clipping and Hidden Surface Removal Shading Image 14 By Dr. Hany Elsalamony

Display Transformation Image Output 15 By Dr. Hany Elsalamony

1. Display of information 2. Design 3. Simulation and animation 4. User interfaces 16 By Dr. Hany Elsalamony

 Display of information Maps GIS (geographic information system) CT (computer tomography) MRI (magnetic resonance imaging) PET (positron-emission tomography) Fluid flow, molecular biology, mathematics… 17 By Dr. Hany Elsalamony

18 By Dr. Hany Elsalamony

 Design CAD (computer-aided design): VLSI (very-large-scale integrated) circuits Together with other tools: architecture or interior design 19 By Dr. Hany Elsalamony

20 By Dr. Hany Elsalamony

 Simulation and animation Flight simulation – pilot training Games and educational software Benefits:  Less cost  Less danger, e.g. combination with the VR (virtual reality) techniques can help surgical interns and astronauts 21 By Dr. Hany Elsalamony

 User interfaces Friendly working environment: windows, icons, menus, pointing devices 22 Interface for a painting program By Dr. Hany Elsalamony

23 Specifications of the functions in the graphics library The OpenGL graphics system is an Application Programming Interface (API) to graphics hardware. By Dr. Hany Elsalamony

24  Objects  Viewers  Light sources  Material properties By Dr. Hany Elsalamony

25  Position (COP)  Orientation  Focal length  Film plane By Dr. Hany Elsalamony

26  Wireframe  Flat shading HSR (Hidden surface removal)  Smooth shading  Curves and surfaces NURBS, Bezier curves/surfaces  Texture mapping Bump mapping, environmental maps, antialiasing… By Dr. Hany Elsalamony

27 By Dr. Hany Elsalamony

28 By Dr. Hany Elsalamony

29  High-end systems: VRAM or DRAM  Simpler systems: part of memory  Depth: the number of bits per pixel  True color: depth=24  Resolution: the number of pixels in the frame buffer By Dr. Hany Elsalamony

30  Conversion of geometric entities to pixels in the frame buffer High-end systems  Special-purpose processors Simpler systems  A single and shared processor By Dr. Hany Elsalamony

31 CRT (Cathode-ray tube) By Dr. Hany Elsalamony

32  CRT Refresh: at least 50 times per second Interlace and non-interlace systems Color CRTs have three colored phosphors and a shadow mask  Other raster devices: LCD (liquid-crystal displays) Plasma panels and digital projection systems Non-refreshable: printers and plotters By Dr. Hany Elsalamony

33 By Dr. Hany Elsalamony

34  Mouse Joystick Data tablet Anything else? Hand Foot Voice Mind? By Dr. Hany Elsalamony

 Image formation Lighting Shading Properties of materials 35 By Dr. Hany Elsalamony

 Object: formed from geometric primitives Points, lines, polygons Vertex (pl. Vertices) is the most primitive one  Viewer: Locations Viewing angles 36 By Dr. Hany Elsalamony

37 By Dr. Hany Elsalamony

38 3D world  2D image By Dr. Hany Elsalamony

39 By Dr. Hany Elsalamony

40 Synthetic-camera Model Film Plane Projection Plane By Dr. Hany Elsalamony

41 By Dr. Hany Elsalamony

42 Penetrating transparent surfaces Reflected by Mirrors Diffuse surfaces Refracted Absorbed By Dr. Hany Elsalamony

43 Visual system does not have the same response to each color. We are most sensitive to green light By Dr. Hany Elsalamony

44 By Dr. Hany Elsalamony

45  (x p, y p, -d) is the projection of (x, y, z) By Dr. Hany Elsalamony

46 Bellows Camera Projector By Dr. Hany Elsalamony

47 COP(Center of Projection) Focal Length By Dr. Hany Elsalamony

48 Film Plane Projection Plane By Dr. Hany Elsalamony

49 Clipping Window By Dr. Hany Elsalamony

 Wireframe  Flat shading HSR (Hidden surface removal)  Smooth shading  Curves and surfaces NURBS, Bezier curves/surfaces  Texture mapping Bump mapping, environmental maps, antialiasing… 50 By Dr. Hany Elsalamony

51 By Dr. Hany Elsalamony

52 By Dr. Hany Elsalamony

53 By Dr. Hany Elsalamony

54 By Dr. Hany Elsalamony

55 By Dr. Hany Elsalamony

56 By Dr. Hany Elsalamony

57 By Dr. Hany Elsalamony

58 Example: Scene graph By Dr. Hany Elsalamony

59 Early graphics system Compute line segments Draw line segments Very high rate to avoid flickering By Dr. Hany Elsalamony

60 Display-processor architecture By Dr. Hany Elsalamony

61 Arithmetic pipeline: doubling the throughput! Pipeline Architecture: Geometric pipeline By Dr. Hany Elsalamony

62 Arithmetic pipeline: doubling the throughput! Pipeline Architecture: Geometric pipeline By Dr. Hany Elsalamony

 Transformation Conversion between coordinate systems Translation, rotation, scaling Aggregate transforms by matrix multiplications  Clipping Could be further pipelined 63 By Dr. Hany Elsalamony

 Projection Remaining 3D objects are projected into 2D objects Parallel or perspective projections  Rasterization Convert 2D objects into pixels 64 By Dr. Hany Elsalamony

65  Latency  Throughput: How fast we can move geometric entities through the pipeline How many pixels per second we can alter in the frame buffer  Pipeline architecture is not a must Ray tracing or radiosity  for better quality By Dr. Hany Elsalamony

66  Application of computer graphics  A graphics system  Human visual system  Pinhole and synthetic camera models  Image formation  Geometric pipeline  Realistic images may require resolution of up to 4000  6000 By Dr. Hany Elsalamony