Lecture Notes, CEng 477



Similar documents
Comp 410/510. Computer Graphics Spring Introduction to Graphics Systems

Graphical displays are generally of two types: vector displays and raster displays. Vector displays

COMP175: Computer Graphics. Lecture 1 Introduction and Display Technologies

Computer Graphics. Computer graphics deals with all aspects of creating images with a computer

Gursharan Singh Tatla Page No. 1 COMPUTER GRAPHICS (Short Answer type Questions)

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

Introduction to Computer Graphics

Computer Graphics Hardware An Overview

A Short Introduction to Computer Graphics

Important Question with Answer

B2.53-R3: COMPUTER GRAPHICS. NOTE: 1. There are TWO PARTS in this Module/Paper. PART ONE contains FOUR questions and PART TWO contains FIVE questions.

VALLIAMMAI ENGNIEERING COLLEGE SRM Nagar, Kattankulathur

Image Processing and Computer Graphics. Rendering Pipeline. Matthias Teschner. Computer Science Department University of Freiburg

Silverlight for Windows Embedded Graphics and Rendering Pipeline 1

Overview. Raster Graphics and Color. Overview. Display Hardware. Liquid Crystal Display (LCD) Cathode Ray Tube (CRT)

Introduction to Computers, Anatomy of Computers, Input and Output Devices

Computer Graphics. Anders Hast

Monash University Clayton s School of Information Technology CSE3313 Computer Graphics Sample Exam Questions 2007

