SlideShare a Scribd company logo
1 of 22
NAME: MUHAMMAD TAYYAB MUSTAFA
ROLL NO: D-16-EE-27
TOPIC: COMPUTER GRAPHIC
SUBMITTED TO: SIR VINESH KUMAR
COMPUTER GRAPHICS
If Rembrandt were alive today, would he still paint with oil
on canvas... or sit calmly at a desk, hand on mouse, and
draw dazzling graphics on a computer screen? Most of us
would happily admit to having less talent in both hands
than a great painter like this had in a millimeter of his
pinkie, but computers can turn us into reasonably
competent, everyday artists all the same. Whether you're
an architect or a web designer, a fashion student or a
scientist, computer graphics can make your work quicker,
easier, and much more effective. How? Let's take a closer
look!
WHAT IS COMPUTER GRAPHICS?
Computer graphics means drawing pictures on a
computer screen. What's so good about that? Sketch
something on paper—a man or a house—and what you
have is a piece of analog information: the thing you
draw is a likeness or analogy of something in the real
world. Depending on the materials you use, changing
what you draw can be easy or hard: you can erase
pencil or charcoal marks easily enough, and you can
scrape off oil paints and redo them with no trouble; but
altering watercolors or permanent markers is an awful
lot more tricky.
That's the wonder of art, of course—it captures the fresh
dash of creativity—and that's exactly what we love about it.
But where everyday graphics is concerned, the immediacy
of art is also a huge drawback. As every sketching child
knows too well, if you draw the first part of your picture
too big, you'll struggle to squeeze everything else on the
page.... and what if you change your mind about where to
put something or you want to swap red for orange or green
for blue? Ever had one of those days where you rip up sheet
after sheet of spoiled paper and toss it in the trash?
That's why many artists, designers, and architects have
fallen in love with computer graphics.
Draw a picture on a computer screen and what you have
is a piece of digital information. It probably looks
similar to what you'd have drawn on paper—
the ghostly idea that was
hovering in your mind's eye
to begin with—but inside
the computer your picture
is stored as a series of
numbers.
Change the numbers and you can change the picture, in
the blink of an eye or even quicker. It's easy to shift
your picture around the screen, scale it up or down,
rotate it, swap the colors, and transform it in all kinds
of other ways. Once it's finished, you can save it,
incorporate it into a text document, print it out, upload
it to a web page, or email it to a client or work
colleague—all because it's digital information. (Find out
more about the benefits of digital in our main article
about analog and digital.)
RASTER AND VECTOR GRAPHICS
All computer art is digital, but there are two very
different ways of drawing digital images on a computer
screen, known as raster and vector graphics. Simple
computer graphic programs like Microsoft Paint and
Paint Shop Pro are based on raster,
while more sophisticated programs
such as Corel DRAW, AutoCAD, and
Adobe Illustrator use vector graphics.
So what exactly is the difference?
RASTER GRAPHICS
Stare hard at your computer screen and you'll notice
the pictures and words are made up of tiny colored dots
or squares called pixels. Most of the simple computer
graphic images we come across are pixelated in this
way, just like walls are built out of bricks. computer
screens, developed in the mid-20th century, worked
much like televisions, which used to build up their
moving pictures by "scanning" beams of electrons (tiny
charged particles inside atoms, also called cathode
rays) back and forth from top to bottom and left to
right—like a kind of instant electronic paintbrush.
This way of making a picture is
called raster scanning and that's
why building up a picture on a
computer screen out of pixels
is called raster graphics.
BITMAPS
You've probably heard of binary, the way that computers
represent decimal numbers (1,2,3,4 and so on) using just
the two digits zero and one (so the decimal number 5678
becomes 1011000101110 in binary computer speak).
Suppose you're a computer and you want to remember a
picture someone is drawing on your screen. If it's in black
and white, you could use a zero to store a white area of the
picture and a one to store a black area (or vice versa if you
prefer). Copying down each pixel in turn, you could
transform a picture filling an entire screen of, say, 800
pixels across by 600 pixels down into a list of 480,000 (800 x
600) binary zeros and ones.
This way of turning a picture into a computer file made up
of binary digits(which are called bits for short) is called
a bitmap, because there's a direct correspondence—a one-
to-one "mapping"—between every pixel in the picture and
every bit in the file. In practice, most bitmaps are of
colored pictures. If we use a single bit to represent each
pixel, we can only tell whether the pixel is on or off (white
or black); if we use (say) eight bits to represent each pixel,
we could remember eight different colors, but we'd
need eight times more memory (storage space inside the
computer) to store a picture the same size. The more colors
we want to represent, the more bits we need.
Raster graphics are simple to use and it's easy to see
how programs that use them do their stuff. If you draw
a pixel picture on your computer screen and you click a
button in your graphics package to "mirror“
the image (flip it from left to right
or right to left), all the computer
does is reverse the order of the
pixels by reversing the sequence
of zeros and ones that represent
them.
If you scale an image so it's twice the size, the
computer copies each pixel twice over (so the numbers
10110 become 1100111100) but the image becomes
noticeably more grainy and pixelated in the process.
That's one of the main drawbacks of using raster
graphics: they don't scale up to different sizes very
well. Another drawback is the amount of memory they
require. A really detailed photo might need 16 million
colors, which involves storing 24 bits per pixel and 24
times as much memory as a basic black-and-white
image.
RESOLUTION
The maximum number of pixels in an image (or on a
computer screen) is known as its resolution. The first
computer I ever used properly, a Commodore PET, had
an ultra-low resolution display with 80 characters across
by 25 lines down (so a maximum of 2000 letters,
numbers, or punctuation marks could be on the screen
at any one time); since each character was built from
an 8 × 8 square of pixels, that meant the screen had a
resolution of 640 × 200 = 128,000 pixels (or 0.128
Megapixels, where a Megapixel is one million pixels).
The laptop I'm using right now is set to a resolution of
1280 × 800 =1.024 Megapixels, which is roughly 7–8
times more detailed. A digital camera with 7 Megapixel
resolution would be roughly seven times more
detailed than the Resolution
laptop screen or about
50 times more detailed
Than that original
Commodore PET screen.
VECTOR GRAPHICS
There's an alternative method of computer graphics that
gets around the problems of raster graphics. Instead of
building up a picture out of pixels, you draw it a bit like a
child would by using simple straight and curved lines
called vectors or basic shapes (circles, curves, triangles,
and so on) known as primitives. With raster graphics, you
make a drawing of a house by building it from hundreds,
thousands, or millions of individual pixels; importantly,
each pixel has no connection to any other pixel except in
your brain. With vector graphics, you might draw a
rectangle for the basic house, smaller rectangles for the
windows and door and a cylinder for the smokestack.
Staring at the screen, a vector-graphic house still seems to
be drawn out of pixels, but now the pixels are precisely
related to one another—they're points along the various
lines or other shapes you've drawn. Drawing with straight
lines and curves instead of individual dots means you can
produce an image more quickly and store it with less
information: you could describe a vector-drawn house as
"two red triangles and a red rectangle (the roof) sitting on a
brown rectangle (the main building)," but you couldn't
summarize a pixelated image so simply. It's also much easier
to scale a vector-graphic image up and down by applying
mathematical formulas called algorithms that transform the
vectors from which your image is drawn.
Most modern computer graphics packages let you draw an
image using a mixture of raster or vector graphics, as you
wish, because sometimes one approach works better than
another—and sometimes you need to mix both types of
graphics in a single image. With a graphics package such as
the GIMP (GNU Image Manipulation Program), you can draw
curves on screen by tracing out and then filling in "paths"
(technically known as Bezier curves)
before converting them into pixels
("rasterizing" them) to incorporate
them into something like a bitmap
image.
3D GRAPHICS
Real life isn't like a computer game or a virtual
reality simulation. The very best CGI (computer-generated
imagery) animations are easy to tell apart from ones made
on film or video with real actors. When we look at objects
in the world around us, they don't appear to be drawn from
either pixels or vectors. In the blink of an eye, our brains
gather much more information from the real-world than
artists can include in even the most realistic computer-
graphic images. To make a computerized image look
anything like as realistic as a photograph (let alone a real-
world scene), we need to include far more than simply
millions of colored-in pixels.
Really sophisticated computer graphics programs use a
whole series of techniques to make hand-drawn (and often
completely imaginary) two-dimensional images look at least
as realistic as photographs. The simplest way of achieving
this is to rely on the same tricks that artists have always
used—such things as perspective (how
objects recede into the distance
toward a "vanishing point" on the
horizon) and hidden-surface
elimination (where nearby
things partly obscure ones
that are further away).
If you want realistic 3D artwork for such things as CAD
(computer-aided design) and virtual reality, you need
much more sophisticated graphic techniques. Rather
than drawing an object, you make a 3D computer
model of it inside the computer and manipulate it on
the screen in various ways. First, you build up a basic
three-dimensional outline of the object called a wire-
frame (because it's drawn from vectors that look like
they could be little metal wires). Then the model
is rigged, a process in which different bits of the object
are linked together a bit like the bones in a skeleton so
they move together in a realistic way.
Finally, the object is rendered, which involves shading the
outside parts with different textures (surface patterns),
colors, degrees of opacity or transparency, and so on.
Rendering is a hugely complex process that can take a
powerful computer hours, days, or even weeks to
complete. Sophisticated math is used to model how light
falls on the surface, typically using either ray tracing (a
relatively simple method of plotting how light bounces off
the surface of shiny objects in straight lines) or radiosity (a
more sophisticated method for modeling how everyday
objects reflect and scatter light in duller, more complex
ways).
THEEND

