computer graphics - department of aerospace engineering

98
Computer Graphics Dr. S.M. Malaek Assistant: M. Younesi

Upload: others

Post on 12-Sep-2021

3 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Computer Graphics - Department of Aerospace Engineering

Computer Graphics

Dr. S.M. MalaekAssistant: M. Younesi

Page 2: Computer Graphics - Department of Aerospace Engineering

Computer Graphics

Introduction to Computer Graphics, Anirban Mukhopadhyay, ArupChattopadhyay

COMPUTER GRAPHICS, Donald Haern, M. Pauline Baker (Second Edition)

روشهاي مدلسازي در محيط مجازي كامپيوتر، دكتر سيدمحمدباقر ملائك، معصومه يونسي

Textbook:Sunday/Tuesday 13:30-15Time:

Page 3: Computer Graphics - Department of Aerospace Engineering

Modeling

Computers have become a powerful tool for the rapid and economical production of pictures and models.

There is no area in which graphics displays cannot be used to some advantage.

Page 4: Computer Graphics - Department of Aerospace Engineering

What is Computer Graphics?

Computer graphics generally means creation, storage and manipulationof models and images.

Page 5: Computer Graphics - Department of Aerospace Engineering

What is Computer Graphics?

Such models come from diverse and expanding set of fields including physical, mathematical, artistic, biological, economical, … .

Page 6: Computer Graphics - Department of Aerospace Engineering

Model

Model, models, or modeling: a pattern, plan, representation, or description designed to show the structure or working of an object, system, or concept.

Page 7: Computer Graphics - Department of Aerospace Engineering

Physical Model

Page 8: Computer Graphics - Department of Aerospace Engineering

Physical Model

A physical model is used to mean a physical representation of some things, for example a bolt or the solar system.

Page 9: Computer Graphics - Department of Aerospace Engineering

Physical Model

A scale model of the Singapore City Centre.

The geometry of the model and the object it represents are often similar in the sense that one is a rescaling of the other.

Page 10: Computer Graphics - Department of Aerospace Engineering

Physical Model

Model of a war scene.

Page 11: Computer Graphics - Department of Aerospace Engineering

Physical Model

Model of molecule.

Page 12: Computer Graphics - Department of Aerospace Engineering

Physical Model

Cuddly toy

Page 13: Computer Graphics - Department of Aerospace Engineering

Mathematical Model

Page 14: Computer Graphics - Department of Aerospace Engineering

Mathematical ModelA mathematical mode: it uses mathematical language to describe the behaviour of a system.

Mathematical models are used in the science, engineering, economics and …

Page 15: Computer Graphics - Department of Aerospace Engineering

Mathematical Model

Examples:Population Growth

Model of a particle in a potential field.

Page 16: Computer Graphics - Department of Aerospace Engineering

Mathematical Model

A mathematical model describes a system by a set of variables and a set of equations that establish relationship between the variables.

Page 17: Computer Graphics - Department of Aerospace Engineering

Economics Model

Page 18: Computer Graphics - Department of Aerospace Engineering

Economic Model

In economics, a model is a theoretical construct that represents economic processes by a set of variables and a set of logical and quantitative relationships between them.

Page 19: Computer Graphics - Department of Aerospace Engineering

Economic Model

Economic models have two function:

Simplification

Selection

Page 20: Computer Graphics - Department of Aerospace Engineering

What is Computer Graphics?William Fetter coined term “computer graphics” in 1960 to describe new design methods he was pursuing at Boeing.

Created a series of widely reproduced images on pen plotter exploring cockpitdesign, using 3D model of human body.

Page 21: Computer Graphics - Department of Aerospace Engineering

What is Computer Graphics?“Perhaps the best way to define computer graphics is to find out what it is not. It is not a machine. It is not a computer, nor a group of computer programs. It is not the know-how of a graphic designer, a programmer, a writer, a motion picture specialist, or a reproduction specialist.

Computer graphics is all these – a consciously managed and documented technology directed toward communicating information accurately and descriptively.”

Page 22: Computer Graphics - Department of Aerospace Engineering

What is Interactive Computer Graphics?

User controls contents, structure, and appearance of objects and their displayed images via rapid visual feedback.

