mElite 03: Let's add a control panel

Using your knowledge about viewports and stack matrices, you have to add a sort of control panel in the bottom of the window. In this control panel you have to:

  • draw the radar: a circle in which a mapping with the 3D world is created. The planet-satellite system has to appear in the radar as a colored point and to move coherently with the arrow keys.

  • draw a bar for speed level visualization: add the proper controls in order to avoid a negative speed and to fix a max speed.

You can click >>here<< to download an example of what you have to realize. You have to run
chmod +x melite3b
if you want a successful execution of the program.