Skip to content
Asger edited this page Nov 21, 2013 · 6 revisions

In the DEMO applications, the keyboard is used for all inputs. The workflow is to select parameters (discretization, velocity and accuracy), then the type of motion (the velocity function) and finally start the motion by pressing SPACE. Furthermore, you can specify the model by setting the model_file_name variable to the desired .dsc file. Alternatively you can specify the model at start-up by giving model followed to the desired file as input parameter. A .dsc file can be generated from a Wavefront .obj file using the SCGenerator (the source code is available in the SCGenerator folder).

A complete list of options are:

 *** SELECT PARAMETERS ***
 ,:         Decreases discretization by 0.5 to a minimum of 1.
 .:         Increases discretization by 0.5 to a maximum of 100.
 -:         Decreases velocity by 1 to a minimum of 1.
 +:         Increases velocity by 1 to a maximum of 100.
 >:         Decreases accuracy by 1 to a minimum of 1.
 <:         Increases accuracy by 1 to a maximum of 100.
 
 *** SELECT MOTION ***
 1:         Selects rotation.
 2:         Selects smoothing.
 3:         Selects expansion.
 
 *** START/STOP MOTION ***
 SPACE:     Starts/pauses the current motion.
 0:         Stops the current motion.
 ESCAPE:    Stops the current motion and exits the application
 m:         Moves the interface vertices one time step according to the current velocity function.
 
 *** MISCELLANEOUS ***
 r:         Reloads the model.
 t:         Performs a test on the current velocity function.
 s:         Takes a screen shot.
 e:         Export the simplicial complex to a .dsc file.
 i:         Export the surface mesh to a .obj file.
 w:         Switch wireframe rendering on and off.
 TAB:       Switches the display type (Surface, wireframe, edges, etc.).

Clone this wiki locally