CS-321 Dr. Mark L. Hornick 1 Graphics Displays Video graphics adapter Monitor.

Slides:



Advertisements
Similar presentations
COMPUTER GRAPHICS SOFTWARE.
Advertisements

CS 4731: Computer Graphics Lecture 20: Raster Graphics Part 1 Emmanuel Agu.
2006 by Jim X. Chen: 1.1. Review –Graphics commands specify straight lines or other geometric primitives that are scan-converted.
Section 3-1 to 3-2, 3-5 Drawing Lines Some of the material in these slides may have been adapted from university of Virginia, MIT, and Åbo Akademi University.
Basic Raster Graphics Algorithms for Drawing 2D Primitives
Lecture 5 Rendering lines 1.Steps of line rendering 2.Scan-conversion for line segments 3.A1 tutorial CP411 Computer Graphics Fall 2007 Wilfrid Laurier.
Line Drawing Algorithms. Rasterization-Process of determining which pixels give the best approximation to a desired line on the screen. Scan Conversion-Digitizing.
Computer Graphics Tz-Huan Huang National Taiwan University (Slides are based on Prof. Chen’s)
OUTPUT PRIMITIVES Screen vs. World coordinate systems ● Objects positions are specified in a Cartesian coordinate system called World Coordinate.
CS 352: Computer Graphics Chapter 7: The Rendering Pipeline.
Understanding the graphics pipeline Lecture 2 Original Slides by: Suresh Venkatasubramanian Updates by Joseph Kider.
Status – Week 257 Victor Moya. Summary GPU interface. GPU interface. GPU state. GPU state. API/Driver State. API/Driver State. Driver/CPU Proxy. Driver/CPU.
Lecture 1 Computer Graphics Hardware Basic graphics hardware –Display devices –Video controller –Memory –CPU –System bus Graphics Hardware # 1 CG show.
In the name of God Computer Graphics Bastanfard.
Output Primitives Computer Graphics.
Java ThreadsGraphics Programming Graphics Programming: Graphics Devices.
Display Technology  Images stolen from various locations on the web...
Graphics Device Principles B.Sc. (Hons) Multimedia ComputingMedia Technologies.
Graphics Device Principles B.Sc. (Hons) Multimedia ComputingMedia Technologies.
Line Drawing by Algorithm. Line Drawing Algorithms Line drawn as pixels Graphics system –Projects the endpoints to their pixel locations in the frame.
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.
Graphics Hardware Display (CRT, LCD,…) Graphics accelerator
Introduction to VGA Wei Miao Yuxuan Zhou 1. 2 VGA VGA = Video Graphics Array Introduced by IBM in 1987, still using today All points addressable Transmitting.
Video Monitor Uses raster scanning to display images
IE433 CAD/CAM Computer Aided Design and Computer Aided Manufacturing Part-2 CAD Systems Industrial Engineering Department King Saud University.
Lecture 03 Fasih ur Rehman
1/1/20001 Topic >>>> Scan Conversion CSE Computer Graphics.
Dr. S.M. Malaek Assistant: M. Younesi
Graphics Graphics Korea University cgvr.korea.ac.kr Raster Graphics 고려대학교 컴퓨터 그래픽스 연구실.
display screens and ergonomics
Raster-scan system In addition to the central processing unit a special purpose processor called the video controller or display controller is used to.
Video Monitor Uses raster scanning to display images –Beam of electrons illuminates phosphorus dots on the screen called pixels. Starting at the top of.
CS-321 Dr. Mark L. Hornick 1 Graphics Display Hardware Display technologies CRT LCD Storage tube Drawing methods Vector Raster Architecture.
ECE 448: Lab 6 VGA Display (mini chess game). Video Graphic Array (VGA) Resolution: 640x480 Display: 16 colors (4 bits), 256 colors (8 bits) Refresh Rate:
Objectives Differentiate between raster scan display and random scan display.
Introduction to Experiment 5 VGA Signal Generator ECE 448 Spring 2009.
Lab 8 Bit-Mapped Graphics Moving from text-based graphics to bit- mapped graphics. Easy to draw graphic points and lines using INT 10h, Function 0Ch (write.
Video Monitor CRT: Cathode Ray Tube
Fall 2004CS-321 Dr. Mark L. Hornick 1 Final Exam Monday Nov 13, 2-4pm CC-43 Bring Calculator – no laptops Note sheet Complete FAST entries before exam.
1 Aliasing & Anti-Aliasing. 2 What is aliasing? An artifact (loss of detail and false details) Caused by discretization (finite resolution) A rasterized.
2/1 A Look at Monitors Roll call Video: monitors Step-by-step lecture.
Graphics: Conceptual Model Real Object Human Eye Display Device Graphics System Synthetic Model Synthetic Camera Real Light Synthetic Light Source.
ECE 448: Lab 4 VGA Display. Bouncing Ball.. Organization and Grading.
Figure 10.1 Color CRT and Phosphor Dots on Face of Display.
A 3-D Rendering System Final Project Ben Hebert & Mayur Desai Spring 2005.
Computer Fundamentals MSCH 233 Lecture 5. The Monitor A Monitor is a video screen that looks like a TV. It displays both the input data and instructions,
Graphics Card Andrew Kasper MYP 5.
GEOMETRY AND LINE GENERATION Geometry and Line Generation Chapter 2.
Computer Graphics & Multimedia
CRT Display Technology
Week 9 Monitors and output to the screen. Monitors, also known as Visual display units (V.D.Us) Desktop computers contain a Cathode Ray Tube (C.R.T.)
The Graphics Pipeline Revisited Real Time Rendering Instructor: David Luebke.
OUTPUT PRIMITIVES A.Aruna/Faculty of Information technology/SNSCE13/19/2016.
Computer Graphics CC416 Lecture 02: Overview of Graphics Systems: Raster & Random Displays – Chapter 2 Dr. Manal Helal – Fall 2014.
1 COMP541 Video Monitors Montek Singh Mar 11, 2016.
Computer Graphics CC416 Lecture 04: Bresenham Line Algorithm & Mid-point circle algorithm Dr. Manal Helal – Fall 2014.
Computer Graphics Lecture 03 Graphics Systems Cont… Taqdees A. Siddiqi
10/10/2006TCSS458A Isabelle Bichindaritz1 Line and Circle Drawing Algorithms.
Problems in IO CS 1550 Recitation December 2 nd /4 th, 2002 The questions in this slide are from Andrew S. Tanenbaum's textbook page 376, 377.
COMP541 Video Monitors Montek Singh Oct 7, 2016.
Computer Graphics Lecture 4 Computer Graphics Hardware
Computer Graphics Lecture 13 Graphics Systems Taqdees A
Computer Graphics Lecture 3 Computer Graphics Hardware
Midterm Review Computer Graphics Hardware Point and Line Drawing
Figure 9.1 Color CRT and Phosphor Dots on Face of Display.
1. Encode binary value using PCM
VGA INTERFACE Ly Le Department of Electrical Engineering
Graphics Systems SUBJECT: COMPUTER GRAPHICS LECTURE NO: 02 BATCH: 16BS(INFORMATION TECHNOLOGY) 1/4/
Chapter 3 Graphics Output Primitives
Game Programming Algorithms and Techniques
Presentation transcript:

CS-321 Dr. Mark L. Hornick 1 Graphics Displays Video graphics adapter Monitor

CS-321 Dr. Mark L. Hornick 2 CRT Raster Scanning No e-beam in LCD’s. However, the logical sequence of setting discrete pixel colors is similar.

CS-321 Dr. Mark L. Hornick 3

4 Early graphics adapters Bus CPU System Memory Scan Converter video, vga Frame buffer Pixel construction CPU constructs “virtual image” in Frame Buffer in System Memory Scan converter reads virtual image and converts to video or vga signals

CS-321 Dr. Mark L. Hornick 5 Memory Mapping Example a 0b … Video RAM Display

CS-321 Dr. Mark L. Hornick 6 Video Display Timing Example * 1280 = nn pixels Refresh rate = 85 Hz, n lines/s, x s/line pixels Pixel time = y s, z MHz clock

CS-321 Dr. Mark L. Hornick 7 Later graphics adapters Bus CPU System Memory Scan Converter vga Video RAM Multiple Frame buffers GPU Graphics primitives

CS-321 Dr. Mark L. Hornick 8 Today’s graphics adapters Bus CPU System Memory Scan Converter svga Multiple Frame buffers GPU DP Gr. Display cmds. Xform engine, shader, spline gen, …

CS-321 Dr. Mark L. Hornick 9 Pixel Addressing Integer coordinates Horizontal Left to right Vertical Top to bottom or bottom to top? Usually top to bottom (Windows) Memory bits map to pixels x y

CS-321 Dr. Mark L. Hornick 10 Line Drawing Algorithms (x 0, y 0 ) (x 1, y 1 ) Which pixels should be set to represent the line?

CS-321 Dr. Mark L. Hornick 11 Line Equations (x 0, y 0 ) (x 1, y 1 ) Equations implemented in lab1 sample code.

CS-321 Dr. Mark L. Hornick 12 Setting a Pixel // SetPixel - write (x,y) pixel value into the fb #define PIX_PER_LINE 24 #define PIX_PER_WORD 4 #define BITS_PER_PIX 8 #define FBSIZE 256// size of frame buffer #define FBADDR 0xffff// presumed hw addr of frame buffer int *vmem = FBADDR;// set a pointer to the frame buffer //int fb[FBSIZE]; // simulated frame buffer //int* vmem = fb; // ptr to simulated frame buffer void setPixel (int x, int y, int val) { int pix = y * PIX_PER_LINE + x; // linear pixel addr int addr = pix / PIX_PER_WORD; // base fb addr int ofst = pix % PIX_PER_WORD; // offset in fb word vmem[addr] = vmem[addr] | (val << (ofst * BITS_PER_PIX)); }