Course Web Pages
The videos below will help you get started with OpenGL. Examples are taken from Luke Benstead's Beginning OpenGL Game Programming, 2nd Ed.
Setting up an OpenGL project
See the robot_example project in Chapter 4's source code
Classes and Header Files
Based on the random_points_skeleton from the course page
OpenGL points (part 1)
Here we start looking at the OpenGL method calls in the random_points_skeleton project
OpenGL points (part 2)
Continuation of previous lecture.
Random Points Assignment
The ranges for the X, Y and Z values should be as follows:
// Let // X range from -3.5f to 3.5f // Y stay at 0.0f // Z range from -2.5f to 2.5f