I am currently trying to create a terrain generation system (for my 3D game) with OpenGL 2.1.
The way I am doing it requires the creation of a massive 2D square that consists of multiple smaller squares. After the flat square is generated, the points are randomly offset in the y axis, making it into a 3D structure.
But I can't seem to figure out how to generate this using GL_QUAD_STRIP. Can someone please help me figure this out?
P.s. I know my method may not be the best, but I would like to get it to work anyway as it suits my game