More Related Content

What's hot

computer graphics
computer graphicscomputer graphics
computer graphicsashpri156
 
Overview of graphics systems
Overview of  graphics systemsOverview of  graphics systems
Overview of graphics systemsJay Nagar
 
Introduction to Computer graphics
Introduction to Computer graphics Introduction to Computer graphics
Introduction to Computer graphics PrathimaBaliga
 
Introduction to computer graphics
Introduction to computer graphicsIntroduction to computer graphics
Introduction to computer graphicsPartnered Health
 
3D Graphics & Rendering in Computer Graphics
3D Graphics & Rendering in Computer Graphics3D Graphics & Rendering in Computer Graphics
3D Graphics & Rendering in Computer GraphicsFaraz Akhtar
 
Introduction to computer graphics
Introduction to computer graphicsIntroduction to computer graphics
Introduction to computer graphicssonal_badhe
 
Introduction Computer Graphic
Introduction Computer GraphicIntroduction Computer Graphic
Introduction Computer GraphicSuwanna Thongkhome
 
Computer graphics.
Computer graphics.Computer graphics.
Computer graphics.ALIHAMID71
 
Introduction to computer graphics
Introduction to computer graphicsIntroduction to computer graphics
Introduction to computer graphicsKamal Acharya
 
Graphics pdf
Graphics pdfGraphics pdf
Graphics pdfaa11bb11
 