Page 23: Computer Graphics - Department of Aerospace Engineering

Interactive Computer GraphicsBasic components of an interactive graphics system:

input (e.g., mouse, tablet and stylus, scanner…)processing (and storage)display/output (e.g., screen, paper-based printer, video recorder …)

Page 24: Computer Graphics - Department of Aerospace Engineering

First truly interactive graphics system, Sketchpad, pioneered at MIT by Ivan Sutherland for his 1963 Ph.D. thesis.

Sketchpad in 1963. Note use of a CRT monitor, light pen and function-key panel.

Interactive Computer Graphics

Page 25: Computer Graphics - Department of Aerospace Engineering

Before Sketchpad, output via plotters/printers, input via keypunch.

Card punching. IBM 704 . took up a whole room and was capable of about 4,000 arithmetic operations/second.

Interactive Computer Graphics

Page 26: Computer Graphics - Department of Aerospace Engineering

“The Sketchpad system uses drawing as a novel communication medium for a computer. The system contains input, output, and computation programs which enable it to interpret information drawn directly on a computer display. ”

Interactive Computer Graphics

Page 27: Computer Graphics - Department of Aerospace Engineering

“Sketchpad has shown the most usefulness as an aid to the understanding of processes, such as the motion of linkages, which can be described with pictures. Sketchpad also makes it easy to draw highly repetitive or highly accurate drawings and to change drawings previously drawn with it…”

Interactive Computer Graphics

Page 28: Computer Graphics - Department of Aerospace Engineering

Three factors be considered:

Time

Cost

Quality

Interactive Computer Graphics

Page 29: Computer Graphics - Department of Aerospace Engineering

Interactive Computer GraphicsCost/Time ($/hr): Whirlwind, built in early 50’s at MIT, cost $4.5 million and could perform 40,000 additions/second. Mac 512K, list price $3,195 in 1984, could do 500,000. Today, commodity PCs perform approximately two or three billion operations/second.

Page 30: Computer Graphics - Department of Aerospace Engineering

Quality: Eliminates error propagation by using data bases and transfer of data.

Interactive Computer Graphics

Page 31: Computer Graphics - Department of Aerospace Engineering

Applications

Computer Aided DesignPresentation GraphicsComputer ArtEntertainmentEducation and trainingVisualizationImage ProcessingGraphics User Interfaces

Page 32: Computer Graphics - Department of Aerospace Engineering

Applications Computer Aided Design

(CAD)

Page 33: Computer Graphics - Department of Aerospace Engineering

ApplicationsComputer Aided Design (CAD)

A major use of computer graphics in design processes, particularly for engineering and architectural system. But almost all product are now computer designed.

Page 34: Computer Graphics - Department of Aerospace Engineering

ApplicationsComputer Aided Design (CAD)

For some design applications, objects are first displayed in a wireframeoutline form.

Wireframe (outline) form shows the overall shape and internal features of objects.

Page 35: Computer Graphics - Department of Aerospace Engineering

ApplicationsComputer Aided Design (CAD)

CAD methods are now used in the design of:

Buildings

Page 36: Computer Graphics - Department of Aerospace Engineering

ApplicationsComputer Aided Design (CAD)

Automobiles

Page 37: Computer Graphics - Department of Aerospace Engineering

ApplicationsComputer Aided Design (CAD)

Aircraft

Page 38: Computer Graphics - Department of Aerospace Engineering

ApplicationsComputer Aided Design (CAD)

Watercraft

Page 39: Computer Graphics - Department of Aerospace Engineering

ApplicationsComputer Aided Design (CAD)

SpacecraftTextiles…

Page 40: Computer Graphics - Department of Aerospace Engineering

ApplicationsComputer Aided Design (CAD)

Software package for CAD applications typically provide the designer with a multi-window environment.

Page 41: Computer Graphics - Department of Aerospace Engineering

ApplicationsComputer Aided Design (CAD)

Circuits designed by successively placing components into the layout, with the graphics package automatically providing the connections between components.

Page 42: Computer Graphics - Department of Aerospace Engineering

ApplicationsComputer Aided Design (CAD)

Animation are often used in CAD applications.

