ThatGuyThimo / leapmotion-osc

Leap Motion Controller finger (not hand) tracking for VRChat OSC: Using a Leap Motion Controller from Ultraleap for finger tracking in VRChat.
MIT License
72 stars 3 forks source link

I need a guide and the video #6

Closed hppedeaf closed 1 year ago

hppedeaf commented 2 years ago

I don't understand follow your guide, I tried install node and command 'npm start' but still not work

philippgitpush commented 2 years ago

Heya! Have you tried running npm install before you run npm start?

Please also note that this is more of a proof of concept. At the moment, only the fingers (opening and closing) can be tracked with this.

hppedeaf commented 2 years ago

I downloaded leapjs and node-osc then I open node command 'npm install' image, then npm start and it is error

image

philippgitpush commented 2 years ago

Have you downloaded leapjs and node-osc manually? If so, you don't need to! You just need a clean copy of this project and npm install should install leapjs and node-osc for you automatically.

hppedeaf commented 2 years ago

ok, after how start osc leapmotion ?

philippgitpush commented 2 years ago

Make sure your cmd.exe is in the right directory, from the looks of the screenshot you are in C:\Users\hppedeaf you should be in C:\Users\hppedeaf\leapmotion-osc-release-1.0.2\ or something like that. Open the "leapmotion-osc-release-1.0.2" folder, SHIFT + RIGHT CLICK on an empty spot an choose "Open PowerShell window here". Now in that new window run npm install & npm start.

image

image

You can also try copying the path to the folder and typing cd <path> (e.g: cd C:\Users\adeleine\Desktop\leapmotion-osc-release-1.0.2 in my case)

hppedeaf commented 2 years ago

ah finally! I do it too different on you, thank you very much! and I ask you question? you can add system rotation? how i explain . You will understand with these images, so I want to be able to sign ^^ thank you!

image image

philippgitpush commented 2 years ago

That is exactly what I meant! At the moment there is only opening/closing of the fingers. Moving the fingers left/right or spreading the fingers is not added. I will probably look into this in the future, but you can expect this to take up twice as many avatar parameters as it does now.

Unfortunately, I can't give you a time estimate on this because I'm working on paid projects at the moment that take up most of my development time. In the next version I want to upgrade to Leapmotions latest driver (v3.2.1 to v5.6.1) which has much better finger tracking, but that is a very big change. Seeing that someone in the HH community is interested motivates me to continue working on it!

Will keep you informed when there is an update. But for now you can maybe look into this: https://github.com/SDraw/driver_leap

hppedeaf commented 2 years ago

Hi, ooh, it's good that you know the HH (helping hands) community, I'm in that situation.

ok on moving the fingers left/right takes more parametres but can you two groups of low parametres and high parametres?

I tried on vrchat with leapmotion but not working ... I use controller index I saw osc code in vrchat debug it even works I added my gesture avatar from your prefabs and I have tested in unity osc it works!

philippgitpush commented 2 years ago

When changing any parameter on your avatar you have to make sure to reset your OSC config, you can do that in-game and if that doesn't work you will also need to delete all the folders it generates in C:\Users\adeleine\AppData\LocalLow\VRChat\VRChat\OSC (everytime in VRChat you load an avatar, it will create a config but it will never update, so you need to delete all folders inside it)

Sometimes the in-game reset option doesn't work, so that is why you need to delete the folder manually and then reload your avatar. The reason it works in unity is because with Lyumas Av3Emulator it generates a config everytime yo go into test/play mode.

The config is pretty much just a list of all the parameters your avatar has.

image

hppedeaf commented 2 years ago

okay, thanks for the help!

philippgitpush commented 2 years ago

There is now a new standalone version that does not need NodeJS or a terminal to run it. It has an executable .exe file that you can simply launch.

You will need to update to Gemini 5.7.2 here, mare sure to remove / uninstall the old Orion 3.2.1 Driver. Avatar setup is the same, there is no finger spreading yet but the update to the new driver (3.2.1 to 5.7.2) with better tracking.

LeapmotionOSC version 1.0.3. (Download leapmotionosc-1.0.3-windows.exe or leapmotionosc-1.0.3-windows.zip)

image

philippgitpush commented 1 year ago

Closing to avoid confusion as the new version no longer runs on NodeJS

ThatGuyThimo commented 1 year ago

@hppedeaf Finger spread has been added in the newest release.