Course Overview. CSCI 480 Computer Graphics Lecture 1. Administrative Issues Modeling Animation Rendering OpenGL Programming [Angel Ch.

Introduction Week 1, Lecture 1

Displays. Cathode Ray Tube. Semiconductor Elements. Basic applications. Oscilloscope TV Old monitors. 2009, Associate Professor PhD. T.

1. Application of Computer Graphics

CRT and LCD monitors properties and problems. Maarten Demeyer October

COMPUTER GRAPHICS Computer Graphics

How To Teach Computer Graphics

1. INTRODUCTION Graphics 2

INTRODUCTION TO RENDERING TECHNIQUES

COMPUTER GRAPHICS IMPORTANT QUESTION AND ANSWERS. Computer graphics

Fundamentals of Computer Graphics

Introduction to Computer Graphics

Prof. Dr. M. H. Assal

CSCA0201 FUNDAMENTALS OF COMPUTING. Chapter 4 Output Devices

MMGD0203 Multimedia Design MMGD0203 MULTIMEDIA DESIGN. Chapter 3 Graphics and Animations

Recent Advances and Future Trends in Graphics Hardware. Michael Doggett Architect November 23, 2005

Introduction to Computer Graphics. Reading: Angel ch.1 or Hill Ch1.

Writing Applications for the GPU Using the RapidMind Development Platform

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

ELECTRONIC DOCUMENT IMAGING

Visualization of 2D Domains

GPU(Graphics Processing Unit) with a Focus on Nvidia GeForce 6 Series. By: Binesh Tuladhar Clay Smith

Touchstone -A Fresh Approach to Multimedia for the PC

CSE 564: Visualization. GPU Programming (First Steps) GPU Generations. Klaus Mueller. Computer Science Department Stony Brook University

CS130 - Intro to computer graphics. Dr. Victor B. Zordan vbz@cs.ucr.edu Objectives

ICS : 435. Computer Graphics Applications. Instructor : Da'ad Albalawneh

Primary Memory. Input Units CPU (Central Processing Unit)

Computer Peripherals

Chapter 9 Input/Output Devices

CS 4810 Introduction to Computer Graphics

Computer Applications in Textile Engineering. Computer Applications in Textile Engineering

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

L20: GPU Architecture and Models

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

GUI GRAPHICS AND USER INTERFACES. Welcome to GUI! Mechanics. Mihail Gaianu 26/02/2014 1

OpenGL & Delphi. Max Kleiner. 1/22

CAD and Creativity. Contents

Advanced Rendering for Engineering & Styling

The Evolution of Computer Graphics. SVP, Content & Technology, NVIDIA

Computer Peripherals

Institution : Majmaah University. Academic Department : College of Science at AzZulfi. Programme : Computer Science and Information Course :

Agilent Television Power Consumption Testing. Application Note

Real-Time Graphics Architecture

CPIT-285 Computer Graphics

Dynamic Digital Depth (DDD) and Real-time 2D to 3D conversion on the ARM processor

Introduction to GPGPU. Tiziano Diamanti

Chapter 3: Computer Hardware Components: CPU, Memory, and I/O

Basics of Computer 1.1 INTRODUCTION 1.2 OBJECTIVES

Cork Education and Training Board. Programme Module for. 3 Dimensional Computer Graphics. Leading to. Level 5 FETAC

1 PERSONAL COMPUTERS

DATA VISUALIZATION OF THE GRAPHICS PIPELINE: TRACKING STATE WITH THE STATEVIEWER

Data Storage 3.1. Foundations of Computer Science Cengage Learning

CS 325 Computer Graphics

COMPUTER HARDWARE. Input- Output and Communication Memory Systems

Optical Design Tools for Backlight Displays

Computer Graphics AACHEN AACHEN AACHEN AACHEN. Public Perception of CG. Computer Graphics Research. Methodological Approaches

COMP-557: Fundamentals of Computer Graphics McGill University, Fall 2010

Teaching Introductory Computer Graphics Via Ray Tracing

QuickSpecs. NVIDIA Quadro K5200 8GB Graphics INTRODUCTION. NVIDIA Quadro K5200 8GB Graphics. Technical Specifications

Adding Animation With Cinema 4D XL

CAD/CAM. Hardware and software. CAD/CAM/CAE System. Shahrood University. Display Processing Unit

Two hours UNIVERSITY OF MANCHESTER SCHOOL OF COMPUTER SCIENCE. M.Sc. in Advanced Computer Science. Friday 18 th January 2008.

Graphics Cards and Graphics Processing Units. Ben Johnstone Russ Martin November 15, 2011

B.A IN GRAPHIC DESIGN

CS 4204 Computer Graphics

Hardware design for ray tracing

Degree Reduction of Interval SB Curves

We can display an object on a monitor screen in three different computer-model forms: Wireframe model Surface Model Solid model

Computer Graphics. Introduction. Computer graphics. What is computer graphics? Yung-Yu Chuang

Chapter 2. Point transformation. Look up Table (LUT) Fundamentals of Image processing

CS 378: Computer Game Technology

WHAT You SHOULD KNOW ABOUT SCANNING

Lezione 4: Grafica 3D*(II)

Introduction To Computers: Hardware and Software

Visualisatie BMT. Introduction, visualization, visualization pipeline. Arjan Kok Huub van de Wetering

CS 3530 Operating Systems. L02 OS Intro Part 1 Dr. Ken Hoganson

GPU Architecture. Michael Doggett ATI

QuickSpecs. NVIDIA Quadro K5200 8GB Graphics INTRODUCTION. NVIDIA Quadro K5200 8GB Graphics. Overview. NVIDIA Quadro K5200 8GB Graphics J3G90AA

ACE: Illustrator CC Exam Guide

Transcription:

Computer Graphics Hardware and Software Lecture Notes, CEng 477

What is Computer Graphics? Different things in different contexts: pictures, scenes that are generated by a computer. tools used to make such pictures, software and hardware, input/output devices. the whole field of study that involves these tools and the pictures they produce. Use of computer to define, store, manipulate, interrogate and present pictorial output.

How pictures are represented in computer graphics? How pictures are prepared for presentation? How interaction within the picture is accomplished?

Computer Graphics Applications Art, entertainment, and publishing movie production, animation, special effects computer games World Wide Web Book, magazine design, photo editing CG and Image processing (syntesis vs. analysis) Simulations (education, training) CAD architectural, circuit design etc. Scientific analysis and visualization Graphical User Interfaces

Display (Video Display Most CG on video monitors Device) Still most popular: Cathode Ray Tube (CRT) Other popular display types: Liquid Crystal Display Plasma display Field Emission Displays Digital Meromirror Devices Light Emitting Diodes 3D display devices (hologram or page scan methods)

CRT 3. when electron beams contact screen phosphor emits light 1. cathode rays emitted by the electron gun 2. focusing and deflection 4. light fades, redraw required in a small period (refresh)

CRT types Direct View Storage Tubes (not CRT, no need for refresh, pictures stored as a permanent charge on phosphor screen) Calligraphic refresh CRT (line drawing or vector random scan, need refreshing) Raster scan (point by point refreshing) Refresh rate: # of complete images (frames) drawn on the screen in 1 second. Frames/sec. Frame time: reciprocal of the refresh rate, time between each complete scan. sec/frame

Vector Scan Picture definition is stored as a set of line drawing commands in a refresh buffer. to display a picture, the system cycles through the set of commands in the buffer Designed for line drawing applications (CAD)

Raster Scan Screen is a regular grid of samples called pixels (picture element) Screen is refreshed line by line non-interlaced interlaced, cycle 1 interlaced, cycle 2 interlaced, 2 cycles Interlacing: Avoid flickering affect for small refresh rates. interlaced 50Hz: actually 25Hz

resolution: a 2D term that measures the number of scanlines and the number of pixels on each line (maximum number of points that can be displayed without overlap on a CRT) black and white display only binary pixels. intensity of a pixel can be achieved by the force of electron beam (gray scale) color display?

Color Displays Beam penetration method: special phosphors emitting different colors for different intensity of electron. Slow, limited colors. Shadow mask method: 3 electron guns + a shadow mask grid. Intensities of 3 colors result in an arbitrary color pixel. (most TVs and monitors)

black and white: 1 bit per pixel. gray scale: 1 byte per pixel (256 gray levels) true color: 3 bytes=24pits per pixel (2 24 colors) indexed color frame buffer: each pixel uses 1 byte, an index entry in a colormap table matching the color to the actual color.

Vector vs Raster Scan raster scan monitors: inexpensive filled areas, patterns refresh process is independent (constant for any complex scene) vector scan monitors: Smooth lines. no need for scan conversion: lines to pixels. (raster scan solution antialiasing) sometimes memory and CPU efficient 1000 lines: Vector scan: 2000 endpoints and 1000 operations Raster scan: whole frame buffer 1000 scan conversions.

LCD Displays Thinner and lighter. No tube and electron beams. Blocking/unblocking light through polarized crystals. A matrix of LC cells one for each pixel. No refresh unless the screen changes. Color 3 cells per pixel.

Simple Raster Display System Frame buffer: stored pixel map of screen Video controller just refreshes the frame buffer on the monitor periodically. CPU Peripheral Devices System Bus System Frame Memory Buffer Video Controller Monitor

Inexpensive Scan conversion of output primitives (lines, rectangles etc.) done by the CPU. Slow. As refresh cycle increases, memory cycles used by the video controller increases. Memory is less available to CPU. Solution: Graphics Display Processor

Graphics Display Processor Scan conversion, output primitives, raster operations (double buffering) Separete frame buffer CPU Peripheral Devices System Bus Display Processor System Memory D. Proc. memory. Frame Buffer Video Controller Monitor

Computer Graphics Software Rendering Primitives Models are composed of, or can be converted to, a large number of geometric primitives. Typical rendering primitives directly supported in hardware include: Points (single pixels) Line segments Polygons (perhaps simple, triangle, rectangle)

Modeling primitives include these, but also Piecewise polynomial (spline) curves Piecewise polynomial (spline) surfaces Implicit surfaces (quadrics, blobbies, etc.) Other... Software renderer may support modeling primitives directly, or may convert them into polygonal or linear approximations for hardware rendering

Algorithms A number of basic algorithms are needed: Transformation: Convert representations of models/primitives from one coordinate system to another Clipping/Hidden surface removal: remove primitives and part of primitives that are not visible on the display Rasterization: Convert a projected screen space primitive to a set of pixels.

Advanced algorithms: Picking: select a 3D obejct by clicking an input device over a pixel location. Shading and illumination: Simulate the interaction of light with a scene. Animation: Simulate movement by rendering a sequence of frames.

Application Programming Interfaces X11: 2D rasterization Postscript, PDF: 2D transformations, 2D rasterization Phigs+, GL, OpenGL, Direct3D: 3D pipeline APIs provide access to rendering hardware via conceptual model. APIs abstract the hardware implementations and algorithms in standard software calls.

For 3D interactive applications, we might modify the scene or a model directly or just the change the attributes like viewing information. We need to interface to input devices in an event driven, asynchronous and device independent fashion. APIs and toolkits are also defined for this task. GLUT, Qt, GTK, MFC, DirectX, Motif, Tcl/Tk.

Graphics Rendering Pipeline Rendering: conversion from scene to image 3D Scene Render 2D Image Scene is represented as a model composed of primitives. Model is generated by a program or input by a user. Image is drawn on an output device: monitor, printer, memory, file, video frame. Device independence.

Typically rendering process is divided into steps called the graphics pipeline. Some steps are implemented by graphics hardware. Programmable graphics accelerator, GPU: programmable pipelines in graphics hardware

The basic forward projection pipeline: Model Model Modeling Transformations M1 M2 3D World Scene Viewing Transformations V 3D View Scene Model M3 MCS WCS VCS P Clip Normalize 2D/3D Device Scene Rasterization Projection NDCS 2D Image DCS SCS