Computer graphics
Computer graphicsComputer graphics
Computer graphicsSaju Maharjan
 
Computer Graphics
Computer GraphicsComputer Graphics
Computer GraphicsNANDINI SHARMA
 
Applications Of Computer Graphics
Applications Of Computer GraphicsApplications Of Computer Graphics
Applications Of Computer GraphicsMuhammad Amjad Rana
 

What's hot (20)

computer graphics
computer graphicscomputer graphics
computer graphics
 
Overview of graphics systems
Overview of  graphics systemsOverview of  graphics systems
Overview of graphics systems
 
Computer Graphics
Computer GraphicsComputer Graphics
Computer Graphics
 
Overview of Computer Graphics
Overview of Computer GraphicsOverview of Computer Graphics
Overview of Computer Graphics
 
Introduction to Computer graphics
Introduction to Computer graphics Introduction to Computer graphics
Introduction to Computer graphics
 
Introduction to computer graphics
Introduction to computer graphicsIntroduction to computer graphics
Introduction to computer graphics
 
3D Graphics & Rendering in Computer Graphics
3D Graphics & Rendering in Computer Graphics3D Graphics & Rendering in Computer Graphics
3D Graphics & Rendering in Computer Graphics
 
Introduction to computer graphics
Introduction to computer graphicsIntroduction to computer graphics
Introduction to computer graphics
 
Introduction Computer Graphic
Introduction Computer GraphicIntroduction Computer Graphic
Introduction Computer Graphic
 
