Computer Graphics Lecture 13 Graphics Systems Taqdees A

Slides:



Advertisements
Similar presentations
Graphics Primitives: line
Advertisements

Computer Graphics- SCC 342
CS 4731: Computer Graphics Lecture 20: Raster Graphics Part 1 Emmanuel Agu.
Advanced Manufacturing Laboratory Department of Industrial Engineering Sharif University of Technology Session # 6.
Output Primitives Computer Graphics.
Java ThreadsGraphics Programming Graphics Programming: Graphics Devices.
Graphics Device Principles B.Sc. (Hons) Multimedia ComputingMedia Technologies.
Course Website: Computer Graphics 5: Line Drawing Algorithms.
Graphics Device Principles B.Sc. (Hons) Multimedia ComputingMedia Technologies.
Computer Monitors Principles of Information Technology Lytle High School Click to Continue.
Monitor. The Basics Often referred to as a monitor when packaged in a separate case, the display is the most-used output device on a computer. The display.
 Monitor displays use liquid crystal display (LCD) or cathode ray tube (CRT) technology  Resolution is also a factor when it comes to monitors. It’s.
Power Supplies. Basics Power Supply Unit aka PSU Converts 110/220VAC to 3.3, ±5, ±12 VDC There is a 5VDC standby in ATX PSU Rating is in Watts. More is.
IE433 CAD/CAM Computer Aided Design and Computer Aided Manufacturing Part-2 CAD Systems Industrial Engineering Department King Saud University.
Peripherals The term peripherals refers to all hardware devices that are attached to your computer and are controlled by your computer system Peripherals.
Dr. S.M. Malaek Assistant: M. Younesi
WHERE TO DRAW A LINE?? Line drawing is accomplished by calculating intermediate positions along the line path between specified end points. Precise definition.
BY Kamran Yousaf Computer Graphics & Animation. BY Kamran Yousaf Contents Introduction Usage, Application & Advantages Video Display Devices Output Devices.
Raster-scan system In addition to the central processing unit a special purpose processor called the video controller or display controller is used to.
ECE291 Computer Engineering II Lecture 9 Josh Potts University of Illinois at Urbana- Champaign.
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.
Computer Graphics Hardware
Objectives Differentiate between raster scan display and random scan display.
1 CP586 © Peter Lo 2003 Multimedia Communication Video Fundamentals.
Lecture # 4 Output Devices. Output Devices Devices that convert machine language into human understandable form. Output can be in display form, on paper.
Introduction to Graphical Hardware Display Technologies
Institute for Visualization and Perception Research 1 © Copyright Haim Levkowitz Graphics Systems Overview Video display devices … Input devices.
2/1 A Look at Monitors Roll call Video: monitors Step-by-step lecture.
Video Card CES Industries, Inc. Lesson 10.  Translates computer information of binary digital data into visual information that the monitor can understand.
10H Interrupt. Option 0H – Sets video mode. Registers used: – AH = 0H – AL = Video Mode. 3H - CGA Color text of 80X25 7H - Monochrome text of 80X25 Ex:
GEOMETRY AND LINE GENERATION Geometry and Line Generation Chapter 2.
Computer Graphics & Multimedia
8/20/2003CS 770 – Early Days Lecture 1 1 Early Days Generic Computer Graphics Configuration The Display Point Plotting Displays Refresh CRTs Phosphors.
1 Teaching Innovation - Entrepreneurial - Global The Centre for Technology enabled Teaching & Learning, N Y S S, India DTEL DTEL (Department for Technology.
Lecture 11 Text mode video
1.  The primary output device in a graphics system is a video monitor. These monitors are based on Cathode Ray Tube (CRT) design.  CRT is a vacuum tube/electron.
Computer Graphics Lecture 03 Graphics Systems Cont… Taqdees A. Siddiqi
The Cathode Ray Tube Monitor
10/10/2006TCSS458A Isabelle Bichindaritz1 Line and Circle Drawing Algorithms.
Computer Graphics Lecture 07 Ellipse and Other Curves Taqdees A. Siddiqi
Computer Graphics Lecture 06 Circle Drawing Techniques Taqdees A. Siddiqi
Computer Graphics Lecture 05 Line Drawing Techniques Taqdees A. Siddiqi
Computer Graphics Lecture 04 Point Taqdees A. Siddiqi
Hardware Components in Computer Graphics
Flowchart of basic interrupt mechanism
Computer Graphics Lecture 4 Computer Graphics Hardware
Line Drawing Algorithms
Computer Graphics Raster Devices Transformations
Overview of Graphics Systems
Lecture 8 Shear and Line Drawing Algorithms
Chapter Three Part I Output Primitives CS 380.
Overview of Graphics Systems
Computer Case Houses computer components
Overview of Graphics Systems
Microprocessor and Assembly Language
Computer Graphics 5: Line Drawing Algorithms
Understanding Video Cards and Monitors
Introduction to Computers
گرافيک کامپيوتري فصل اول : مقدمه ای بر گرافیک کامپیوتری (A Survey of Computer Graphics) فصل دوم: مروری بر سیستم های گرافیکی (Overview of graphic systems)
Computer Graphics 5: Line Drawing Algorithms
CSCE 441 Lecture 2: Scan Conversion of Lines
Monitor Lesson 3 CES Industries, Inc..
Graphics Systems SUBJECT: COMPUTER GRAPHICS LECTURE NO: 02 BATCH: 16BS(INFORMATION TECHNOLOGY) 1/4/
Computer Graphics 5: Line Drawing Algorithms
Graphics Systems Lecture-2
Chapter 2 Overview of Graphics Systems
Chapter 3 Graphics Output Primitives
This lesson includes the following sections:
OUTPUT PRIMITIVES / DISPLAY TECHNIQUES
Presentation transcript:

Computer Graphics Lecture 13 Graphics Systems Taqdees A Computer Graphics Lecture 13 Graphics Systems Taqdees A. Siddiqi taqdees@vu.edu.pk

Video Display Devices Refresh Cathode-Ray Tubes Raster-Scan Displays Random-Scan Displays Color CRT Monitors Direct-View Storage Tubes Flat-Panel Displays Three-Dimensional Viewing Devices

Refresh Cathode-Ray Tubes

Refresh Cathode-Ray Tubes

Refresh Cathode-Ray Tubes

Refresh Cathode-Ray Tubes Cont..

Refresh Cathode-Ray Tubes Refresh CRT Control Grid Focusing System Focusing in High Precision System Construction of Cathode-Ray Tubes Persistence Resolution Aspect Ratio

Refresh Cathode-Ray Tubes

Area Filling Scan_line Fill Boundary Fill Flood Fill

Video Controller Basic Video Controller Refresh Operations Horizontal and Vertical Deflection Voltages Raster Scan Generator Register X Register Y Memory Addresses Pixel Register Intensity Frame Buffer Basic Video Controller Refresh Operations

Graphics Card or Display Adaptors A number of display Adaptors are available with varying capabilities specially Intel systems support following Adaptors: Monochrome Adaptor (MA) Hercules Adaptor (HA) Color Graphics Adaptor (CGA) Enhanced Graphics Adaptor (EGA) Multicolor Graphics Adaptor (MCGA) Video Graphics Adaptor (VGA) Super Video Graphics Adaptor (SVGA) Extended Graphics Adaptor (XGA)                                                                         

Raster Scan Display Processor Frame Buffer Video Controller Display Processor Memory Monitor Display Processor CPU System Memory System Bus I/O Devices Architecture of a raster graphics systems with a display processor

Random-Scan Systems Architecture of a simple random scan system

Graphics Card or Display Adaptors A number of display Adaptors are available with varying capabilities specially Intel systems support following Adaptors: Monochrome Adaptor (MA) Hercules Adaptor (HA) Color Graphics Adaptor (CGA) Enhanced Graphics Adaptor (EGA) Multicolor Graphics Adaptor (MCGA) Video Graphics Adaptor (VGA) Super Video Graphics Adaptor (SVGA) Extended Graphics Adaptor (XGA)                                                                         

Graphics Card or Display Adaptors A video card is typically an adaptor, a removable expansion card in the PC. Thus, it can be replaced! A video display Adaptor which is the special printed circuit board that plugs into one of the several expansion slots present on the mother board of the computer. A video display Adaptor is referred to as a video card as well. The video card can also be an integral part of the system board; this is the case in certain brands of PCs and is always the case in laptops and clear preference for the replaceable video card in some PCs.                                                                         

Source Code Code in assembly language that can set graphics mode 19 (13h) MOV AH,0 MOV AL,13h ;mode number from 0-19 INT 10h

Source Code Cont.. You can use this for assembler or you can embed this code in C language using ‘asm’ keyword asm { MOV AH,0 MOV AL,13h;;mode number from 0-19 INT 10h }

Source Code Code in assembly language that can set graphics mode 19 (13h) MOV AH,0 MOV AL,13h ;mode number from 0-19 INT 10h

Source Code for Writing Pixel Code to write pixel using video BIOS interrupt 10h and service number 0ch. MOV AH,0Ch MOV AL,COLOR_NUM MOV BH,0 MOV CX,ROW_NUM MOV DX,COLUMN_NUM INT 10h

Incremental Line Algorithm This algorithm exploits simple line equation y = m x + b where m = dy / dx and b = y – m x

DDA Algorithm DDA abbreviated for digital differential analyzer has a very simple technique. Find difference, dx and dy as: dy = y2 – y1 dx = x2 – x1

if |dx| > |dy| then step = |dx| else step = |dy| Now very simple to say that step is the total number of pixels required for a line.

Next step is to find xIncrement and yIncrement:   xIncrement = dx/step yIncrement = dy/step

Circle Drawing Using Cartesian Coordinates This technique uses the equation for a circle with radius r centered at (0,0):   x2 + y2 = r2, an obvious choice is to plot y = ± r2 - x2 against different values of x.

Polar Coordinates Algorithm Circle2 (xcenter, ycenter, radius) for  = 0 to 2 step 1/r x = xc + r * cos  y = yc + r * sin  drawPixel (x, y)

Eight Octants Symmetry

Midpoint Circle Algorithm k X2+Y2-R2=0 k Xk+1 k

Rotation Y X 1 2 3 4 5 6 7 8 9 10

Scaling Y X 1 2 3 4 5 6 7 8 9 10

Basic Transformations Rotation Scaling

Video Controller Architecture of a raster system with a fixed portion of system memory reserved for the frame buffer.

Color CRT Monitors Beam Penetration Method Shadow Mask Method

Translation tx = 2 ty = 3 Y X 1 2 3 4 5 6 7 8 9 10

Color CRT Monitors Beam Penetration Method Shadow Mask Method