OpenGL Graphics. What Is OpenGL? 1. C-Based graphics framework. 2. Open specification. 3. State...

Preview:

Citation preview

OpenGL Graphics

What Is OpenGL?

1. C-Based graphics framework.

2. Open specification.

3. State machine.

4. Rendering pipeline.

5. A whole load of maths.

OpenGL Version History

OpenGL 1.x

- Graphics Courses

- Fixed Functionality Pipeline

OpenGL 2.x

- Fixed Functionality Pipeline

- Programmable Pipeline

OpenGL 3.x

- Programmable Pipeline (Only!)

gl.hMost basic, low level API

functions.

glu.hFunctions here are for

convienance and use gl.h.

glut.hA quick, cross-platform way of

drawing to the screen.

glew.hAllows easy access to OpenGL

extensions.

glTools.hA set of convenient functions to get yourself going with the new

OpenGL.

Open Specification

Multiple companies.

Multiple platforms.

Multiple programming languages.

State Machine

glEnable()

glDisable()

glEnableClientState()

glDisableClientState()

glBegin()

glEnd()

Rendering Pipeline

Maths

Geometry

Coordinates

Vectors

Matricies

Demo

Reading

Toby Howard's "Green OpenGL Guide".

OpenGL SuperBible 4th Edition

OpenGL SuperBible 5th Edition

OpenGL Programming Guide

Questions?

Recommended