Skip to content
A simple example of hand interaction and occlusion for the VIVE SRWorks SDK
Branch: master
Clone or download
dariol Update readme
Clarified new updates (2 notes) to readme
Latest commit 1fc02a2 Nov 26, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Assets updated to support SRWorks v0.8 Nov 18, 2018
ProjectSettings
readme_images new readme image Nov 25, 2018
.gitignore updated github ignores Aug 27, 2018
COTRIBUTING..md moved demo scene, added SRWorksHand prefab Aug 27, 2018
README.md Update readme Nov 25, 2018

README.md

A Vive SRWorks Hand Interaction example for Unity

screenshot

The example scene included shows how to occlude and interact with virtual objects (a sphere and a cube) with your hands.

  • In this example, by default the occlusion is using a depth mask (you can enable/disable it in the Manager object)

  • You can also view the hand's mesh instead of the occlusion depth mask by enabling it in the Manager object:

Manager

  • To slap/punch (without going through the object) enable the HandRacketCollisionObj in the scene (you can optionally make it visible by enabling the Mesh Renderer on it)

CollisionObj

Requirements:

  • VIVE Pro (make sure cameras are enabled and working in settings)
  • ViveSRWorks Unity package: Vive-SRWorks-0.7.5.0-Unity-Plugin.unitypackage or later versions. Download the latest VIVE SRWorks SDK from: http://developer.vive.com/resources

UPDATE:

Note 1: tested on Unity 2018.2.16f1 Earlier versions of Unity had prefab issues on importing so the unity package was updated using 2017.4 but can be updated to Unity's latest release version.

Note 2: as of SRWorks v0.8.0.2 the ViveSR prefab requires you to enable the modules you will be using as shown:

ViveSR

You can’t perform that action at this time.