lecture4 raster details in computer graphics(Computer graphics tutorials)
lecture4 raster details in computer graphics(Computer graphics tutorials)lecture4 raster details in computer graphics(Computer graphics tutorials)
lecture4 raster details in computer graphics(Computer graphics tutorials)
 
Computer graphics.
Computer graphics.Computer graphics.
Computer graphics.
 
Introduction to computer graphics
Introduction to computer graphicsIntroduction to computer graphics
Introduction to computer graphics
 
Graphics pdf
Graphics pdfGraphics pdf
Graphics pdf
 
Computer graphics
Computer graphicsComputer graphics
Computer graphics
 
Computer graphics
Computer graphicsComputer graphics
Computer graphics
 
Applications of computer graphics
Applications of computer graphicsApplications of computer graphics
Applications of computer graphics
 
Computer Graphics
Computer GraphicsComputer Graphics
Computer Graphics
 
Applications Of Computer Graphics
Applications Of Computer GraphicsApplications Of Computer Graphics
Applications Of Computer Graphics
 
Computer Graphics
Computer GraphicsComputer Graphics
Computer Graphics
 
Computer graphics
Computer graphicsComputer graphics
Computer graphics
 

Similar to computer graphics

Bitmap vs vector (report document)
Bitmap vs vector (report document)Bitmap vs vector (report document)
Bitmap vs vector (report document)eduriez
 
Prayas session cgi & cga by – soumalya nandy
Prayas session cgi & cga by – soumalya nandyPrayas session cgi & cga by – soumalya nandy
Prayas session cgi & cga by – soumalya nandyTenet Systems Pvt Ltd
 
Intro raster-graphics
Intro raster-graphicsIntro raster-graphics
Intro raster-graphicsVisCircle
 
Computer game graphics
Computer game graphicsComputer game graphics
Computer game graphicslouishardman
 
Computer game graphics
Computer game graphicsComputer game graphics
Computer game graphicslouishardman
 
Computer Graphics Power Point using Open GL and C Programming
Computer Graphics Power Point using Open GL and C ProgrammingComputer Graphics Power Point using Open GL and C Programming
Computer Graphics Power Point using Open GL and C Programmingkemal678348
 
Basic of computer graphic - Computer Graphic - Notes
Basic of computer graphic - Computer Graphic - NotesBasic of computer graphic - Computer Graphic - Notes
Basic of computer graphic - Computer Graphic - NotesOmprakash Chauhan
 
Computer Graphics Notes
Computer Graphics NotesComputer Graphics Notes
Computer Graphics NotesGurpreet singh
 
Introduction to Computer graphics
Introduction to Computer graphicsIntroduction to Computer graphics
Introduction to Computer graphicsLOKESH KUMAR
 
Westby DMT - Week 01 pixels
Westby DMT - Week 01 pixelsWestby DMT - Week 01 pixels
Westby DMT - Week 01 pixelsRobert Whyte
 
Unit 13 assignment 1 report
Unit 13 assignment 1 reportUnit 13 assignment 1 report
Unit 13 assignment 1 reporthaverstockmedia
 
Unit 13 assignment 1 vectors - elisabeth
Unit 13 assignment 1 vectors - elisabethUnit 13 assignment 1 vectors - elisabeth
Unit 13 assignment 1 vectors - elisabethhaverstockmedia
 
Digital graphics technology
Digital graphics technologyDigital graphics technology
Digital graphics technologyhadilasharif
 
Presentation.pptx
Presentation.pptxPresentation.pptx
Presentation.pptxIshooYadav
 

Similar to computer graphics (20)

Computer graphics, bba 1
Computer graphics, bba 1Computer graphics, bba 1
Computer graphics, bba 1
 
Computer graphics, group 9, bba a
Computer graphics, group 9, bba aComputer graphics, group 9, bba a
Computer graphics, group 9, bba a
 
Bitmap vs vector (report document)
Bitmap vs vector (report document)Bitmap vs vector (report document)
Bitmap vs vector (report document)
 
Prayas session cgi & cga by – soumalya nandy
Prayas session cgi & cga by – soumalya nandyPrayas session cgi & cga by – soumalya nandy
Prayas session cgi & cga by – soumalya nandy
 
