The Viewing Pipeline Coordinate Systems
|
|
- Sara Hawkins
- 5 years ago
- Views:
Transcription
1 Overview Interactive Graphics System Model Graphics Pipeline Coordinate Systems Modeling Transforms Cameras and Viewing Transform Lighting and Shading Color Rendering Visible Surface Algorithms Rasterization Hardware 3D Model Model coords The Viewing Pipeline Display 3D World World Coords Rendering Lighting Specification Camera coords Viewing Transform Camera Specification Projection to 2D Screen coords 3D Clipping Clipping coords ITCS 6140/ Review: Computer Graphics ITCS 6140/ Review: Computer Graphics The Viewing Pipeline Coordinate Systems Model Coordinates World Coordinates Viewing (Camera, Eye) Coordinates Perspective/Image Coordinates Screen/Display Coordinates ITCS 6140/ Review: Computer Graphics ITCS 6140/ Review: Computer Graphics
2 Graphics Primitives Point Line, Polyline, Polygon, Rectangle Cubic Curves and Surfaces (Bezier, B-Spline, URBS) Circle, Ellipse Marker, Polymarker Text Texture (2D, 3D), Opacity Graphics Primitive Attributes Lines: style, width Markers: style, size Color (R,G,B or index into lookup table) Filled Primitives: style, pattern Text: style (font), size, origin ITCS 6140/ Review: Computer Graphics ITCS 6140/ Review: Computer Graphics Definition In 3D, point P (P x, P y, P z ) is transformed into Q(Q x, Q y, Q z ) as follows: Affine Transforms Most common in computer graphics. Permits a simple matrix representation Can be composed Q x Q y Q z = ap x + dp y + gp z + t x = bp x + ep y + hp z + t y = cp x + fp y + kp z + t z [ ] Qx Q y Q z = a d g b e h P x P y + t x ty c f k P z t z Q = M P + T Primitive Affine Transforms: Scaling, Rotation and Translation. It would be more convenient to absorb the translation into the matrix. ITCS 6140/ Review: Computer Graphics ITCS 6140/ Review: Computer Graphics
3 Homogeneous Coordinates A mathematical convenience that allows all 3 primitive transforms to use a matrix representation. Add a fourth coordinate, w, to each point and a column and row to each affine transform matrix. To convert from P H to P 2D, divide each coordinate by the w coordinate and discard the 3rd coordinate. w = 0 represents points at infinity. P H = (P x, P y, P z, P w ) P 3d = (P x /P w, P y /P w, P z /P w ) Translation Scale Modeling Transformations t x t T (t x, t y, t z ) = y t z s x s S(s x, s y, s z ) = y s z 0 ITCS 6140/ Review: Computer Graphics ITCS 6140/ Review: Computer Graphics Rotation R z (θ) = R x (θ) = R y (θ) = cosθ sinθ 0 0 sinθ cosθ cosθ sinθ 0 0 sinθ cosθ 0 cosθ 0 sinθ sinθ 0 cosθ 0 Cameras and 3D Viewing A mechanism for specifying the the viewer location, orientation and volume of the world that is of interest. A pin-hole camera model is assumed. Z Y V X U VIEWER (CAMERA) ITCS 6140/ Review: Computer Graphics ITCS 6140/ Review: Computer Graphics
4 Camera Parameters View Reference Point, Look At vector,. Up Vector, V. Vector U = V Window Camera (viewer) position. V RP. ear and Far clipping planes. These parameters specify a view volume (frustum) that is a truncated pyramid. Viewer View Volume Frontt Projection Planet The volume of 3D space that is projected and displayed. Back Volume defined by a 2D window on the projection plane and front and back clipping planes (hither/yon, near/far). View volume is specified in camera coordinates. View volume is a truncated frustum. ITCS 6140/ Review: Computer Graphics ITCS 6140/ Review: Computer Graphics Viewing Transform Y Viewing Transform Z P (x, y, z) (0, 0, 0) World Coordinates (Right Handed) Q (a, b, c) V X U (rx, ry, rz) Camera Coordinates (Left Handed) Object points in world coordinates are transformed into the camera coordinate system with The viewer at the origin. Look-at vector along the negative Z axis. The Up vector along the Y axis. The viewing transform is an affine transform, consisting of a rotation and translation, as follows: u x u y u z r x M wv = v x v y v z r y n x n y n z r z with r = ( r. U, r. V, r. ) ITCS 6140/ Review: Computer Graphics ITCS 6140/ Review: Computer Graphics
5 Geometric Projections Projection An operation that transforms points in -dimensional space to another of dimensionality less than n Geometric Projection Application to geometric coordinate systems (Cartesian, Polar, Spherical and Cylindric systems) Types of Projections Planar on-planar Application to Computer Graphics 1. Viewing 3D environments on a 2D screen. 2. Visualization of multi-variate data from scientific applications. ITCS 6140/ Review: Computer Graphics OBLIQUE Planar Projections PARALLEL AXOOMETRIC PLAAR ORTHOGRAPHIC ISOMETRIC DIMETRIC TRIMETRIC MULTI VIEW 1 pt PERSPECTIVE ITCS 6140/ Review: Computer Graphics 2 pt 3 pt Perspective Projection Parallel Projection Projectors are parallel to each other. Perspective Projectors converge to a point. Projectors converge to a point. All points on the same projector project to the same point, destroying depth information. Depth information must be carried along the pipeline for use in visible surface calculations. Perspective transformation effectively involves a division of the coordinates of each 3D point by its depth (from the view point). t P P 1 P(pu, pv, pn) P 2 E(eu, ev, en) Projection Plane at n = 0 ITCS 6140/ Review: Computer Graphics ITCS 6140/ Review: Computer Graphics
6 Perspective Transformation P(pu, pv, pn) E(eu, ev, en) t P P 1 P 2 Assuming p n = p n 1 p n /e n as a pseudo-depth, we can write P = (p u, p v, p n, 1 p n /e n ) Projection Plane at n = 0 If P = (p u, p v, p n ) is an object point, E = (e u, e v, e n ) is the camera position and P = (p u, p v, p n) is the projection point, assuming the projection plane contains the origin of the camera coordinate system, it can be shown that p u p u = 1 p n /e n p v p v = 1 p n /e n with = [p u, p v, p n, 1] M p M p = /e n ITCS 6140/ Review: Computer Graphics ITCS 6140/ Review: Computer Graphics Lighting and Shading The Rendering Equation where [ ] I(x, x ) = g(x, x ) ɛ(x, x ) + ρ(x, x, x )I(x, x )dx S I(x, x ) = Intensity of light passsing from x to x. g(x, x ) = Geometry term ɛ(x, x ) = Emitted light intensity from x to x. ρ(x, x, x ) = Light intensity scattered from x to x by a patch of surface at x. Approximations of the Rendering Equation The local lighting model, Ray Tracing Model, Radiosity and Distributed Ray Tracing can all be shown to be approximations of the rendering equation. ITCS 6140/ Review: Computer Graphics ITCS 6140/ Review: Computer Graphics
7 Local Lighting Model Consists of 3 components, ambient, diffuse and specular Ambient Reflection I a = k a I a I a is the ambient intensity, constant for all objects, and k a, the ambient reflection coefficient. Use to model illumination that arrive at object points through indirect sources, such as nearby objects through multiple reflections or scattering. Diffuse Reflection I d = I p k d cosθ = I p k d ( L) where is the unit normal to the surface and L, the vector (of unit length) to the light source, I p the light source intensity. We approximate diffuse reflection using Lambert s law. Intensity of light reflected is a constant, and independent of viewer position. ITCS 6140/ Review: Computer Graphics ITCS 6140/ Review: Computer Graphics Illumination Model Specular Reflection (Phong Model) Including ambient and diffuse reflections, the local lighting model becomes L θ θ α R V Cos ( α) 4 Cos α 64 Cos α α 90 α 90 α 90 I = I a + I d + I s I = k a I a + I p [k d ( L) + k s ( R V ) n ] Assuming a wavelength based distribution of light, the model becomes I s = k s cos n α = k s ( R V ) n I λ = I aλ k a + f att I pλ [k dλ cos( L) + k s λ( R V ) n ] If there are l light sources, in the environment then I λ = I aλ k a + l f atti I pλi [k d λcos( L i ) + k s λ( R i V ) n ] 1 ITCS 6140/ Review: Computer Graphics ITCS 6140/ Review: Computer Graphics
8 Rendering Algorithms Phong Shading Gouraud Shading a 4 1 A v y 1 y s y 2 3 I 2 Face ormals are averaged to obtain vertex normals. I a I 1 I p Vertex Intensities (I 1, I 2, I 3 ) are obtained by application of a lighting model. ITCS 6140/ Review: Computer Graphics 2 I b I 3 b Compute ormals at vertices of polygon. B Interpolate each component of normal at any interior point of polygon Apply illumination model. Can easily be incorporated into a scanline algorithm. ITCS 6140/ Review: Computer Graphics C c Visible Surface Algorithms Z (Depth) Buffer Algorithm (Catmull 74) A buffer of Z or depth values is maintained, one for each pixel, in addition to the frame buffer. During scan conversion, if primitive s depth is less (closer) than the existing value in the Z buffer, replace it and corresponding color (intensity) in the frame buffer. Each primitive is scanconverted once, independent of any other primitive and in any order. Z (depth) can be calculated from the polygon plane equation, or interpolated from depth at polygon vertices Algorithm: For each object primitive { For each pixel in projection { Z = primitive s depth value at pixel(x,y). if Z < Z BUF[x][y] { Write ZBUF (x, y, Z) Write Pixel (x, y, pixel color) } } } ITCS 6140/ Review: Computer Graphics ITCS 6140/ Review: Computer Graphics
9 Rasterization Scanline Polygon Fill Algorithm With some modifications and additional parameters, is used to scanconvert polygons along with the Z buffer algorithm Approach Exploit the geometry of the polygon. Use scanline and edge coherence for efficient filling. j E I I 0 1 I 2 C I3 Algorithm for each scanline { Calculate Intersections between scanline and all edges of the polygon. Sort Intersections on X. Fill pixels between pairs of intersection points. } D A B ITCS 6140/ Review: Computer Graphics ITCS 6140/ Review: Computer Graphics Color Models RGB Color Model Blue Cyan CMY Color Model Complement of the RGB model. Magenta Black (0,0,0) White (1, 1, 1) Green Uses subtractive primaries, Cyan, Magenta, Yellow. Application C M Y = R G B Red Yellow HardCopy Devices, such as ink jet color printers. Application Color CRT Monitors. ITCS 6140/ Review: Computer Graphics ITCS 6140/ Review: Computer Graphics
10 HSV Color Model green V yellow Display Architecture cyan white red blue magenta CPU Display Processor Peripheral Devices black H S System Bus Model defined in a cylindrical coordinate system. Colors are defined in a hexcone or six-sided pyramid. Based on the artist s model of tints, shades and tones. Hue is measured around the vertical axis. Saturation ranges from 0 on the centerline to 1 on the triangular sides. Value ranges from 0.0 (black) at the apex of the pyramid to 1.0 (white) at the base. ITCS 6140/ Review: Computer Graphics System Memory Frame Buffer Video Controller Display Video Controller reads the frame buffer through a special port. A single address space system. Memory contention is still a problem, but the flexibility of a single address space (for raster ops, for instance) outweighs this factor. ITCS 6140/ Review: Computer Graphics Graphics Processing Units (GPU) Modern graphics cards (vidia GEForce, ATI Radeon etc) are extremely powerful computing platforms for processing/shading large amounts of geometry Pipelined architecture Support for 3D textures (multitexturing, dependent texturing) May be used for general purpose computing Examples: Accelerated ray tracing, solving linear systems, fluid flow. ITCS 6140/ Review: Computer Graphics
Visualisatie BMT. Rendering. Arjan Kok
Visualisatie BMT Rendering Arjan Kok a.j.f.kok@tue.nl 1 Lecture overview Color Rendering Illumination 2 Visualization pipeline Raw Data Data Enrichment/Enhancement Derived Data Visualization Mapping Abstract
More information3D graphics, raster and colors CS312 Fall 2010
Computer Graphics 3D graphics, raster and colors CS312 Fall 2010 Shift in CG Application Markets 1989-2000 2000 1989 3D Graphics Object description 3D graphics model Visualization 2D projection that simulates
More informationModels and Architectures
Models and Architectures Objectives Learn the basic design of a graphics system Introduce graphics pipeline architecture Examine software components for an interactive graphics system 1 Image Formation
More informationCHAPTER 1 Graphics Systems and Models 3
?????? 1 CHAPTER 1 Graphics Systems and Models 3 1.1 Applications of Computer Graphics 4 1.1.1 Display of Information............. 4 1.1.2 Design.................... 5 1.1.3 Simulation and Animation...........
More informationIntroduction to Computer Graphics with WebGL
Introduction to Computer Graphics with WebGL Ed Angel Professor Emeritus of Computer Science Founding Director, Arts, Research, Technology and Science Laboratory University of New Mexico Models and Architectures
More informationSRM INSTITUTE OF SCIENCE AND TECHNOLOGY
SRM INSTITUTE OF SCIENCE AND TECHNOLOGY DEPARTMENT OF INFORMATION TECHNOLOGY QUESTION BANK SUB.NAME: COMPUTER GRAPHICS SUB.CODE: IT307 CLASS : III/IT UNIT-1 2-marks 1. What is the various applications
More informationGame Programming. Bing-Yu Chen National Taiwan University
Game Programming Bing-Yu Chen National Taiwan University What is Computer Graphics? Definition the pictorial synthesis of real or imaginary objects from their computer-based models descriptions OUTPUT
More informationModels and Architectures. Ed Angel Professor of Computer Science, Electrical and Computer Engineering, and Media Arts University of New Mexico
Models and Architectures Ed Angel Professor of Computer Science, Electrical and Computer Engineering, and Media Arts University of New Mexico 1 Objectives Learn the basic design of a graphics system Introduce
More informationComputer Graphics. Bing-Yu Chen National Taiwan University The University of Tokyo
Computer Graphics Bing-Yu Chen National Taiwan University The University of Tokyo Introduction The Graphics Process Color Models Triangle Meshes The Rendering Pipeline 1 What is Computer Graphics? modeling
More informationIllumination and Shading
Illumination and Shading Light sources emit intensity: assigns intensity to each wavelength of light Humans perceive as a colour - navy blue, light green, etc. Exeriments show that there are distinct I
More informationCS 464 Review. Review of Computer Graphics for Final Exam
CS 464 Review Review of Computer Graphics for Final Exam Goal: Draw 3D Scenes on Display Device 3D Scene Abstract Model Framebuffer Matrix of Screen Pixels In Computer Graphics: If it looks right then
More informationComputer Graphics I Lecture 11
15-462 Computer Graphics I Lecture 11 Midterm Review Assignment 3 Movie Midterm Review Midterm Preview February 26, 2002 Frank Pfenning Carnegie Mellon University http://www.cs.cmu.edu/~fp/courses/graphics/
More informationChapter 5. Projections and Rendering
Chapter 5 Projections and Rendering Topics: Perspective Projections The rendering pipeline In order to view manipulate and view a graphics object we must find ways of storing it a computer-compatible way.
More informationOXFORD ENGINEERING COLLEGE (NAAC Accredited with B Grade) DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING LIST OF QUESTIONS
OXFORD ENGINEERING COLLEGE (NAAC Accredited with B Grade) DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING LIST OF QUESTIONS YEAR/SEM.: III/V STAFF NAME: T.ELANGOVAN SUBJECT NAME: Computer Graphics SUB. CODE:
More informationComputer Science 426 Midterm 3/11/04, 1:30PM-2:50PM
NAME: Login name: Computer Science 46 Midterm 3//4, :3PM-:5PM This test is 5 questions, of equal weight. Do all of your work on these pages (use the back for scratch space), giving the answer in the space
More informationComputer Graphics. Instructor: Oren Kapah. Office Hours: T.B.A.
Computer Graphics Instructor: Oren Kapah (orenkapahbiu@gmail.com) Office Hours: T.B.A. The CG-IDC slides for this course were created by Toky & Hagit Hel-Or 1 CG-IDC 2 Exercise and Homework The exercise
More informationRasterization Overview
Rendering Overview The process of generating an image given a virtual camera objects light sources Various techniques rasterization (topic of this course) raytracing (topic of the course Advanced Computer
More informationGraphics Hardware and Display Devices
Graphics Hardware and Display Devices CSE328 Lectures Graphics/Visualization Hardware Many graphics/visualization algorithms can be implemented efficiently and inexpensively in hardware Facilitates interactive
More informationInteractive Computer Graphics A TOP-DOWN APPROACH WITH SHADER-BASED OPENGL
International Edition Interactive Computer Graphics A TOP-DOWN APPROACH WITH SHADER-BASED OPENGL Sixth Edition Edward Angel Dave Shreiner Interactive Computer Graphics: A Top-Down Approach with Shader-Based
More informationQUESTION BANK 10CS65 : COMPUTER GRAPHICS AND VISUALIZATION
QUESTION BANK 10CS65 : COMPUTER GRAPHICS AND VISUALIZATION INTRODUCTION OBJECTIVE: This chapter deals the applications of computer graphics and overview of graphics systems and imaging. UNIT I 1 With clear
More informationGraphics for VEs. Ruth Aylett
Graphics for VEs Ruth Aylett Overview VE Software Graphics for VEs The graphics pipeline Projections Lighting Shading VR software Two main types of software used: off-line authoring or modelling packages
More informationComputer Vision Systems. Viewing Systems Projections Illuminations Rendering Culling and Clipping Implementations
Computer Vision Systems Viewing Systems Projections Illuminations Rendering Culling and Clipping Implementations Viewing Systems Viewing Transformation Projective Transformation 2D Computer Graphics Devices
More informationChapter 2 A top-down approach - How to make shaded images?
Chapter 2 A top-down approach - How to make shaded images? Comp. Graphics (U), Chap 2 Global View 1 CGGM Lab., CS Dept., NCTU Jung Hong Chuang Graphics API vs. application API Graphics API Support rendering
More informationIntroduction Rasterization Z-buffering Shading. Graphics 2012/2013, 4th quarter. Lecture 09: graphics pipeline (rasterization and shading)
Lecture 9 Graphics pipeline (rasterization and shading) Graphics pipeline - part 1 (recap) Perspective projection by matrix multiplication: x pixel y pixel z canonical 1 x = M vpm per M cam y z 1 This
More informationRendering. Converting a 3D scene to a 2D image. Camera. Light. Rendering. View Plane
Rendering Pipeline Rendering Converting a 3D scene to a 2D image Rendering Light Camera 3D Model View Plane Rendering Converting a 3D scene to a 2D image Basic rendering tasks: Modeling: creating the world
More informationRASTERISED RENDERING
DH2323 DGI16 INTRODUCTION TO COMPUTER GRAPHICS AND INTERACTION RASTERISED RENDERING Christopher Peters HPCViz, KTH Royal Institute of Technology, Sweden chpeters@kth.se http://kth.academia.edu/christopheredwardpeters
More informationGraphics Pipeline. CS535 Fall Daniel G. Aliaga Department of Computer Science Purdue University
Graphics Pipeline CS535 Fall 2016 Daniel G. Aliaga Department of Computer Science Purdue University Ray-tracing Inverse mapping for every pixel construct a ray from the eye for every object in the scene
More informationCS130 : Computer Graphics Lecture 2: Graphics Pipeline. Tamar Shinar Computer Science & Engineering UC Riverside
CS130 : Computer Graphics Lecture 2: Graphics Pipeline Tamar Shinar Computer Science & Engineering UC Riverside Raster Devices and Images Raster Devices - raster displays show images as a rectangular array
More informationCHETTINAD COLLEGE OF ENGINEERING & TECHNOLOGY CS2401 COMPUTER GRAPHICS QUESTION BANK
CHETTINAD COLLEGE OF ENGINEERING & TECHNOLOGY DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING CS2401 COMPUTER GRAPHICS QUESTION BANK PART A UNIT I-2D PRIMITIVES 1. Define Computer graphics. 2. Define refresh
More informationCS2401 COMPUTER GRAPHICS ANNA UNIV QUESTION BANK
CS2401 Computer Graphics CS2401 COMPUTER GRAPHICS ANNA UNIV QUESTION BANK CS2401- COMPUTER GRAPHICS UNIT 1-2D PRIMITIVES 1. Define Computer Graphics. 2. Explain any 3 uses of computer graphics applications.
More informationIntroduction to Computer Graphics
Introduction to Computer Graphics James D. Foley Georgia Institute of Technology Andries van Dam Brown University Steven K. Feiner Columbia University John F. Hughes Brown University Richard L. Phillips
More informationGraphics for VEs. Ruth Aylett
Graphics for VEs Ruth Aylett Overview VE Software Graphics for VEs The graphics pipeline Projections Lighting Shading Runtime VR systems Two major parts: initialisation and update loop. Initialisation
More informationRendering. Illumination Model. Wireframe rendering simple, ambiguous Color filling flat without any 3D information
llumination Model Wireframe rendering simple, ambiguous Color filling flat without any 3D information Requires modeling interaction of light with the object/surface to have a different color (shade in
More informationTopics and things to know about them:
Practice Final CMSC 427 Distributed Tuesday, December 11, 2007 Review Session, Monday, December 17, 5:00pm, 4424 AV Williams Final: 10:30 AM Wednesday, December 19, 2007 General Guidelines: The final will
More informationModule Contact: Dr Stephen Laycock, CMP Copyright of the University of East Anglia Version 1
UNIVERSITY OF EAST ANGLIA School of Computing Sciences Main Series PG Examination 2013-14 COMPUTER GAMES DEVELOPMENT CMPSME27 Time allowed: 2 hours Answer any THREE questions. (40 marks each) Notes are
More informationOverview. Affine Transformations (2D and 3D) Coordinate System Transformations Vectors Rays and Intersections
Overview Affine Transformations (2D and 3D) Coordinate System Transformations Vectors Rays and Intersections ITCS 4120/5120 1 Mathematical Fundamentals Geometric Transformations A set of tools that aid
More informationLecture 1. Computer Graphics and Systems. Tuesday, January 15, 13
Lecture 1 Computer Graphics and Systems What is Computer Graphics? Image Formation Sun Object Figure from Ed Angel,D.Shreiner: Interactive Computer Graphics, 6 th Ed., 2012 Addison Wesley Computer Graphics
More information3D Rasterization II COS 426
3D Rasterization II COS 426 3D Rendering Pipeline (for direct illumination) 3D Primitives Modeling Transformation Lighting Viewing Transformation Projection Transformation Clipping Viewport Transformation
More informationFROM VERTICES TO FRAGMENTS. Lecture 5 Comp3080 Computer Graphics HKBU
FROM VERTICES TO FRAGMENTS Lecture 5 Comp3080 Computer Graphics HKBU OBJECTIVES Introduce basic implementation strategies Clipping Scan conversion OCTOBER 9, 2011 2 OVERVIEW At end of the geometric pipeline,
More informationInstitutionen för systemteknik
Code: Day: Lokal: M7002E 19 March E1026 Institutionen för systemteknik Examination in: M7002E, Computer Graphics and Virtual Environments Number of sections: 7 Max. score: 100 (normally 60 is required
More informationRecollection. Models Pixels. Model transformation Viewport transformation Clipping Rasterization Texturing + Lights & shadows
Recollection Models Pixels Model transformation Viewport transformation Clipping Rasterization Texturing + Lights & shadows Can be computed in different stages 1 So far we came to Geometry model 3 Surface
More informationIllumination and Shading
Illumination and Shading Illumination (Lighting)! Model the interaction of light with surface points to determine their final color and brightness! The illumination can be computed either at vertices or
More informationCOMPUTER GRAPHICS, MULTIMEDIA AND ANIMATION, Second Edition (with CD-ROM) Malay K. Pakhira
Computer Graphics, Multimedia and Animation SECOND EDITION Malay K. Pakhira Assistant Professor Department of Computer Science and Engineering Kalyani Government Engineering College Kalyani New Delhi-110001
More informationCPSC / Texture Mapping
CPSC 599.64 / 601.64 Introduction and Motivation so far: detail through polygons & materials example: brick wall problem: many polygons & materials needed for detailed structures inefficient for memory
More informationCS451Real-time Rendering Pipeline
1 CS451Real-time Rendering Pipeline JYH-MING LIEN DEPARTMENT OF COMPUTER SCIENCE GEORGE MASON UNIVERSITY Based on Tomas Akenine-Möller s lecture note You say that you render a 3D 2 scene, but what does
More informationVALLIAMMAI ENGNIEERING COLLEGE SRM Nagar, Kattankulathur 603203. DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING Year & Semester : III Year, V Semester Section : CSE - 1 & 2 Subject Code : CS6504 Subject
More informationRasterization. MIT EECS Frédo Durand and Barb Cutler. MIT EECS 6.837, Cutler and Durand 1
Rasterization MIT EECS 6.837 Frédo Durand and Barb Cutler MIT EECS 6.837, Cutler and Durand 1 Final projects Rest of semester Weekly meetings with TAs Office hours on appointment This week, with TAs Refine
More informationCS5620 Intro to Computer Graphics
So Far wireframe hidden surfaces Next step 1 2 Light! Need to understand: How lighting works Types of lights Types of surfaces How shading works Shading algorithms What s Missing? Lighting vs. Shading
More informationIntroduction to Visualization and Computer Graphics
Introduction to Visualization and Computer Graphics DH2320, Fall 2015 Prof. Dr. Tino Weinkauf Introduction to Visualization and Computer Graphics Visibility Shading 3D Rendering Geometric Model Color Perspective
More informationPipeline Operations. CS 4620 Lecture 10
Pipeline Operations CS 4620 Lecture 10 2008 Steve Marschner 1 Hidden surface elimination Goal is to figure out which color to make the pixels based on what s in front of what. Hidden surface elimination
More informationFrom Vertices to Fragments: Rasterization. Reading Assignment: Chapter 7. Special memory where pixel colors are stored.
From Vertices to Fragments: Rasterization Reading Assignment: Chapter 7 Frame Buffer Special memory where pixel colors are stored. System Bus CPU Main Memory Graphics Card -- Graphics Processing Unit (GPU)
More informationSurface Graphics. 200 polys 1,000 polys 15,000 polys. an empty foot. - a mesh of spline patches:
Surface Graphics Objects are explicitely defined by a surface or boundary representation (explicit inside vs outside) This boundary representation can be given by: - a mesh of polygons: 200 polys 1,000
More informationGLOBAL EDITION. Interactive Computer Graphics. A Top-Down Approach with WebGL SEVENTH EDITION. Edward Angel Dave Shreiner
GLOBAL EDITION Interactive Computer Graphics A Top-Down Approach with WebGL SEVENTH EDITION Edward Angel Dave Shreiner This page is intentionally left blank. Interactive Computer Graphics with WebGL, Global
More informationCS770/870 Spring 2017 Color and Shading
Preview CS770/870 Spring 2017 Color and Shading Related material Cunningham: Ch 5 Hill and Kelley: Ch. 8 Angel 5e: 6.1-6.8 Angel 6e: 5.1-5.5 Making the scene more realistic Color models representing the
More information- Rasterization. Geometry. Scan Conversion. Rasterization
Computer Graphics - The graphics pipeline - Geometry Modelview Geometry Processing Lighting Perspective Clipping Scan Conversion Texturing Fragment Tests Blending Framebuffer Fragment Processing - So far,
More informationGraphics Systems and Models
Graphics Systems and Models 2 nd Week, 2007 Sun-Jeong Kim Five major elements Input device Processor Memory Frame buffer Output device Graphics System A Graphics System 2 Input Devices Most graphics systems
More informationComputer Graphics and GPGPU Programming
Computer Graphics and GPGPU Programming Donato D Ambrosio Department of Mathematics and Computer Science and Center of Excellence for High Performace Computing Cubo 22B, University of Calabria, Rende 87036,
More informationDeceleration 141 Deep Sensation 218 Design Considerations 191 Device Coordinate System 12 Diffuse Reflection 119 Digital to Analog Converter 12
I A Acceleration 141 Affine Transformations 58 Agnosticism 209 AIML Language 349 ALICE 349 Ambient Light 116 Ambient Reflection 119 Anchor Node 305 Angular Speed 153 Animating a Gears Mesh 154 Animation
More informationComputer Graphics. Bing-Yu Chen National Taiwan University
Computer Graphics Bing-Yu Chen National Taiwan University Introduction The Graphics Process Color Models Triangle Meshes The Rendering Pipeline 1 INPUT What is Computer Graphics? Definition the pictorial
More informationPipeline Operations. CS 4620 Lecture Steve Marschner. Cornell CS4620 Spring 2018 Lecture 11
Pipeline Operations CS 4620 Lecture 11 1 Pipeline you are here APPLICATION COMMAND STREAM 3D transformations; shading VERTEX PROCESSING TRANSFORMED GEOMETRY conversion of primitives to pixels RASTERIZATION
More informationOrthogonal Projection Matrices. Angel and Shreiner: Interactive Computer Graphics 7E Addison-Wesley 2015
Orthogonal Projection Matrices 1 Objectives Derive the projection matrices used for standard orthogonal projections Introduce oblique projections Introduce projection normalization 2 Normalization Rather
More informationCourse Title: Computer Graphics Course no: CSC209
Course Title: Computer Graphics Course no: CSC209 Nature of the Course: Theory + Lab Semester: III Full Marks: 60+20+20 Pass Marks: 24 +8+8 Credit Hrs: 3 Course Description: The course coversconcepts of
More informationCITSTUDENTS.IN VIEWING. Computer Graphics and Visualization. Classical and computer viewing. Viewing with a computer. Positioning of the camera
UNIT - 6 7 hrs VIEWING Classical and computer viewing Viewing with a computer Positioning of the camera Simple projections Projections in OpenGL Hiddensurface removal Interactive mesh displays Parallelprojection
More information03 RENDERING PART TWO
03 RENDERING PART TWO WHAT WE HAVE SO FAR: GEOMETRY AFTER TRANSFORMATION AND SOME BASIC CLIPPING / CULLING TEXTURES AND MAPPING MATERIAL VISUALLY DISTINGUISHES 2 OBJECTS WITH IDENTICAL GEOMETRY FOR NOW,
More information6.837 Introduction to Computer Graphics Quiz 2 Thursday November 20, :40-4pm One hand-written sheet of notes allowed
6.837 Introduction to Computer Graphics Quiz 2 Thursday November 20, 2003 2:40-4pm One hand-written sheet of notes allowed Name: 1 2 3 4 5 6 7 / 4 / 15 / 5 / 5 / 12 / 2 / 7 Total / 50 1 Animation [ /4]
More informationShading. Shading = find color values at pixels of screen (when rendering a virtual 3D scene).
Light Shading Shading Shading = find color values at pixels of screen (when rendering a virtual 3D scene). Shading Shading = find color values at pixels of screen (when rendering a virtual 3D scene). Same
More informationImage Formation. Ed Angel Professor of Computer Science, Electrical and Computer Engineering, and Media Arts University of New Mexico
Image Formation Ed Angel Professor of Computer Science, Electrical and Computer Engineering, and Media Arts University of New Mexico 1 Objectives Fundamental imaging notions Physical basis for image formation
More informationComputer Graphics. Lecture 13. Global Illumination 1: Ray Tracing and Radiosity. Taku Komura
Computer Graphics Lecture 13 Global Illumination 1: Ray Tracing and Radiosity Taku Komura 1 Rendering techniques Can be classified as Local Illumination techniques Global Illumination techniques Local
More informationPipeline Operations. CS 4620 Lecture 14
Pipeline Operations CS 4620 Lecture 14 2014 Steve Marschner 1 Pipeline you are here APPLICATION COMMAND STREAM 3D transformations; shading VERTEX PROCESSING TRANSFORMED GEOMETRY conversion of primitives
More informationIntroduction to Computer Graphics with WebGL
Introduction to Computer Graphics with WebGL Ed Angel Professor Emeritus of Computer Science Founding Director, Arts, Research, Technology and Science Laboratory University of New Mexico Image Formation
More informationHomework #2. Shading, Ray Tracing, and Texture Mapping
Computer Graphics Prof. Brian Curless CSE 457 Spring 2000 Homework #2 Shading, Ray Tracing, and Texture Mapping Prepared by: Doug Johnson, Maya Widyasari, and Brian Curless Assigned: Monday, May 8, 2000
More informationCS 130 Exam I. Fall 2015
S 3 Exam I Fall 25 Name Student ID Signature You may not ask any questions during the test. If you believe that there is something wrong with a question, write down what you think the question is trying
More informationCEng 477 Introduction to Computer Graphics Fall
Illumination Models and Surface-Rendering Methods CEng 477 Introduction to Computer Graphics Fall 2007 2008 Illumination Models and Surface Rendering Methods In order to achieve realism in computer generated
More information03 Vector Graphics. Multimedia Systems. 2D and 3D Graphics, Transformations
Multimedia Systems 03 Vector Graphics 2D and 3D Graphics, Transformations Imran Ihsan Assistant Professor, Department of Computer Science Air University, Islamabad, Pakistan www.imranihsan.com Lectures
More informationCS 130 Final. Fall 2015
CS 130 Final Fall 2015 Name Student ID Signature You may not ask any questions during the test. If you believe that there is something wrong with a question, write down what you think the question is trying
More informationOverview. Pipeline implementation I. Overview. Required Tasks. Preliminaries Clipping. Hidden Surface removal
Overview Pipeline implementation I Preliminaries Clipping Line clipping Hidden Surface removal Overview At end of the geometric pipeline, vertices have been assembled into primitives Must clip out primitives
More informationContents. Graphics Library Display 2D/3D objects Coordinate Systems Window and Viewport Transformation. CAD Graphics - 1
Contents Graphics Library Display 2D/3D objects Coordinate Systems Window and Viewport Transformation CAD Graphics - 1 Device Driver vs. Graphics Library Device Driver A set of codes that controls a physical
More informationCS3500 Computer Graphics Module: Lighting and Shading
Computer Graphics Module: Lighting and Shading P. J. Narayanan Spring 2009 We know which pixels of the frame buffer belongs to which object after visibility and scan conversion. What colour to give to
More informationReading. 18. Projections and Z-buffers. Required: Watt, Section , 6.3, 6.6 (esp. intro and subsections 1, 4, and 8 10), Further reading:
Reading Required: Watt, Section 5.2.2 5.2.4, 6.3, 6.6 (esp. intro and subsections 1, 4, and 8 10), Further reading: 18. Projections and Z-buffers Foley, et al, Chapter 5.6 and Chapter 6 David F. Rogers
More informationSimple Lighting/Illumination Models
Simple Lighting/Illumination Models Scene rendered using direct lighting only Photograph Scene rendered using a physically-based global illumination model with manual tuning of colors (Frederic Drago and
More informationLevel of Details in Computer Rendering
Level of Details in Computer Rendering Ariel Shamir Overview 1. Photo realism vs. Non photo realism (NPR) 2. Objects representations 3. Level of details Photo Realism Vs. Non Pixar Demonstrations Sketching,
More informationComputer Graphics 7: Viewing in 3-D
Computer Graphics 7: Viewing in 3-D In today s lecture we are going to have a look at: Transformations in 3-D How do transformations in 3-D work? Contents 3-D homogeneous coordinates and matrix based transformations
More informationReal-Time Shadows. Last Time? Today. Why are Shadows Important? Shadows as a Depth Cue. For Intuition about Scene Lighting
Last Time? Real-Time Shadows Today Why are Shadows Important? Shadows & Soft Shadows in Ray Tracing Planar Shadows Projective Texture Shadows Shadow Maps Shadow Volumes Why are Shadows Important? Depth
More informationCSE528 Computer Graphics: Theory, Algorithms, and Applications
CSE528 Computer Graphics: Theory, Algorithms, and Applications Hong Qin State University of New York at Stony Brook (Stony Brook University) Stony Brook, New York 11794--4400 Tel: (631)632-8450; Fax: (631)632-8334
More informationMET71 COMPUTER AIDED DESIGN
UNIT - II BRESENHAM S ALGORITHM BRESENHAM S LINE ALGORITHM Bresenham s algorithm enables the selection of optimum raster locations to represent a straight line. In this algorithm either pixels along X
More informationUniversity of Victoria CSC 305 Shading. Brian Wyvill 2016
University of Victoria CSC 305 Shading Brian Wyvill 2016 The illuminating Hemisphere Energy and Intensity Energy is the intensity integrated over the solid angle through which it acts. Intensity is not
More informationReal-Time Shadows. MIT EECS 6.837, Durand and Cutler
Real-Time Shadows Last Time? The graphics pipeline Clipping & rasterization of polygons Visibility the depth buffer (z-buffer) Schedule Quiz 2: Thursday November 20 th, in class (two weeks from Thursday)
More informationComputer Graphics. Illumination and Shading
Rendering Pipeline modelling of geometry transformation into world coordinates placement of cameras and light sources transformation into camera coordinates backface culling projection clipping w.r.t.
More informationFor Intuition about Scene Lighting. Today. Limitations of Planar Shadows. Cast Shadows on Planar Surfaces. Shadow/View Duality.
Last Time Modeling Transformations Illumination (Shading) Real-Time Shadows Viewing Transformation (Perspective / Orthographic) Clipping Projection (to Screen Space) Graphics Pipeline Clipping Rasterization
More informationSo far, we have considered only local models of illumination; they only account for incident light coming directly from the light sources.
11 11.1 Basics So far, we have considered only local models of illumination; they only account for incident light coming directly from the light sources. Global models include incident light that arrives
More informationReal-Time Shadows. Last Time? Textures can Alias. Schedule. Questions? Quiz 1: Tuesday October 26 th, in class (1 week from today!
Last Time? Real-Time Shadows Perspective-Correct Interpolation Texture Coordinates Procedural Solid Textures Other Mapping Bump Displacement Environment Lighting Textures can Alias Aliasing is the under-sampling
More informationLast Time. Reading for Today: Graphics Pipeline. Clipping. Rasterization
Last Time Modeling Transformations Illumination (Shading) Real-Time Shadows Viewing Transformation (Perspective / Orthographic) Clipping Projection (to Screen Space) Scan Conversion (Rasterization) Visibility
More informationCPSC / Illumination and Shading
CPSC 599.64 / 601.64 Rendering Pipeline usually in one step modelling of geometry transformation into world coordinate system placement of cameras and light sources transformation into camera coordinate
More informationCSE 690: GPGPU. Lecture 2: Understanding the Fabric - Intro to Graphics. Klaus Mueller Stony Brook University Computer Science Department
CSE 690: GPGPU Lecture 2: Understanding the Fabric - Intro to Graphics Klaus Mueller Stony Brook University Computer Science Department Klaus Mueller, Stony Brook 2005 1 Surface Graphics Objects are explicitely
More informationMultimedia Signals and Systems Virtual Reality and VRML
Multimedia Signals and Systems Virtual Reality and VRML Kunio Takaya Electrical and Computer Engineering University of Saskatchewan January 16, 2008 ** Go to full-screen mode now by hitting CTRL-L 1 Contents
More informationLast Time. Why are Shadows Important? Today. Graphics Pipeline. Clipping. Rasterization. Why are Shadows Important?
Last Time Modeling Transformations Illumination (Shading) Real-Time Shadows Viewing Transformation (Perspective / Orthographic) Clipping Projection (to Screen Space) Graphics Pipeline Clipping Rasterization
More informationFor each question, indicate whether the statement is true or false by circling T or F, respectively.
True/False For each question, indicate whether the statement is true or false by circling T or F, respectively. 1. (T/F) Rasterization occurs before vertex transformation in the graphics pipeline. 2. (T/F)
More informationgraphics pipeline computer graphics graphics pipeline 2009 fabio pellacini 1
graphics pipeline computer graphics graphics pipeline 2009 fabio pellacini 1 graphics pipeline sequence of operations to generate an image using object-order processing primitives processed one-at-a-time
More informationsurface: reflectance transparency, opacity, translucency orientation illumination: location intensity wavelength point-source, diffuse source
walters@buffalo.edu CSE 480/580 Lecture 18 Slide 1 Illumination and Shading Light reflected from nonluminous objects depends on: surface: reflectance transparency, opacity, translucency orientation illumination:
More informationCPSC 314 LIGHTING AND SHADING
CPSC 314 LIGHTING AND SHADING UGRAD.CS.UBC.CA/~CS314 slide credits: Mikhail Bessmeltsev et al 1 THE RENDERING PIPELINE Vertices and attributes Vertex Shader Modelview transform Per-vertex attributes Vertex
More information