OpenGL rendering context can be setup as a:
In this module, we will only be
writing OpenGL 4.0 applications using a core context. This is a module on modern
- Compatibility context: All deprecated OpenGL functions still
available. May run slower because of
additional state variables that must be tracked.
- Core context: Deprecated OpenGL functions unavailable. Good for writing efficient code that does not
use deprecated functions.
modern OpenGL, there is no built-in lighting model, matrix stacks, easy to code
immediate mode glBegin / glEnd
functions, or camera functions (gluLookAt, gluPerspective,
etc.). Quadrilateral and polygon
primitives have been dropped, along with display lists, vertex arrays, the
accumulation buffer, alpha test and more. Shader programming is