Skip to content

K3nn3th2/house-generator

Repository files navigation

House Generator

Description

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:

  1. takes one second to let all of the houses appear completely (the highest one will take one second to be fully displayed),
  2. displays them for three seconds, and
  3. 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

Visuals

Houses rising Houses fully displayed

Installation

  • Download the files into a directory.

  • cd into the directory in a terminal and run make

Usage

simply run the compiled program. WASD keys can be used for movement.

Esc quits the program.

Authors and acknowledgment

Kenneth Allan

License

Free

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published