Intro raster-graphics
Intro raster-graphicsIntro raster-graphics
Intro raster-graphics
 
Bitmap and vector
Bitmap and vectorBitmap and vector
Bitmap and vector
 
Bitmap and vector
Bitmap and vectorBitmap and vector
Bitmap and vector
 
Computer game graphics
Computer game graphicsComputer game graphics
Computer game graphics
 
Computer game graphics
Computer game graphicsComputer game graphics
Computer game graphics
 
Computer Graphics Power Point using Open GL and C Programming
Computer Graphics Power Point using Open GL and C ProgrammingComputer Graphics Power Point using Open GL and C Programming
Computer Graphics Power Point using Open GL and C Programming
 
Vector and bitmap
Vector and bitmapVector and bitmap
Vector and bitmap
 
Vector and bitmap
Vector and bitmapVector and bitmap
Vector and bitmap
 
Basic of computer graphic - Computer Graphic - Notes
Basic of computer graphic - Computer Graphic - NotesBasic of computer graphic - Computer Graphic - Notes
Basic of computer graphic - Computer Graphic - Notes
 
Computer Graphics Notes
Computer Graphics NotesComputer Graphics Notes
Computer Graphics Notes
 
Introduction to Computer graphics
Introduction to Computer graphicsIntroduction to Computer graphics
Introduction to Computer graphics
 
Westby DMT - Week 01 pixels
Westby DMT - Week 01 pixelsWestby DMT - Week 01 pixels
Westby DMT - Week 01 pixels
 
Unit 13 assignment 1 report
Unit 13 assignment 1 reportUnit 13 assignment 1 report
Unit 13 assignment 1 report
 
Unit 13 assignment 1 vectors - elisabeth
Unit 13 assignment 1 vectors - elisabethUnit 13 assignment 1 vectors - elisabeth
Unit 13 assignment 1 vectors - elisabeth
 
Digital graphics technology
Digital graphics technologyDigital graphics technology
Digital graphics technology
 
Presentation.pptx
Presentation.pptxPresentation.pptx
Presentation.pptx
 

Recently uploaded

APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSKurinjimalarL3
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxupamatechverse
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxAsutosh Ranjan
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxJoão Esperancinha
 
Analog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAnalog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAbhinavSharma374939
 
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINEDJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINEslot gacor bisa pakai pulsa
 
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptxthe ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptxhumanexperienceaaa
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidNikhilNagaraju
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSCAESB
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSRajkumarAkumalla
 
chaitra-1.pptx fake news detection using machine learning
chaitra-1.pptx  fake news detection using machine learningchaitra-1.pptx  fake news detection using machine learning
chaitra-1.pptx fake news detection using machine learningmisbanausheenparvam
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingrakeshbaidya232001
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 

Recently uploaded (20)

APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptx
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
 
Analog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAnalog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog Converter
 
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINEDJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
 
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptxthe ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
 
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptxExploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfid
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentation
 
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 
chaitra-1.pptx fake news detection using machine learning
chaitra-1.pptx  fake news detection using machine learningchaitra-1.pptx  fake news detection using machine learning
chaitra-1.pptx fake news detection using machine learning
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writing
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
 
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCRCall Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 

