The aim of this coursework was to produce a graphics demonstration programme written in C++ using OpenGL and GXbase.
The visual effects within this programme occur within a box that has, at any instant, three transparent sides. Various objects are animated within the box and visualised via either a pre-determined script or through discrete key input from the user.
There are 8 spotlights one on each corner of the box which are configurable to follow certain objects and rotate around visually depicting that motion.
Several Platonic solids are shown inside the box and then animated along certain fixed paths. The mesh of the objects are loaded from file.
A glowball is shown later which has six lights inside a sphere and it animates around lighting other objects.
A similar particle ball is then shown which consists of six particle emitters throwing out billboarded textured quads or points as particles while the ball animates. The particles also leave a scorch mark when they hit the walls of the box.
Shadow mapping is then shown at the end which implements shadows to be shown by all 8 lights for all objects inside the box.
Technologies used: C++, OpenGL, GXBase, GLSL
In order to build the following code you need to have the latest version of GXbase as well as hardware to support shaders.