Skip to content

Kanoniba/tuio-simulator

 
 

Repository files navigation

# Overview

The aim of this project is the development of a New TUIO Simulator for fast development and debugging of Multi-touch Applications.TUIO is a versatile protocol, designed specifically to meet the requirements of table-top tangible user interfaces.In order to develop applications one has to wait till one gets the required multi-touch screen.There is a Java based TUIO simulator but it does not help in utilizing the full capabilities of the protocol and only preliminary applications can be developed using it.

This project aims at a new Qt based fast and full featured simulator for Multi-Touch applications.The functionalities implemented are :

1. User will be able to add customizable polygons to the table and thus the application could be developed for all sort of items.

2. The items will be able to rotate and translate independently and concurrently too.

3.The user will be able to set a path for the items to follow during the animation run and hence he/she will be relieved of moving the items again and again by the mouse. The points on the path is given by clicking which are interpolated using Bezier curves.

4.The items created can be saved individually or in groups as a session in an XML file which can be reloaded on a future run so that the same gestures could be repeated again.

5.The simulator is now able to transmit TUIO data for multiple instances of both cursor and object - for created as well as uploaded items .

6.On the animation timeline , the objects can now be set to animate during a normalized time period, so that changing the timeline affects the period of animation equally to all.

7. Multiple customizable TUIO sender can be set.

8. Two-finger emulation with right click supported. This is a most wanted feature from the Apple Simulator and can be used to simulate pinching and zooming !!

9. Opacity control helps you make the simulator transparent and keep it above the application, thus giving an impression of touching the application itself.

10. Resize Table to fit your multi touch application.

SIMTOUCH : SimTouch is another TUIO simulator build using the Adobe Air runtime. The core benefit to using SimTouch is the transparent background allowing the application developer to have a better grasp of what he/she is 'touching' http://code.google.com/p/simtouch/

# Considerations

For QMTSim 1.0 , when the simulator is run for the first time, the scene contains no object.
Extra customized objects can be put using the dialog.

In order to move the object, drag it with the left mouse button pressed.
In order to rotate the object, select it and then use Key-R to rotate clockwise and press Key-L to rotate counter-clockwise.
Item can be translated and rotated at the same time.

In order to set the animation path of an item, select an item by clicking it and then press "Set Path" button.
Add points numerically or by clicking on the scene. Select the amount odf smoothness of the path.
Add atleast three points .
Preview the path and set it for the item.

Select the time of animation and then start the animation.Pause and stop will be done by the same button.

The items can be selected and saved in a XML file. Any number of objects can be saved in a file and they can be uploaded 
again , saving the time to re-create them and set their properties.

The TUIO data transmission is fully implemented and tested using TUIO Demo and TUIO Dump.Transmission can be stopped at any time and then resumed again.

About

Cross Platform Socket Based TUIO testing utility.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published