Objective:

  • Detect gesture as tuning gesture
  • Find discrete parameter of selected object
  • Use gesture to tune the parameter and update the object

Implementation Steps

  1. Detect hand gesture as tuning gesture (in our current example, we are using thumb-up gesture, it can be customized, and the only requirement is the direction of the palm should be able to capture), trigger tuning functions.
  2. Find the json file of the selected object from backend compiler, to look for discrete parameters (leg number for Stool, cross piece for Canoe and Trimaran) for tuning modification.
  3. When the palm direction is hozitonal, set a boolen to be true, indicating the tuning process begins.
  4. Turn the wrist in a way similar to turning a screw; when the thumb points upwards, the gesture send "add one" signal to the discrete parameter; when the thumb points downwards, the gesture send "minus one" signal to the discrete parameter.
  5. When the parameter receives new signal from gesture, update the selected object, and reset all boolen and signal variables to be ready for next tuning modification.
  6. Limitation: Current tuning gesture only functions on the first discrete parameter found in the object, if the object has more than one discrete parameter, there should come up with a new way to determine which parameter is meant for modification.

Demo video of tuning discrete parameter

This demo video shows:

  • The hand can create new object, select it for modification
  • The system can find discrete parameter of the selected object (if any)
  • The hand can tune the discrete parameter by turning the wrist
  • The object can be reset to initial default position, rotation and parameters
  • The Exit button functions

Next Post Previous Post