Week 15 Challenge: OpenGL
OpenGL (Open Graphics Library) is a cross-platform API that lets developers create applications that are actively implementing 2D and 3D graphics. It was started as a project by Silicon Graphics Inc. in 1992 and is currently maintained by the Khronos Group.
The most up-to-date release of OpenGL is 4.0.
The main task of this challenge is to get developers with (or without) OpenGL development experience to experiment with the possibilities offered by OpenGL.
Ideas to get started:
- Draw a primitive from scratch.
- Draw a primitive with a texture.
- Render a 3D model.
- Experiment with lighting.
OpenGL requires some additional configuration if the developer did not have it installed. A set of system-specific libraries is required to get it up and running.
To get started, GLUT (OpenGL Utility Toolkit) is needed. For more information about GLUT, please visit this page.
To download GLUT, visit this page.
If you are installing GLUT on Windows, you can watch this video (DevTube for Dream.In.Code) to see the installation steps in detail:
GLUT is generally used from a C++ program, however, binders for other languages are available as well. For a complete list, please visit this page.
The IDE you are using doesn't matter as long as you use a programming language that has a GLUT binder.
The Official Guide to Learning OpenGL, Version 1.1
OpenGL API Documentation
Swiftless OpenGL Tutorials
Using OpenGL/GLUT to Create 3D Scenes (Part 1, Part 2, Part 3)
If you need more help, feel free to post your question in the forums.