Home » DEMO TEAPOTS

DEMO TEAPOTS

Features:

  • RT-DESK v1.0
  • x32 bits
  • GLUT
  • Single-threaded program

Description:

This application consists of a group of teapots that rotate and a light that rotates around them. The idea consists of modifying the behaviour of some aspect of the application during the runtime and seeing how the application behaves using both Continuous Mode and Discrete Mode.

Application commands

General commands for both modes:

  • q Quit the application
  • m Change mode
  • P Pause teapot rotation
  • p Pause light movementz
  • +/- Increase/decrease the number of teapots (max 25). Affects rnd load.
  • s Activate/deactivate shadows affects rnd load (careful! It duplicates the amount of teapots drawn)

With Discrete Mode on from the start, the controls that we can use in order to modify the rnd load are:

  • r Change fps. Possible periods (100, 40, 33.33, 16.67)ms

In order to modify the upd load you can:

  • t Change upd periods for the central teapot only. Possible periods (1, 0.1, 0.01, 200, 100, 40, 33.33, 16.67)ms
  • T Change upd periods for the rest of the teapots. Possible periods (200, 100, 40, 33.33, 16.67)ms
  • l Change upd periods for the light. Possible periods (1, 0.1, 0.01, 200, 100, 40, 33.33, 16.67)ms

 

 

 

 

Author: Vicente Broseta Toribio (vibroto<at>doctor<dot>upv<dot>es)