How To Use Touch Compounds? and are there any docs or example files to learning from?
How To Use Touch Compounds? and are there any docs or example files to learning from?
You have to build your 3D controls as a regular 3D scene along with their different animations for pressing/releasing, selected states etc.
Then you can use the Touch modules to control them. In this case you do not use a Paint View to draw the 2D images of the controls. Instead simply use the outputs of the Touch modules to control the 3D elements, or their animations. For e.g. in the case of a Touch Menu you can use the Item Selected, Item 1, 2, 3.. etc. outputs to trigger the corresponding animations in your 3D scene (transition to selected state, etc.)
Touch modules can be used to specify touch-sensitive areas on the output screen which can then function as buttons, menus, faders, etc.
The areas also can be transformed via a hierarchy of Touch Node modules.
The root Touch Node must be linked with a Touch Receiver module. Besides touch events it also can be used with mouse: to use that way turn on Mouse Mode on the module.
Also, there are specific modules for
- sensing gestures (for e.g. Up-Left-Down, they can be freely defined)
- moving a 2D picture including the two-finger scale/rotate function
- rotating/zooming a camera (two-finger zooming)
The touch control modules are also paint modules as well meaning that they can draw a basic image of themselves. But these are only schematic drawings that should only be used during the design process.
Tutorials and Samples package contains examples for Paint, Touch, and Draw. You'll find them in [Tutorials]:Paint And Touch\
If you don't have a touchscreen you can turn on mouse emulation in Preferences:
NEVER turn on this option if you use real touches.
In emulation mode you can do two-finger gestures as well: click on the first point, hold down the mouse button, press and hold the Space key, and click on another point. While you're holding down the mouse button and Space it will act as a second point.