• Hello Guest!

    We have recently updated our Site Policies regarding the use of Non Commercial content within Paid Content posts. Please read the new policy here.

    An offical announcement about this new policy can be read on our Discord.

    ~The VaMHub Moderation Team
  • Hello Guest!

    We posted an announcment regarding upcoming changes to Paid Content submissions.

    Please see this thread for more information.

Leapmotion Update to Ultraleap "Gemini" (Not needed for VAM 1.2.x)

Other Leapmotion Update to Ultraleap "Gemini" (Not needed for VAM 1.2.x) 1.1

UPDATE: As of VAM 1.2.x this is not necessary as Gemini is already integrated. Use only if using 1.1x
However it still may be useful if you are trying to update your local ultraleap tracking.
In hindsight I shouldn't have posted that as a real "update" as I didn't mean to bump this asset.

Hello, Lovelies.
Heads up, I use a lot of words, but this is really a 2 step process.

This is a file and guide to upgrading VAM's leapmotion installation to use the latest tracking from Ultraleap.
Before we proceed, to save you some time, you should know this will require you to do the following:
If you're not comfortable with either of those things, you can stop here, or message me for assistance.

If you're very comfortable with those things, then instead of reading the guide below, you can simply figure out both those steps on your own (the library to replace is in VaM_Data/Plugins/).

This is a destructive action.
Back up your existing LeapC.dll in case something goes wrong, and do not alter any other files.

For your reassurance, here is an excerpt from the ultraleap migration guide:
1656991808326.png

(In my tests, simply swapping the library works and no re-compilation is necessary)

~~~~~ GUIDE INTRO ~~~~~

LeapMotion has made great strides in updating their tracking algorithms, and their newest release "Gemini" is very impressive. Using the same LeapMotion device you currently have, you'll be able to extend your hands in a greater range with less tracking loss. However it's been my experience that updating the tracking software alone is not enough-- it does not detect VAM as a compatible app. Luckily, the fix for this is a simple swap of the LeapC.dll library in the VAM installation.

For convenience I have attached their newest library from the Gemini SDK. However, as a matter of good security practice, I recommend you download and extract it from their source directly, because you are going to need to replace the existing one, which is a potentially destructive change to your installation, and you do not know me... yet.


~~~~~ 1: GET THE NEW LIBRARY ~~~~~

For Gemini to work with VAM, you'll need the most up-to-date LeapMotion C library. This is called LeapC.dll.

You can download it from the official source repository, here.

Or, if you have a unity installation, you can extract it from their Ultraleap Plugin For Unity, Here, by importing it into a project and finding LeapC.dll inside of the Plugins/x86_64 folder.

For best security practices I recommend using one of the two methods above, however if you don't have time for all that, and accept the unwise risks of using unknown code from the first post of a new user on the hub, I have also attached the library to this post.

Save this file where you see fit, ideally outside of your vam folder to avoid confusion.

~~~~~ 2: INSTALL GEMINI~~~~~
Gemini is the name of the most recent release of the leapmotion tracking software, which itself is now rebranded to "Ultraleap". This new tracking software requires you to uninstall any older leapmotion software, as the new installer will not uninstall or replace it, and they will both try to use the device, and who knows what computer nonsense will happen after that.

To cut down on this wall of text, I will assume you know how to uninstall the old stuff. Message me if you have trouble.

Download Gemini from Ultraleap's site and install it.


~~~~~ 3: INSTALL THE NEW LIBRARY~~~~~

Inside your Virt-a-mate installation, navigate to VaM_Data/Plugins/ and look for the LeapC.dll file. We will be replacing that file with the one you downloaded, but first we want to save the current one as a backup.

Rename the existing file something like LeapC_backup.dll and move it somewhere safe, like a "Library backups" folder outside your vam installation.

Now move the freshly downloaded LeapC.dll into the plugins folder to take its place.
If you downloaded it from this post, you will need to extract it from the zip file first.

Et Voilà.

Now when you run the Ultraleap tracking application, it will detect VAM as a valid app, and your hands will be trackier than ever. Enjoy!
Author
GossamerVR
Downloads
954
Views
7,140
First release
Last update
Rating
5.00 star(s) 7 ratings

More resources from GossamerVR

Latest updates

  1. Added Instructions to Zip

    I've added a simple instructional text file to the zip file for convenience. That is all.

Latest reviews

Because of this guide I bought a Leap Motion in Canada from Mouser.ca for $150, shipped to me the next day. If you need one, buy from them.

I had to buy some double sided tape and do some wire routing on my Reverb G2, but it's working awesome!

Thanks a lot for the guide!
GossamerVR
GossamerVR
Glad it helped!
Upvote 0
Great! But I guess this still require the leapmotion controller (that little box)? Still can't do the Quest 2 hand tracking?
GossamerVR
GossamerVR
Unfortunately yes this is for the leapmotion controller. I dont' think it will do anything for the quest.
Upvote 0
TY so much this is so good n it works well with Acid Bubbles DesktopLeap for peple that dont have VR
GossamerVR
GossamerVR
excellent
Upvote 0
This is really great thank you for this. I got leapmotion a while back and never used it much because the tracking was pretty bad. Very excited to try this.
Just wondering though, if im simply using it for VaM and not doing anything on the developer side of things, will i also need to download all these things/do all this stuff (it states here https://developer.leapmotion.com/migration-guide):

Unity modules

Install the latest Unity Plugin (V5.0.0+)

Follow our migration guide, using OpenUPM or .unitypackage files

Unreal modules

Install the latest Unreal Plugin (V4.0.3+)

Update to use the new Unreal plugin

Ultraleap OpenXR Hand Tracking API Layer

Install the latest Ultraleap OpenXR Hand Tracking API Layer (V1.0.0+)


Is all there really necessary or can i simply download the ultraleap and replace the .dll? Half of those things required me to make accounts and one of them wouldnt even send me a comfirmation email to finish the process no matter how many times i resent it so it wasnt even possible if i was wanting to go through all that stuff. So is all that needed for someone just using this for VaM?
Thank you so much for any help and this great guide here, very happy to see this is a thing now since the version i had was pretty bad at tracking.
GossamerVR
GossamerVR
You only need the new dll and the Ultraleap "gemini" software. Everything else is for development. I only meant to list the sdk as an alternative way of fetching the dll if you don't want to download it from git or this post. You don't need it.
Upvote 0
Big improvement. Thanks so much!
GossamerVR
GossamerVR
Happy to help!
Upvote 0
"and you do not know me... yet", I had to laugh :D
Thanks for the tutorial. Haven't used leap motion in a long time, maybe I'll check it out now, again.
GossamerVR
GossamerVR
:D I definitely was expecting it to be harder to upgrade, ngl
Upvote 0
Haven't tried it yet but thanks for the write up. Looking forward to seeing improvements
GossamerVR
GossamerVR
You're welcome! I am impressed --sometimes it seems harder to break tracking than maintain it, now.
Upvote 0
Back
Top Bottom