Haptic system with scene description system based on MPEG standard.
- Keyboard (position input)
- Haptic device (haptic playback, AvatarVR and Geomagic Touch in this project)
- Unity 2020 (2020.3.48f1c1 recommended)
- Clone all the project in this repository to your local machine.
- Open project
HapticSceneDescription-0.1.0in Unity and setAssets/_Project/Scenes/Setting.unityas active scene. - In the
Settingscene, you can choose the input device and the output device. The input devices areKeyboardandGeomagic Touch. The output devices areNone,AvatarVRandGeomagic Touch. Make sure the selected devices are available. If the setting is done, clickConfirm and play!button to load theMainscene. - Scene description file
sd.gltfand Haptic Medias*.hmpgare located inAssets/StreamingAssets/. Haptic Medias are grouped in folderAssets/StreamingAssets/HapticMedias/. - Click play button in the project and you can see the scene designed in
sd.gltf. There are 2 spheres, 1 smaller and 1 larger, in the scene. The smaller sphere is position-controllable, while the larger sphere is fixed. You can move the smaller sphere by pressing WSAD or arrow keys on the keyboard. When the smaller sphere penetrates in or out of the larger sphere, the haptic device will render different haptic feedback.
This project is licensed under the BSD 3-Clause License - see the LICENSE file for details.
Referenced projects:
UniTaskMIT https://github.com/Cysharp/UniTaskLitJSONunlicensed https://github.com/LitJSON/litjsonAvatarVR SDKNeuroDigital Technologies https://www.neurodigital.esGeomagic Touch Plugin3D Systems https://assetstore.unity.com/packages/tools/integration/haptics-direct-for-unity-v1-197034