Graphics
Graphics
Prepared by:
Ramesh Pd. Basaula
Introduction
1.1 History of Computer Graphics
1.2 Application of Computer Graphics
Computer Graphics
By graphics we will refer to any sketch drawing, special artwork or
other material to pictorically depect an object or process or otherwise
convey information instead of written description. That means sketch
can be anything, it may be cartoon or landscape, building, electrical
network or of the human anatomy.
Definition
• In simple, computer graphics means drawing pictures on computer
screen.
• It involves computation, creation and manipulation of data.
• In other words, we can say computer graphics is rendering tool for the
generation and manipulation of images.
CG Tools
• Include both Hardware and Software tools
• Hardware tools: Output tools like video monitor, printer etc and input devices
like keyboard, mouse, touch panel, graphics card etc.
• Software tools: Operating system, compiler, editors, debuggers, graphics
library etc.
Mannual drafting Vs Computer graphics
• In Manual drafting we make drawing by hand. Manual drafting can be started easily. The
drafting tools are easily available in market. It is completed in a predictable time. Progress
of making drawing depends on the amount of the work and the number of person work. In
the computer graphics, we make easily, quickly drawing. We make drawing very fast in
computer but computer graphics does not work well when drawing gets large.
• In manual drafting, when we doing some changes in drawing, it will be time consuming
and drawing will not be neat, clean, and accurate. Each mistake would involve extensive
eraser and re-drawing. With computer graphics, when we will be doing corrections very
fast and easy, the result will be neat, clear and original. We understand very easily. We
make drawing 100% accurate by computer.
• Display of all the surfaces of any drawing in different color and thus obtaining realistic
images of objects is possible in computer graphics. We make very Special effect such as
shading in manual drafting will be done accurately. In computer, we do this work very
easily in little time. We show in drawing special effect such as color, shading and
materials. In hand made drawing, we cannot give easy effect. This work is very time
consuming.
Contd…
• In manual drafting we make 2d with different view like as top view front view and
side view, but we cannot make original 3d drawing and cannot do orbit the
drawing. We want to see any view of drawing in manual drawing, resulting from
every modification of viewpoint, scale or other parameter will have to be redrawn.
When using of computer, we make drawing, so together with drawing make all
types of view, we can see through a few commands with any view.
• In sharp contrast to the lines drawn and areas shaded continuously in manual
drawing any and every point, line or area depicted on a computer is composed of
dots of finite size, because of the very nature of the hardware used to display
them. In general, a point shown on the monitor corresponds to a pixel.
• Manual drafting start by low investment. Should be the some amounts of money
requirement. But computer graphics, we want big amount of money compared to
manual Drafting. Computer graphics need of a specialized kind of training,
concentration, and effort.
Advantages of CG
• It provides tools for producing picture not only of concrete real world
object but also of abstract, synthetic objects such as mathemtical
surfaces in 4D and of data have no inherent geometry.
• It have ability to show moving pictures and thus it is possible to
produce animations with computer graphics.
• With computer graphics user can also control the animation speed,
portion of the view, the geometric relationship the object in the scene
to one another, the amount of detail shown and on.
Contd…
• The computer graphics provides tool called motion dynamics. with
this tool user can move and tumble objects with respect to a stationary
observer, or he can make objects stationary and the viewer moving
around them.
• The computer graphics also provides facility called update dynamics.
With update dynamics it is possible to change this shape, color or
other properties of the objects being viewed.
History of Computer Graphics
• CG is rapidly evolving field.
• Until the past two decades graphics was mainly the realm of artist.
• Now CG has touched the lives of not only artist but also the common
people in various ways.
• The history of CG can be studied as a chronical development of
hardware and software.
The evolution of CG
• 1940-1941: The first directly digital computer-generated graphics that would associate with today
as being actual CG. The very first radiosity image was invented at MIT in the 1940s.
• 1946: The images were first presented at the 1946 national technical conference of the Illuminating
Engineering Society of North America.
• 1948: The images were published in the book: Lighting Design by Moon and D. E. Spencer. 1948.
• 1950: John Whitney Sr. invents his computer-assisted mechanisms to create some of his graphic
artwork and short films.
• 1951: Vector scope computer graphics display on the computer at MIT. The General Motors
Research Laboratory also begins the study of computer-aided graphical design applications.
• 1955: The SAGE air defense system developed in the middle 1950s was the first two used
commands and control CRT displays console on which operator identified targets with the light
pen. Sage system uses the first light pen as an input device at MIT Lab by Bert Sutherland.
• 1956: Lawrence Livermore labs associate graphics display with IBM 704 and film recorder for
color images. Bertram Herzog uses analog computers to create CRT graphics in the behavior of
military vehicles at the University of Michigan computing center.
Contd…
• 1957: In the National Bureau of Standards first image-processed photo was used.
• The IBM 740 created a sequence of points on a CRT monitor to represent lines and
shapes.
• 1958: Steven Coons, Ivan Sutherland, and Timothy Johnson started working with the
TX-2 computer system to manipulate the drawn pictures.
• 1959: The first commercial film recorder produced in San Diego, CA.
• Don Hart and Ed Jacks invented the first computer-aided drawing system at General
Motors Research Laboratory and IBM.
• 1960: William Fetter was first termed “Computer Graphics” for cockpit drawing.
• John Whitney Sr. invents motion graphics in LA.
Contd…
• 1961: The advancing computer Graphics was to come from one MIT
students, Ivan Southerland created computer drawing program called
Sketchpad.
• 1961: Steve Russel at MIT created the video games Space war.
• Mid 60s we started seeing various computer generated films.
• 1970s: Shading algorithm were introduced inorder to show the shapes more
realistic.
• 1984: Apple release the first machintos computer which was the first
personal computer to use graphical interface, however, XEROX Alto PC
featured the first editor with menus, icons etc.
• 1990: Many more films produces, most notably is Toy Story.
• Open GL direct X moving forward.
Assignment 1:
Application of Computer Graphics
• Graphical User Interface (GUI)
• Art
• Entertainment
• Presentations
• Engineering Drawings
• Education and Training
• Medical Imaging
• Flight Simulator
• Printing Technology
• Satellite Imaging
• Cartography
• CAD/CAM
Chapter- 2 Graphics Hardware
Assignment 2:
1. Input hardware: Keyboard, Mouse (mechanical & optical), Light pen,
Touch panel (Optical, Sonic, and Electrical), Digitizers (Electrical, Sonic,
Resistive), Scanner, Joystick
2. Output Hardware
Monitors
Monochromatic CRT Monitors
Color CRT Monitors
Flat Panel Display Monitors
Hardcopy Devices
Plotters
Printers
Component of Computer Graphics:
An interactive Computer Graphics consists of three major components
• Digital Memory Buffer(Refresh Buffer)
• Display Controller
• TV/Video Monitor
Digital Memory Buffer
• A plane where images or pictures are stored as an array of 0 and 1
where 0 represents black and 1 represents white.
• The amount of memory required to hold the images priority depends
upon the resolution of the screen and also the color depth used for
pixel.
TV Monitor
• Tv monitor or video monitor helps to view the display and they make
use of CRT technology.
Display Controller
• An interface between memory buffer and TV monitor.
• Its job is to pass the content of frame buffer to the monitor.
• The passing has to be fast for steady display on the monitor otherwise
flickering of images may occour.
• The display controller reads each successive type of data from frame
buffer memory and converts 0’s and 1’s into corresponding video
signals
Frame Buffer
• A frame buffer is a large contiguous piece of computer memory. At
minimum there is one memory bit for each pixel. This amount of
memory is called a bit plane.
• We know that memory bit has only two states, therefore a single bit
plane yields a black and white display.
• A frame buffer is a digital device and the CRT is an analog device.
Therefore a conversion from digital representation to an analog signal
must take place when information is read from buffer and displayed on
the Raster CRT graphics device. For this we use DAC(Digital to
Analog Converter)
Frame Buffer
Frame Buffer
(A digital Device) CRT-Raster
(Analog Device)
1
0 1 0 0
0 0 1 0 2W DAC
Display monitor
or CRT raster
Fig: Color manipulation using look-up table
Pixel and Resolution
• Pixel
• The image that is display on the screen is composed of thousands
or millions of dots, these are called pixels. The word pixel is
composed of two words that is picture+ element
• So, we can define pixel as the smallest element in a picture on a
screen
• Pixel is nothing but one spot in a rectilinear grid or thousands of
such spot that are individually pointed to form an image on the
screen by a computer or on a paper by a printer.
Contd…
• Resolution
• The total number of pixels that can be displayed on the screen is
referred to as the resolution of the image.
• Normally displayed as a paired of numbers such as 640*480
wherease 640 is the number of pixels that can be displayed
horizontally on the screen and 480 is the no of pixels that can be
displayed vertically on the screen.
Cathode Ray Tube (CRT)
Diagram- The basic operation of CRT
Magnetic
Description
• A beam of electrons(cathode rays) emitted by an electron gun, passes
through focusing and reflection systems that are directed the beam
towards specied positions on the phosphor coated screen.
• The phosphor then emits small spot of light at each position
contracted by the electron beam.
• Because the light emitted by the phosphor fades very rapidly, some
method is needed for maintaining the screen picture.
• One way to keep the phosphor glowing is to redraw the picture
repeatedly by quickly directing the electron beam back over the same
poits. This type of display is called refresh CRT.
Contd…
Green Layer
Red Layer
Screen
Electron Gun
System Bus
System Video
Memory Controller
1 0 0 0 0
0 1 0 0 0 0
0 0 1 0 0 0 Monitor
0 0 0 0 1 0
Fig: Architecture of Raster Display System
Description
• The architecture of rster scan display consist of CPU, Video Controller,
input devices like mouse and keyboards and output devices like CRT
monitor and a system memory along with a refreshed buffer as shown in
figure.
• A fixed area of the system memory is reserved for the refreshed buffer and
the video controller is given direct access to the frame buffer memory.
• The display images is stored in the from of 0’s and 1’s in the refresh buffer.
The video controller reads this refreshed buffer and produce the external
image on the screen. Here the video controller is used to control the
operation of the display devices.
• The application program and graphics subroutine packages reside in the
system memory and execute on CPU.
Contd…
• The raster scan processed as follows
• Starting from top left corner of the screen, the electron beam scan
horizontally from left to right, one scan line i.e. one row at a time.
• Jumping (without tracking the line) to the left end of the next lower
row until the bottom right corner is reached.
• Then it jumps again without tracking to the top left corner and
starts again finishing one compute refresh cycle.
• In the raster scan display, the screen image is maintained by
repeatedly seeing the same image. This process is known as
refrreshing of the screen and it is completed at about one
thirtieth(1/30) the seconds.
ON
OFF
B
Contd…
• The components line of pictures can be drawn and refreshed by a
random scan system in any specified order as shown in figure below.
Contd…
• Refresh rate in random on random scan system depends on the number
of lines to be displayed picture definition now stored as a set of lines
drawings commands in a area of memory referred to as the refresh
display file. Sometimes it is also called as display program list.
• To display a specified picture, the system cycles through the set of
commands in the display file, drawing each component line in turn.
• Random scan display are design to draw all the component line of a
picture 30- 60 times each seconds.
• Random scan system are designed for line drawing applications and
can not display realistic shaded scenes.
Randon/Vector Display Architecture
Peripheral
CPU
Devices
System Bus
System Video
Memory Controller
Move(10-10)
Line(200,100,400,
600);
… Monitor
…
JMP Fig: Architecture of Vector Display System
Description
• The architecture of vector display is consist of CPU, a display
processor, input devices like keyboard, mouse and output device like
CRT monitor of and a system memory along with a refresh buffer
memory which is also called display program or display list.
• An application program is input and stored in the system memory
along with a graphics packages and they get executed in the CPU.
• Graphics commands is the application program are translated by the
graphics packages into a display processor to refresh the screen.
• Sometimes the display processor is referred to as display processor
unit (DPU) or graphics controller.
Contd…
• There are offcoruse no bit planes containing mapped pixel value as in
raster system. Instead the dislay buffer memory stores a set of lines
drawing commands along with the end point coordinate is a display
list or display program coated by graphics packages.
• The DPU executes each ommands during every refresh cycle and fetch
the vector generator with digital x and y. The vector generator converts
the digital signals into equivalent analog voltages.
• This cause the electron beam to move to the start point or from the
start point to the end point of a line. Thus, the beam sweep doesnot
follow any fixed pattern, the direction is arbitrary as directed by the
display commands.
Advantages and Disadvantages
• Advantages
• It can produce the smooth output primitives unlike raster because the CRT
beam directly follows the line path.
• It is better then raster scan display for real time dynamics.
• Since picture defination is stored as a set of line drawing instructions and not
as a set of intensity values for all screen points, vector display generally have
higher resolution then raster system.
• Disadvantages
• A vectr display system can not fill areas with patterns and manipulate bits.
That’s why this system can not display realistic shaded scenes.
• Time required for refreshing depend on its complexity( more the line longer
the time ). The flicker may appear as the complexity of the images increases.
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
GRAPHICS LANGUAGES
AND
ANIMATION TECHNIQUE
Pratik Dhital
Roll No-16
3rd Semester
BE Computer
Introduction
MS- Paint
Auto CAD
Photoshop
Instant Artist
Harvard Graphic
Logic Graphic
Logo Graphic
Graphical Language
The Graphical Kernel System (GKS) was the first ISO standard for low-
level computer graphics, introduced in 1977.