3D Computer Graphics in a Nutshell Guillaume Caumon, January 2002.

Slides:



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

COMPUTER GRAPHICS SOFTWARE.
CS 4731: Computer Graphics Lecture 20: Raster Graphics Part 1 Emmanuel Agu.
Polygon Rendering Flat Rendering Goraud Rendering Uses Phong Reflectance Phong Rendering.
Graphics Pipeline.
RealityEngine Graphics Kurt Akeley Silicon Graphics Computer Systems.
3D Graphics Rendering and Terrain Modeling
Lecture 6: 3D Rendering Pipeline (III) Prof. Hsien-Hsin Sean Lee School of Electrical and Computer Engineering Georgia Institute of Technology.
Real-Time Rendering TEXTURING Lecture 02 Marina Gavrilova.
CGDD 4003 THE MASSIVE FIELD OF COMPUTER GRAPHICS.
IN4151 Introduction 3D graphics 1 Introduction 3D Computer Graphics part 1 Projective display Viewing pipeline Graphics hardware Image-based rendering.
(conventional Cartesian reference system)
IN4151 Introduction 3D graphics 1 Introduction to 3D computer graphics part 2 Viewing pipeline Multi-processor implementation GPU architecture GPU algorithms.
Status – Week 277 Victor Moya.
7M836 Animation & Rendering
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.
Game Engine Design ITCS 4010/5010 Spring 2006 Kalpathi Subramanian Department of Computer Science UNC Charlotte.
Introduction to OpenGL. What is OpenGL OpenGL is a low-level software interface to graphics hardware No commands for performing windowing tasks or obtaining.
Computer Graphics Introduction
Computer graphics & visualization Introduction. computer graphics & visualization Image Synthesis – WS 07/08 Dr. Jens Krüger – Computer Graphics and Visualization.
Under the Hood: 3D Pipeline. Motherboard & Chipset PCI Express x16.
1 Perception, Illusion and VR HNRS 299, Spring 2008 Lecture 19 Other Graphics Considerations Review.
REAL-TIME VOLUME GRAPHICS Christof Rezk Salama Computer Graphics and Multimedia Group, University of Siegen, Germany Eurographics 2006 Real-Time Volume.
Shading (introduction to rendering). Rendering  We know how to specify the geometry but how is the color calculated.
1 Perception and VR MONT 104S, Spring 2008 Lecture 22 Other Graphics Considerations Review.
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 10: Computer Graphics Computer Science: An Overview Tenth Edition.
University of Illinois at Chicago Electronic Visualization Laboratory (EVL) CS 426 Intro to 3D Computer Graphics © 2003, 2004, 2005 Jason Leigh Electronic.
Technology and Historical Overview. Introduction to 3d Computer Graphics  3D computer graphics is the science, study, and method of projecting a mathematical.
Chapter 10: Computer Graphics
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.
Real-Time Computer Graphics. Introduction Aims The aim of the module is to provide a good grounding in the main techniques and algorithms of real-time.
Computer Graphics. Requirements Prerequisites Prerequisites CS 255 : Data Structures CS 255 : Data Structures Math 253 Math 253 Experience with C Programming.
MIT EECS 6.837, Durand and Cutler Graphics Pipeline: Projective Transformations.
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.
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.
INTRODUCTION INTRODUCTION Computer Graphics: As objects: images generated and/or displayed by computers. As a subject: the science of studying how to generate.
OpenGL Conclusions OpenGL Programming and Reference Guides, other sources CSCI 6360/4360.
1 Introduction to Computer Graphics SEN Introduction to OpenGL Graphics Applications.
Computer Graphics I, Fall 2008 Introduction to Computer Graphics.
1 The Rendering Pipeline. CS788 Topic of HCI 2 Outline  Introduction  The Graphics Rendering Pipeline  Three functional stages  Example  Bottleneck.
COMPUTER GRAPHICS CSCI 375. What do I need to know?  Familiarity with  Trigonometry  Analytic geometry  Linear algebra  Data structures  OOP.
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.
Handle By, S.JENILA AP/IT
Visual Appearance Chapter 4 Tomas Akenine-Möller Department of Computer Engineering Chalmers University of Technology.
Computing & Information Sciences Kansas State University Lecture 12 of 42CIS 636/736: (Introduction to) Computer Graphics CIS 636/736 Computer Graphics.
CS559: Computer Graphics Final Review Li Zhang Spring 2010.
1 Perception and VR MONT 104S, Fall 2008 Lecture 20 Computer Graphics and VR.
The Graphics Pipeline Revisited Real Time Rendering Instructor: David Luebke.
Lecture 13: Raster Graphics and Scan Conversion
Graphics, Modeling, and Textures Computer Game Design and Development.
Computer Graphics Ken-Yi Lee National Taiwan University (the slides are adapted from Bing-Yi Chen and Yung-Yu Chuang)
Applications and Rendering pipeline
- Introduction - Graphics Pipeline
3D Graphics Rendering PPT By Ricardo Veguilla.
The Graphics Rendering Pipeline
CS451Real-time Rendering Pipeline
Chapter 10: Computer Graphics
Graphics, Modeling, and Textures
The Graphics Pipeline Lecture 5 Mon, Sep 3, 2007.
Texture Mapping 고려대학교 컴퓨터 그래픽스 연구실.
Type to enter a caption. Computer Graphics Week 1Lecture 1.
Adding Surface Detail 고려대학교 컴퓨터 그래픽스 연구실.
Adding Surface Detail 고려대학교 컴퓨터 그래픽스 연구실.
Presentation transcript:

