SlideShare a Scribd company logo
Open gl introduction
WHAT IS OPENGL?
 “a software interface to graphics hardware.”
 Low- level graphics API
 Fast and portable 3D graphics library
NOTE: OpenGL is ONLY a graphics library
3 OPENGL LIBRARIES
OpenGL (GL) – used in modeling an object via a set of geometric
primitives such as point, line and polygon.
OpenGL Utility Library (GLU)- important utilities (such as
setting camera view and projection) and more building models
(such as quadric surfaces and polygon tessellation).
OpenGL Utilities Toolkit (GLUT) – used for creating a window,
handling key and mouse inputs. It also provides more building
models (such as sphere and torus).
HOW TO INCLUDE OPENGL
LIBRARY
#include <gl/gl.h>
#include <gl/glu.h>
#include <gl/glut.h>
#include <gl/freeglut.h>
Silicon Graphics Inc. (SGI) used “IRIS GL”, a 3D programming
API in their high-end IRIS graphics workstations.
When SGI tried porting IRIS GL to other hardware platforms problems
occurred :(
OpenGL is the result of SGI’s efforts to improve IRIS GL’s portability
(came out in 1992).
HISTORY
 OpenGL 1.x - fixed function
 OpenGL 2.x - early programmable
 OpenGL 3.x/4.x - modern programmable,
Core profile and deprecation
 OpenGL ES 1.x - mobile fixed function
 OpenGL ES 2.x - mobile programmable
FIVE GENERATIONS OF
OPENGL
HOW OPENGL WORKS
OpenGL is a procedural rather than a descriptive graphics language.
Instead of describing the scene and how it should appear, the
programmer actually describes the steps necessary to achieve a certain
appearance or effect.
DESCRIPTIV
E
PROCEDURA
L
Orange cube
rotated at 90°
1. Rotate at 90°
2. Orange
3. Cube
4. Vertex 1 at [-1,1,1]
5. Vertex 2 at [1,1,1]
6. ….
7. ….
POPULAR OPENGL-BASED
PROGRAMS
Adobe After Effects
Autodesk Maya
Autodesk AutoCAD
Google Earth
Counter-Strike
Minecraft
Left 4 Dead 2
Portal2

More Related Content

PDF
Open gl basics
PPT
Open gl
PPT
Programming with OpenGL
PPT
Opengl (1)
PPTX
Lecture 6 introduction to open gl and glut
PPTX
What is OpenGL ?
PDF
OpenGL Introduction.
PDF
OpenGL Introduction
Open gl basics
Open gl
Programming with OpenGL
Opengl (1)
Lecture 6 introduction to open gl and glut
What is OpenGL ?
OpenGL Introduction.
OpenGL Introduction

What's hot (20)

PPTX
OpenGL basics
PDF
Opengl basics
PDF
Introduction of openGL
PPTX
OpenGL Introduction
PDF
Open gl
PPTX
Chapter02 graphics-programming
PPTX
Opengl presentation
PDF
Graphics programming in open gl
ODP
Cross Platform Qt
PDF
State of the Art OpenGL and Qt
 
PDF
Convert Your Legacy OpenGL Code to Modern OpenGL with Qt
 
PDF
Necessitas - Qt on Android - from FSCONS 2011
ODP
Qt Workshop
PDF
Understaing Android EGL
PPTX
OpenGL ES Presentation
PPTX
OpenGL Fixed Function to Shaders - Porting a fixed function application to “m...
 
PDF
GPGPU Programming @DroidconNL 2012 by Alten
PDF
Graphics Programming OpenGL & GLUT in Code::Blocks
PDF
Qt Graphics View Framework (Qt Developers Meetup Isreal)
OpenGL basics
Opengl basics
Introduction of openGL
OpenGL Introduction
Open gl
Chapter02 graphics-programming
Opengl presentation
Graphics programming in open gl
Cross Platform Qt
State of the Art OpenGL and Qt
 
Convert Your Legacy OpenGL Code to Modern OpenGL with Qt
 
Necessitas - Qt on Android - from FSCONS 2011
Qt Workshop
Understaing Android EGL
OpenGL ES Presentation
OpenGL Fixed Function to Shaders - Porting a fixed function application to “m...
 
GPGPU Programming @DroidconNL 2012 by Alten
Graphics Programming OpenGL & GLUT in Code::Blocks
Qt Graphics View Framework (Qt Developers Meetup Isreal)
Ad

Similar to Open gl introduction (20)

PPT
Open Graphics Library
PDF
18csl67 vtu lab manual
DOCX
Computer graphics workbook
PPT
openGL basics for sample program (1).ppt
PPT
openGL basics for sample program.ppt
PDF
Airplane game management system project report .pdf
PPT
SIGGRAPH Asia 2008 Modern OpenGL
PDF
OpenGL_Programming_Guide.pdf
PDF
AN INTERNSHIP REPORT ON AIRPLANE GAME MANAGEMENT SYSTEM PROJECT REPORT.
PPTX
UNIT 1 OPENGL_UPDATED .pptx
PPTX
Computer Graphics with OpenGL presentation Slides.pptx
PPTX
OpenGL
PPT
Introduction to OpenGL.ppt
PDF
Bouncing ball content management system project report.pdf
PPT
Hill ch2ed3
PPTX
Baiscs of OpenGL
PPTX
Graphics Libraries
PPT
01.Opengl_intro-2.ppt
PDF
1 introduction computer graphics
PPTX
OpenGL_summer2012.ccccccccccccccccccpptx
Open Graphics Library
18csl67 vtu lab manual
Computer graphics workbook
openGL basics for sample program (1).ppt
openGL basics for sample program.ppt
Airplane game management system project report .pdf
SIGGRAPH Asia 2008 Modern OpenGL
OpenGL_Programming_Guide.pdf
AN INTERNSHIP REPORT ON AIRPLANE GAME MANAGEMENT SYSTEM PROJECT REPORT.
UNIT 1 OPENGL_UPDATED .pptx
Computer Graphics with OpenGL presentation Slides.pptx
OpenGL
Introduction to OpenGL.ppt
Bouncing ball content management system project report.pdf
Hill ch2ed3
Baiscs of OpenGL
Graphics Libraries
01.Opengl_intro-2.ppt
1 introduction computer graphics
OpenGL_summer2012.ccccccccccccccccccpptx
Ad

More from abigail Dayrit (20)

PPTX
Polygon primitives
PPTX
Statistics(hypotheis testing )
PPTX
T test-for-a-mean
PPTX
PPTX
Statistics
PPTX
pre-colonial period
PPT
Malolos republic
PPTX
American period
PPTX
Filipino
PPTX
Fil 111
PPTX
Filipino report-diskurso
PPTX
Komunikasyon
PPT
Origin of life
PPT
01 the cell_theory
PPT
factoring polynomials
PPT
Verbrevf3 (1)
PPTX
The saa or aas theorem theorem
PPTX
Ugnayan ng wika sa tao
DOCX
PPT
Punctuation
Polygon primitives
Statistics(hypotheis testing )
T test-for-a-mean
Statistics
pre-colonial period
Malolos republic
American period
Filipino
Fil 111
Filipino report-diskurso
Komunikasyon
Origin of life
01 the cell_theory
factoring polynomials
Verbrevf3 (1)
The saa or aas theorem theorem
Ugnayan ng wika sa tao
Punctuation

Recently uploaded (20)

PPTX
Introduction-to-Literarature-and-Literary-Studies-week-Prelim-coverage.pptx
PDF
Complications of Minimal Access Surgery at WLH
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PPTX
202450812 BayCHI UCSC-SV 20250812 v17.pptx
PPTX
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
PDF
GENETICS IN BIOLOGY IN SECONDARY LEVEL FORM 3
PDF
01-Introduction-to-Information-Management.pdf
PPTX
Tissue processing ( HISTOPATHOLOGICAL TECHNIQUE
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PDF
Anesthesia in Laparoscopic Surgery in India
PDF
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
PPTX
master seminar digital applications in india
PDF
Weekly quiz Compilation Jan -July 25.pdf
PPTX
Lesson notes of climatology university.
PDF
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
PPTX
History, Philosophy and sociology of education (1).pptx
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PDF
Yogi Goddess Pres Conference Studio Updates
PDF
Computing-Curriculum for Schools in Ghana
Introduction-to-Literarature-and-Literary-Studies-week-Prelim-coverage.pptx
Complications of Minimal Access Surgery at WLH
Microbial diseases, their pathogenesis and prophylaxis
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
202450812 BayCHI UCSC-SV 20250812 v17.pptx
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
GENETICS IN BIOLOGY IN SECONDARY LEVEL FORM 3
01-Introduction-to-Information-Management.pdf
Tissue processing ( HISTOPATHOLOGICAL TECHNIQUE
Supply Chain Operations Speaking Notes -ICLT Program
Anesthesia in Laparoscopic Surgery in India
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
master seminar digital applications in india
Weekly quiz Compilation Jan -July 25.pdf
Lesson notes of climatology university.
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
History, Philosophy and sociology of education (1).pptx
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
Yogi Goddess Pres Conference Studio Updates
Computing-Curriculum for Schools in Ghana

Open gl introduction

  • 2. WHAT IS OPENGL?  “a software interface to graphics hardware.”  Low- level graphics API  Fast and portable 3D graphics library NOTE: OpenGL is ONLY a graphics library
  • 3. 3 OPENGL LIBRARIES OpenGL (GL) – used in modeling an object via a set of geometric primitives such as point, line and polygon. OpenGL Utility Library (GLU)- important utilities (such as setting camera view and projection) and more building models (such as quadric surfaces and polygon tessellation).
  • 4. OpenGL Utilities Toolkit (GLUT) – used for creating a window, handling key and mouse inputs. It also provides more building models (such as sphere and torus).
  • 5. HOW TO INCLUDE OPENGL LIBRARY #include <gl/gl.h> #include <gl/glu.h> #include <gl/glut.h>
  • 7. Silicon Graphics Inc. (SGI) used “IRIS GL”, a 3D programming API in their high-end IRIS graphics workstations. When SGI tried porting IRIS GL to other hardware platforms problems occurred :( OpenGL is the result of SGI’s efforts to improve IRIS GL’s portability (came out in 1992). HISTORY
  • 8.  OpenGL 1.x - fixed function  OpenGL 2.x - early programmable  OpenGL 3.x/4.x - modern programmable, Core profile and deprecation  OpenGL ES 1.x - mobile fixed function  OpenGL ES 2.x - mobile programmable FIVE GENERATIONS OF OPENGL
  • 9. HOW OPENGL WORKS OpenGL is a procedural rather than a descriptive graphics language. Instead of describing the scene and how it should appear, the programmer actually describes the steps necessary to achieve a certain appearance or effect.
  • 10. DESCRIPTIV E PROCEDURA L Orange cube rotated at 90° 1. Rotate at 90° 2. Orange 3. Cube 4. Vertex 1 at [-1,1,1] 5. Vertex 2 at [1,1,1] 6. …. 7. ….
  • 11. POPULAR OPENGL-BASED PROGRAMS Adobe After Effects Autodesk Maya Autodesk AutoCAD Google Earth Counter-Strike Minecraft Left 4 Dead 2 Portal2