Kinect Game Template – A christimas gift for the monkeys

It might be a bug of the used openni version on this project, It had to be updated, btw I’ll try to upload my project tonight so you can update the jme libralies and the openni version. You’ll see how I’ve implemented custom gesture detectors. cya.

1 Like

@glaucomardano

Thx, I’ll wait for your update,

I will reinstall my JMe3 n doesn’t update it while waiting for your update, maybe with fresh install jme3 , my project can work well

Hei all, I’ve finished my simple game project, using kinect (for input moving hand) and voice command recognition (using kinect array mic), I’ll upload my video to show my game as soon as possible, but there are something annoying thing that is sometime my background music can’t play because of :

Oct 12, 2012 11:05:34 AM com.jme3.input.openni.OpenNIKinectInput initialize

INFO: Generators started.

AL lib: DoReset: Failed to initialize audio client: 0x88890017

Oct 12, 2012 11:05:34 AM com.jme3.audio.lwjgl.LwjglAudioRenderer initInThread

SEVERE: Failed to load audio library

org.lwjgl.openal.OpenALException: Invalid Device :



but sometimes that error doesn’t happened



I’m using asus a43ta whit amd apu A6,

Can you provide the whole stack trace? The part with the OpenALException I mean.

Hai all, I’ve upload my game in youtube,

http://www.youtube.com/watch?v=21Z1FRCCais

1 Like

My Slash word game using kinect and voice command feature

You have a nice coherent theme going on. Really the video needs more explanation of what is happening though…

Nice work @ameenul , but can you please make a new thread about your project in the “User Code & Projects” forum?

Ok, ASAP

Just want to share the links to my dropbox folder where the kinect game template and the modified engine are. I’ve discontinued the project a long time ago, but people often send me pm asking me for it, so there you are:

Kinect game template:

Modified engine:
http://db.tt/5nGwA2VB

Good luck!

2 Likes

I despair since two weeks to use the Kinect with jMonkey. I worked with the kinect in C# and i also have some experiences with jMonkey. But my knowledge is not great enough to get both together. I am learning Programming by doing mistakes.

The OpenNI, OpenNI 2, NITE and NiTE2 samples all running without problems. But the Kinect Game Template brings this error:

[java]
Mrz 15, 2014 8:13:29 AM com.jme3.app.Application handleError
Schwerwiegend: Uncaught exception thrown in Thread[LWJGL Renderer Thread,5,main]
java.lang.NoClassDefFoundError: org/openni/NativeMethods
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1965)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1890)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1880)
at java.lang.Runtime.loadLibrary0(Runtime.java:849)
at java.lang.System.loadLibrary(System.java:1088)
at org.OpenNI.NativeMethods.<clinit>(NativeMethods.java:34)
at org.OpenNI.Context.init(Context.java:309)
at org.OpenNI.Context.<init>(Context.java:30)
at com.jme3.input.openni.OpenNIKinectInput.initialize(OpenNIKinectInput.java:124)
at com.jme3.app.Application.initInput(Application.java:288)
at com.jme3.app.Application.initialize(Application.java:506)
at com.jme3.app.SimpleApplication.initialize(SimpleApplication.java:204)
at com.jme3.system.lwjgl.LwjglAbstractDisplay.initInThread(LwjglAbstractDisplay.java:131)
at com.jme3.system.lwjgl.LwjglAbstractDisplay.run(LwjglAbstractDisplay.java:207)
at java.lang.Thread.run(Thread.java:744)
Caused by: java.lang.ClassNotFoundException: org.openni.NativeMethods
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
… 16 more
[/java]

I already tried to find a successful classpath and changed it sometimes. But i was not successful up to now.

If anyone could say “Oh don’t you know, you only have to change a small part.” i would be really happy.