computer graphics

  • 1. NAME: MUHAMMAD TAYYAB MUSTAFA ROLL NO: D-16-EE-27 TOPIC: COMPUTER GRAPHIC SUBMITTED TO: SIR VINESH KUMAR
  • 2. COMPUTER GRAPHICS If Rembrandt were alive today, would he still paint with oil on canvas... or sit calmly at a desk, hand on mouse, and draw dazzling graphics on a computer screen? Most of us would happily admit to having less talent in both hands than a great painter like this had in a millimeter of his pinkie, but computers can turn us into reasonably competent, everyday artists all the same. Whether you're an architect or a web designer, a fashion student or a scientist, computer graphics can make your work quicker, easier, and much more effective. How? Let's take a closer look!
  • 3. WHAT IS COMPUTER GRAPHICS? Computer graphics means drawing pictures on a computer screen. What's so good about that? Sketch something on paper—a man or a house—and what you have is a piece of analog information: the thing you draw is a likeness or analogy of something in the real world. Depending on the materials you use, changing what you draw can be easy or hard: you can erase pencil or charcoal marks easily enough, and you can scrape off oil paints and redo them with no trouble; but altering watercolors or permanent markers is an awful lot more tricky.
  • 4. That's the wonder of art, of course—it captures the fresh dash of creativity—and that's exactly what we love about it. But where everyday graphics is concerned, the immediacy of art is also a huge drawback. As every sketching child knows too well, if you draw the first part of your picture too big, you'll struggle to squeeze everything else on the page.... and what if you change your mind about where to put something or you want to swap red for orange or green for blue? Ever had one of those days where you rip up sheet after sheet of spoiled paper and toss it in the trash? That's why many artists, designers, and architects have fallen in love with computer graphics.
  • 5. Draw a picture on a computer screen and what you have is a piece of digital information. It probably looks similar to what you'd have drawn on paper— the ghostly idea that was hovering in your mind's eye to begin with—but inside the computer your picture is stored as a series of numbers.
  • 6. Change the numbers and you can change the picture, in the blink of an eye or even quicker. It's easy to shift your picture around the screen, scale it up or down, rotate it, swap the colors, and transform it in all kinds of other ways. Once it's finished, you can save it, incorporate it into a text document, print it out, upload it to a web page, or email it to a client or work colleague—all because it's digital information. (Find out more about the benefits of digital in our main article about analog and digital.)
  • 7. RASTER AND VECTOR GRAPHICS All computer art is digital, but there are two very different ways of drawing digital images on a computer screen, known as raster and vector graphics. Simple computer graphic programs like Microsoft Paint and Paint Shop Pro are based on raster, while more sophisticated programs such as Corel DRAW, AutoCAD, and Adobe Illustrator use vector graphics. So what exactly is the difference?
  • 8. RASTER GRAPHICS Stare hard at your computer screen and you'll notice the pictures and words are made up of tiny colored dots or squares called pixels. Most of the simple computer graphic images we come across are pixelated in this way, just like walls are built out of bricks. computer screens, developed in the mid-20th century, worked much like televisions, which used to build up their moving pictures by "scanning" beams of electrons (tiny charged particles inside atoms, also called cathode rays) back and forth from top to bottom and left to right—like a kind of instant electronic paintbrush.
  • 9. This way of making a picture is called raster scanning and that's why building up a picture on a computer screen out of pixels is called raster graphics.
  • 10. BITMAPS You've probably heard of binary, the way that computers represent decimal numbers (1,2,3,4 and so on) using just the two digits zero and one (so the decimal number 5678 becomes 1011000101110 in binary computer speak). Suppose you're a computer and you want to remember a picture someone is drawing on your screen. If it's in black and white, you could use a zero to store a white area of the picture and a one to store a black area (or vice versa if you prefer). Copying down each pixel in turn, you could transform a picture filling an entire screen of, say, 800 pixels across by 600 pixels down into a list of 480,000 (800 x 600) binary zeros and ones.
  • 11. This way of turning a picture into a computer file made up of binary digits(which are called bits for short) is called a bitmap, because there's a direct correspondence—a one- to-one "mapping"—between every pixel in the picture and every bit in the file. In practice, most bitmaps are of colored pictures. If we use a single bit to represent each pixel, we can only tell whether the pixel is on or off (white or black); if we use (say) eight bits to represent each pixel, we could remember eight different colors, but we'd need eight times more memory (storage space inside the computer) to store a picture the same size. The more colors we want to represent, the more bits we need.
  • 12. Raster graphics are simple to use and it's easy to see how programs that use them do their stuff. If you draw a pixel picture on your computer screen and you click a button in your graphics package to "mirror“ the image (flip it from left to right or right to left), all the computer does is reverse the order of the pixels by reversing the sequence of zeros and ones that represent them.
  • 13. If you scale an image so it's twice the size, the computer copies each pixel twice over (so the numbers 10110 become 1100111100) but the image becomes noticeably more grainy and pixelated in the process. That's one of the main drawbacks of using raster graphics: they don't scale up to different sizes very well. Another drawback is the amount of memory they require. A really detailed photo might need 16 million colors, which involves storing 24 bits per pixel and 24 times as much memory as a basic black-and-white image.
  • 14. RESOLUTION The maximum number of pixels in an image (or on a computer screen) is known as its resolution. The first computer I ever used properly, a Commodore PET, had an ultra-low resolution display with 80 characters across by 25 lines down (so a maximum of 2000 letters, numbers, or punctuation marks could be on the screen at any one time); since each character was built from an 8 × 8 square of pixels, that meant the screen had a resolution of 640 × 200 = 128,000 pixels (or 0.128 Megapixels, where a Megapixel is one million pixels).
  • 15. The laptop I'm using right now is set to a resolution of 1280 × 800 =1.024 Megapixels, which is roughly 7–8 times more detailed. A digital camera with 7 Megapixel resolution would be roughly seven times more detailed than the Resolution laptop screen or about 50 times more detailed Than that original Commodore PET screen.
  • 16. VECTOR GRAPHICS There's an alternative method of computer graphics that gets around the problems of raster graphics. Instead of building up a picture out of pixels, you draw it a bit like a child would by using simple straight and curved lines called vectors or basic shapes (circles, curves, triangles, and so on) known as primitives. With raster graphics, you make a drawing of a house by building it from hundreds, thousands, or millions of individual pixels; importantly, each pixel has no connection to any other pixel except in your brain. With vector graphics, you might draw a rectangle for the basic house, smaller rectangles for the windows and door and a cylinder for the smokestack.
  • 17. Staring at the screen, a vector-graphic house still seems to be drawn out of pixels, but now the pixels are precisely related to one another—they're points along the various lines or other shapes you've drawn. Drawing with straight lines and curves instead of individual dots means you can produce an image more quickly and store it with less information: you could describe a vector-drawn house as "two red triangles and a red rectangle (the roof) sitting on a brown rectangle (the main building)," but you couldn't summarize a pixelated image so simply. It's also much easier to scale a vector-graphic image up and down by applying mathematical formulas called algorithms that transform the vectors from which your image is drawn.
  • 18. Most modern computer graphics packages let you draw an image using a mixture of raster or vector graphics, as you wish, because sometimes one approach works better than another—and sometimes you need to mix both types of graphics in a single image. With a graphics package such as the GIMP (GNU Image Manipulation Program), you can draw curves on screen by tracing out and then filling in "paths" (technically known as Bezier curves) before converting them into pixels ("rasterizing" them) to incorporate them into something like a bitmap image.
  • 19. 3D GRAPHICS Real life isn't like a computer game or a virtual reality simulation. The very best CGI (computer-generated imagery) animations are easy to tell apart from ones made on film or video with real actors. When we look at objects in the world around us, they don't appear to be drawn from either pixels or vectors. In the blink of an eye, our brains gather much more information from the real-world than artists can include in even the most realistic computer- graphic images. To make a computerized image look anything like as realistic as a photograph (let alone a real- world scene), we need to include far more than simply millions of colored-in pixels.
  • 20. Really sophisticated computer graphics programs use a whole series of techniques to make hand-drawn (and often completely imaginary) two-dimensional images look at least as realistic as photographs. The simplest way of achieving this is to rely on the same tricks that artists have always used—such things as perspective (how objects recede into the distance toward a "vanishing point" on the horizon) and hidden-surface elimination (where nearby things partly obscure ones that are further away).
  • 21. If you want realistic 3D artwork for such things as CAD (computer-aided design) and virtual reality, you need much more sophisticated graphic techniques. Rather than drawing an object, you make a 3D computer model of it inside the computer and manipulate it on the screen in various ways. First, you build up a basic three-dimensional outline of the object called a wire- frame (because it's drawn from vectors that look like they could be little metal wires). Then the model is rigged, a process in which different bits of the object are linked together a bit like the bones in a skeleton so they move together in a realistic way.
  • 22. Finally, the object is rendered, which involves shading the outside parts with different textures (surface patterns), colors, degrees of opacity or transparency, and so on. Rendering is a hugely complex process that can take a powerful computer hours, days, or even weeks to complete. Sophisticated math is used to model how light falls on the surface, typically using either ray tracing (a relatively simple method of plotting how light bounces off the surface of shiny objects in straight lines) or radiosity (a more sophisticated method for modeling how everyday objects reflect and scatter light in duller, more complex ways). THEEND