Animation in virtual reality environment are used to determine how system operators are affected by certain motion.

Page 43: Computer Graphics - Department of Aerospace Engineering

ApplicationsComputer Aided Design (CAD)

Virtual Reality (VR)Fishtank VR

Page 44: Computer Graphics - Department of Aerospace Engineering

ApplicationsComputer Aided Design (CAD)

The manufacturing process is also tied in to the computer description of designed objects to automate the construction of the product.

Page 45: Computer Graphics - Department of Aerospace Engineering

ApplicationsComputer Aided Design (CAD)

Architectural Designs

Page 46: Computer Graphics - Department of Aerospace Engineering

ApplicationsComputer Aided Design (CAD)

Rug Pattern

Page 47: Computer Graphics - Department of Aerospace Engineering

Applications

Presentation Graphics

Page 48: Computer Graphics - Department of Aerospace Engineering

ApplicationsPresentation Graphics

Presentation graphics used to product illustrations for reports or to generate 35-mm slides or transparencies for use with projectors.

Page 49: Computer Graphics - Department of Aerospace Engineering

ApplicationsPresentation Graphics

Presentation graphics is used to:StatisticalMathematicalScientificEconomic dataManagerial reportConsumer information bulletins

Page 50: Computer Graphics - Department of Aerospace Engineering

ApplicationsPresentation Graphics

Typical examples of presentation graphics are:

Bar GraphsLine GraphsSurface GraphsPie Charts

Page 51: Computer Graphics - Department of Aerospace Engineering

ApplicationsPresentation Graphics

Typical examples of presentation graphics are:

HistogramTask Schedule ChartInventory ChartProduction Chart

Page 52: Computer Graphics - Department of Aerospace Engineering

ApplicationsPresentation Graphics

Bar Charts

Page 53: Computer Graphics - Department of Aerospace Engineering

ApplicationsPresentation Graphics

Line Graphs

0

5

10

15

20

25

30

1 2 3 4

Series1Series2Series3

Page 54: Computer Graphics - Department of Aerospace Engineering

ApplicationsPresentation Graphics

Surface Graphs

Page 55: Computer Graphics - Department of Aerospace Engineering

ApplicationsPresentation Graphics

Pie Charts

Page 56: Computer Graphics - Department of Aerospace Engineering

ApplicationsPresentation Graphics

Histogram: A histogram is the graphical version of a able which shows what property of cases fall into each of several or many specified categories.

Page 57: Computer Graphics - Department of Aerospace Engineering

ApplicationsPresentation Graphics

Task Scheduling chart: In project management, a schedule consists of a list of a project’s terminal elements with intended start and finish dates.

Page 58: Computer Graphics - Department of Aerospace Engineering

ApplicationsPresentation Graphics

Production Chart

Page 59: Computer Graphics - Department of Aerospace Engineering

ApplicationsPresentation Graphics

Export Chart

Page 60: Computer Graphics - Department of Aerospace Engineering

Applications

Computer Art

Page 61: Computer Graphics - Department of Aerospace Engineering

ApplicationsComputer Art

Computer graphics are widely used in both fine art and commercial artapplications.

Page 62: Computer Graphics - Department of Aerospace Engineering

ApplicationsComputer Art

Fine ArtPaintbrush Program:It allows artists to “paint” pictures on the screen of a video monitor.

Page 63: Computer Graphics - Department of Aerospace Engineering

ApplicationsComputer Art

Example of Paintbrush Methods:

Page 64: Computer Graphics - Department of Aerospace Engineering

ApplicationsComputer Art

Commercial ArtLogosPage layout (Combining text and graphics)

TV Advertising Spots

Page 65: Computer Graphics - Department of Aerospace Engineering

ApplicationsComputer Art

Commercial ArtAdvertising

Page 66: Computer Graphics - Department of Aerospace Engineering

ApplicationsComputer Art

Commercial ArtMorphing: Where one object is transformed (metamorphosed) into another.

Page 67: Computer Graphics - Department of Aerospace Engineering

ApplicationsComputer Art

Commercial ArtMorphing

Page 68: Computer Graphics - Department of Aerospace Engineering

Applications

Entertainment

Page 69: Computer Graphics - Department of Aerospace Engineering

