-
csunflowert
Hi to both, thank you for commenting on this post.
@60hz - I have a patch already very similar to the one you have attached. I accessed it from here - http://puredatajapan.info/?page_id=1514. I believe they both do the same thing.
Although what I am trying to execute isn't being able to see the gestural data coming in, but instead a physical camera output from the Leap Motion, as available in the Leap Motion visualiser. I have set up my own patch which launches a gemwindow and allows a webcam feed to be shown, but at the moment it only recognises my FaceTime Camera as an input, and not the camera input from the Leap Motion. After some research, it looks like it may need some JavaScript code - https://developer-archive.leapmotion.com/documentation/csharp/devguide/Leap_Images.html. Although I haven't done any JavaScript in about four years and don't even know where to start. I have downloaded the pdjs external which allows you to link a .js file to the patch, but I just now need the JavaScript code to make it work (unless there's another easier way? Maybe this ndi method?)
If either of you are aware of how to do this, your help would be much appreciated. I am a university student, and if I can get this working, it would be the last thing I need to complete my final assignment!
Thank you for your help so far!
-
csunflowert
https://github.com/umlaeute/Gem/issues/257
This link shows the resolution to the problem
-
csunflowert
Is there anyway to write JavaScript in PD? I know you can in Max, but is there an external or something I need to do to use JavaScript?
-
csunflowert
Hi again David,
I finally have the gemwindow up and running, and am able to get a feed from my webcam which is good. However, I want to be able to get the Leap Motion camera input rather than my laptop webcam. Is this achievable?
-
csunflowert
@whale-av said:
Thank you. I have tried opening a new issue with umlaute to see if they know the issue. I have also added that to the startup flag and that issue seems to be resolved.
Just need to be able to open a Gem window and have this error message go away and then I'm okay!
-
csunflowert
It also comes up with this error message
[gemmacoswindow]: failed to init GLEW: your system only supports openGL-1.0Not sure what any of this means!
-
csunflowert
@whale-av Yes, I've got a two commands going into gemwin - one is [create, 1( and the other just [destroy(. I also have a toggle going into the gemwin object.
When I clicked help on the gemwin object, my PD window said .pdwindow: no such object. Could this be a reason why it's not working? I have tried uninstalling and reinstalling Gem, and rebooting, nothing has changed.
Thanks. -
csunflowert
I am getting this error message in my PD window when trying to use the gemwin object to open a window (and eventually use pix_video to put my webcam feed into my patch). Anyone know how to fix this, or what the problem is? I'm pretty new to PD! Thanks.
-
csunflowert
Hi everyone, I'm really new to PD so excuse me if I am being dumb!
I have linked a Leap Motion to my patch, and have it tracking hand and finger movements. But I was wondering if there is a way to get the visualiser inside the patch (e.g. actually seeing the hand movements internally inside PD, without having to launch the official Leap Visualiser!)
I hope that makes sense!
Thanks