0% found this document useful (0 votes)
73 views17 pages

What You'll See Today

This document provides an overview of what will be covered regarding OpenGL including: a general OpenGL introduction; why use OpenGL; its history; APIs; how it works; and its operation and architecture. Key points that will be discussed include that OpenGL is a cross-language, cross-platform API for 3D graphics; its origins and management by Khronos Group; how it uses the CPU and GPU; its geometric primitives; and examples of how effects like lighting, shadows, and antialiasing can be achieved.

Uploaded by

Ch Anas Abdullah
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
73 views17 pages

What You'll See Today

This document provides an overview of what will be covered regarding OpenGL including: a general OpenGL introduction; why use OpenGL; its history; APIs; how it works; and its operation and architecture. Key points that will be discussed include that OpenGL is a cross-language, cross-platform API for 3D graphics; its origins and management by Khronos Group; how it uses the CPU and GPU; its geometric primitives; and examples of how effects like lighting, shadows, and antialiasing can be achieved.

Uploaded by

Ch Anas Abdullah
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 17

What You’ll See Today

 General OpenGL Introduction


 Why Use OpenGL
 OpenGL History
 API’s of OpenGL
 Working of OpenGL
 Operation & Architecture of OpenGL

1 1
OpenGL Introduction
The OpenGL is a software interface to graphics hardware. (The
GL stands for Graphics Library.) It allows you to create
interactive programs that produce color images of moving
three−dimensional objects.

With OpenGL, you can control computer−graphics technology


to produce realistic pictures in imaginative ways.

2
What Is OpenGL?
 OpenGL is a Cross Language, Cross platform Application Programming
Interface(Api)

 Cross Language
 Open Graphic Library execute on any programming language like C+

+, C, Java, CSharp, JavaScript etc.

 Cross platform
 In computing cross-platform software is computer software that is
implemented on multiple computing platforms.

3
History
 OpenGL is managed by the non-profit organization,
Khronos Group.

 it is designed to be implemented mostly or entirely in


hardware.

 The CPU (central processing unit) & GPU (graphics


processing unit)

 Used for 2D and 3D Vector graphics.

44
OpenGL Geometric Primitives
 All geometric primitives are specified by vertices

GL_LINES
GL_POLYGON
GL_LINE_STRIP GL_LINE_LOOP
GL_POINTS

GL_TRIANGLES

GL_QUADS
GL_QUAD_STRIP
GL_TRIANGLE_STRIP GL_TRIANGLE_FAN

55
Working of OpenGL
 Let’s take a look at the color plates they illustrate typical uses of
OpenGL.
 The following list describes in general terms how these pictures
were made.

"Plate 1" shows the entire scene displayed as a wireframe model.

6
Working of OpenGL
 "Plate 2" shows a depth−cued version of the same wireframe
scene.

7
Working of OpenGL
"Plate 3" shows an Antialiased version of the wireframe scene.
Antialiasing is a technique for reducing the jagged edges.

8
Aliased vs Anti-aliased

9
Working of OpenGL
"Plate 4" shows a flat−shaded, unlit version of the scene. The
objects in the scene are now shown as solid.

10
Working of OpenGL
"Plate 5" shows a lit, smooth−shaded version of the scene.

11
Working of OpenGL
"Plate 6" adds shadows to the previous version of the scene.

12
Working of OpenGL
"Plate 8" A close-up shot - the scene from a different viewpoint.

13
Working of OpenGL
"Plate 7" shows a motion−blurred object in the scene.

14
Working of OpenGL
"Plate 9" brings back the use of fog, which was seen in "Plate 2,"
to show the presence of smoke particles in the air.

15
Working of OpenGL
 "Plate 10" shows the depth−of−field effect, which simulates
the inability of a camera lens to maintain all objects in a
photographed scene in focus.

16
Thank you

17

You might also like