ApplicationsEntertainment

Computer graphics are now commonly used in making motion pictures, music video, and television shows.

Page 70: Computer Graphics - Department of Aerospace Engineering

ApplicationsEntertainment

TV Shows

Page 71: Computer Graphics - Department of Aerospace Engineering

ApplicationsEntertainment

Games

Page 72: Computer Graphics - Department of Aerospace Engineering

ApplicationsEntertainment

Games

Page 73: Computer Graphics - Department of Aerospace Engineering

Applications

Education and Training

Page 74: Computer Graphics - Department of Aerospace Engineering

ApplicationsEducation and Training

Models of physical systems, physiological systems, population trends can help trainees to understand the operation of the system.

Page 75: Computer Graphics - Department of Aerospace Engineering

ApplicationsEducation and Training

For some training applications, special systems are designed.

Color-coded diagram used to explain the operation of a nuclear reactor.

Page 76: Computer Graphics - Department of Aerospace Engineering

ApplicationsEducation and Training

Special systems are the simulators for practice session or training of ship captains, aircraft pilots, and air traffic control personnel.

Page 77: Computer Graphics - Department of Aerospace Engineering

ApplicationsEducation and Training

Flight Simulator

Page 78: Computer Graphics - Department of Aerospace Engineering

ApplicationsEducation and Training

Flight Simulator

Page 79: Computer Graphics - Department of Aerospace Engineering

ApplicationsEducation and Training

Flight Simulator

Page 80: Computer Graphics - Department of Aerospace Engineering

ApplicationsEducation and Training

Naval Simulator

Page 81: Computer Graphics - Department of Aerospace Engineering

ApplicationsEducation and Training

Naval Simulator

Page 82: Computer Graphics - Department of Aerospace Engineering

Applications

Visualization

Page 83: Computer Graphics - Department of Aerospace Engineering

ApplicationsVisualization

Producing graphical representation for scientific, engineering, and medical data sets and processes is generally referred to as scientific visualization.The term business visualization is used in connection with data sets related to commerce, industry, and other nonscientific areas.

Page 84: Computer Graphics - Department of Aerospace Engineering

ApplicationsVisualization

A Color-coded with 16 million density points of relative brightness.

Page 85: Computer Graphics - Department of Aerospace Engineering

ApplicationsVisualization

Visualisation Techniques for Architecture

Page 86: Computer Graphics - Department of Aerospace Engineering

ApplicationsVisualization

Distribution of galaxies

Page 87: Computer Graphics - Department of Aerospace Engineering

ApplicationsVisualization

Visualisation of confocal microscope data

Page 88: Computer Graphics - Department of Aerospace Engineering

ApplicationsVisualization

Mathematical data.

Page 89: Computer Graphics - Department of Aerospace Engineering

ApplicationsVisualization

Medical data.

Page 90: Computer Graphics - Department of Aerospace Engineering

ApplicationsVisualization

Medical Data

Page 91: Computer Graphics - Department of Aerospace Engineering

ApplicationsVisualization

Mars renderings

Page 92: Computer Graphics - Department of Aerospace Engineering

ApplicationsVisualization

Mars renderings

Page 93: Computer Graphics - Department of Aerospace Engineering

Applications

Image Processing

Page 94: Computer Graphics - Department of Aerospace Engineering

ApplicationsImage Processing

Image processing applies techniques to modify or interpret existing pictures, such as photographs and TV scans.

Medicine uses these techniques to model and study physic functions, to artificial limbs, and to plan and practice surgery.

Page 95: Computer Graphics - Department of Aerospace Engineering

ApplicationsImage Processing

Medical Visualization

Page 96: Computer Graphics - Department of Aerospace Engineering

ApplicationsGraphics User Interfaces

Page 97: Computer Graphics - Department of Aerospace Engineering

ApplicationsGraphics User Interfaces

A major component of a graphical interface is a window manager that allows a user to display multi-window areas.

Page 98: Computer Graphics - Department of Aerospace Engineering

ApplicationsGraphics User Interfaces

Interfaces also display menus and icons for fast selection of processing options or parameter values.

An icon is a graphical symbol that is designed to look like the processing option it represent.