This Program displays a random number of houses in OpenGL. These houses appear to "grow" out of the ground and disappear again, repeatedly. Some of them are arranged similiar to a village road in real life, some are randomly placed in the scene. The program will deliver different graphics every time it is run.
The animation cycle does the following:
- takes one second to let all of the houses appear completely (the highest one will take one second to be fully displayed),
- displays them for three seconds, and
- lets them disappear again within one second.
In between the cycles, all of the houses are assigned new random dimensional attribute values which are displayed in the next cycle.
Developed using
- G++ 13.2.1
- Glew 2.2.0,
- GLFW 3.3.8
- OpenGL 3.3
- glm 0.9.9.8
-
Download the files into a directory.
-
cd
into the directory in a terminal and runmake
simply run the compiled program. WASD keys can be used for movement.
Esc quits the program.
Kenneth Allan
Free