3D Computer Graphics in a Nutshell Guillaume Caumon, January 2002

Introduction Computer graphics is concerned with all the aspects of “drawing” on computers Computer graphics is concerned with all the aspects of “drawing” on computers Performance is critical Performance is critical 3D Computer Graphics deals with the generation images from 3D objects. 3D Computer Graphics deals with the generation images from 3D objects.

The Rendering Pipeline ApplicationGeometryRasterization Pipeline = Linear succession of operations Rendering speed = speed of the slowest step (bottleneck)

Application Software-based processing / modifications 3D Model Renderingprimitives meshing decimation animation collision detection …

Geometry TransformsLightningProjectionClipping

Geometry : Transforms Model Coordinates World Coordinates Model Transform Scaling, etc. View Transform Viewing Coordinates

Geometry: lighting and shading Simulate interaction of light with matter: - Emission - Absorption - Reflection

Geometry: A Lightning Equation N L α β I R ( ) ν : r, g or b Ambient light coefficient Ex: (.1,.1,.1) Material color Ex: (1, 0, 0) Shininess (s > 1) Specular Coeficient Ex: (1, 1, 1)

Geometry: Shading Flat shading: each triangle has the same color Gouraud shading: colors are interpolated between vertices Phong shading: normal are interpolated and colors computed for each pixel

Geometry: Projection Virtual Device Coordinates Viewing Coordinates normalization Perspective/parallel

Geometry: Clipping

Geometry: Device Coordinates My Window Unit Cube

Rasterization Per-pixel operations: ray-tracing Screen = matrix Texturing Aliasing / antialiasing Scan conversion of lines: naive version Bresenham algorithm Scan conversion of polygons

Graphics Hardware Quickly evolving Main principle: use of buffers Color buffer : 1 byte per pixel (256) + lookup tables 2 bytes per pixel (65 536) “high color” 3+1 bytes per pixel bpp (16 millions) “true color” + alpha channel Depth buffer : 16 to 32 bit per pixel

Graphics Hardware (II) Double buffering : show the front buffer while rasterizing the back buffer show the front buffer while rasterizing the back buffer swap buffers in synchronization with the screen refresh swap buffers in synchronization with the screen refresh to get the new frame Stencil buffer : allows high-level operations (antialiasing, filtering, etc.) See OpenGL programmer’s reference for more details

Conclusion 3D Graphics require intensive computations Yet, 3D Graphics are time-critical Bottlenecks Display lists Only low-level graphics have been described. Scene Graphs Selection and tools } See OpenInventor, VTK, etc.

References and further reading Foley, van Dam, Feiner, Hughes, Computer Graphics Principle and practice, 2 nd edition. Addisson Wesley, 1997 Foley, van Dam, Feiner, Hughes, Computer Graphics Principle and practice, 2 nd edition. Addisson Wesley, 1997 Moller, Haines, Real-Time Rendering. AK Peters, 1999 ( Moller, Haines, Real-Time Rendering. AK Peters, 1999 ( The Graphic Gems series, Academic Press. The Graphic Gems series, Academic Press. Neider, Davis, Woo, OpenGL Programming Guide. Addisson Wesley, 1993 Neider, Davis, Woo, OpenGL Programming Guide. Addisson Wesley, 1993 Wernecke, The Inventor Mentor, release 2, Addisson Wesley,1994 Wernecke, The Inventor Mentor, release 2, Addisson Wesley,1994 Schroeder, Martin, Lorensen, The Visualization Toolkit, 2 nd edition. Prenctice Hall, 1998 Schroeder, Martin, Lorensen, The Visualization Toolkit, 2 nd edition. Prenctice Hall, 1998 Proceedings of Siggraph, Visualization, Eurographics, etc. Proceedings of Siggraph, Visualization, Eurographics, etc.