How to access Asus Xtion Pro Live from Unity3D

1,970 views
Skip to first unread message

Bhaskar Vadavalli

unread,
Dec 29, 2011, 7:25:55 PM12/29/11
to OpenNI
Hi,

I just got my Asus Xtion Pro Live developer version. Is there a wiki
or forum post on how to access it from Unity3D on Windows 7?

Any pointers would help me get started would be helpful.

Thanks,
Bhaskar

Amir Hirsch

unread,
Dec 30, 2011, 12:05:26 AM12/30/11
to openn...@googlegroups.com
we have Unity3D bindings for openni and an installer that works with kinect and xtion up on zigfu.com

join the google group on unitykinect.com

Amir


--
You received this message because you are subscribed to the Google Groups "OpenNI" group.
To post to this group, send email to openn...@googlegroups.com.
To unsubscribe from this group, send email to openni-dev+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/openni-dev?hl=en.


Bhaskar vadavalli

unread,
Dec 30, 2011, 11:45:54 AM12/30/11
to openn...@googlegroups.com
Thanks a lot Amir. I have had a brief look. How is the licensing done, it only says open source. I am looking for a an SDK that does does not restrict selling the finished game.

Bhaskar

Amir Hirsch

unread,
Dec 30, 2011, 4:29:25 PM12/30/11
to openn...@googlegroups.com
the current packages are unrestricted. have fun!

Amir

Bhaskarfsf

unread,
Dec 30, 2011, 4:44:25 PM12/30/11
to openn...@googlegroups.com, openn...@googlegroups.com
Thanks Amir, I will definitely have fun.

I could not find the source code for either ZigFu or the Unity3D bindings. Could you please let me know where to get it.

Is there any way to contribute, like documentation or testing. I am a masters in computer science working in the online store SCM team at Apple.

Bhaskar
Sent from my iPhone

Amir Hirsch

unread,
Dec 30, 2011, 7:29:13 PM12/30/11
to openn...@googlegroups.com
ZigFu's openni installer doesn't have source code, it's openni nite sensor and sensorkinect and libusb (for mac) in one package to make it super easy to install.

the Unity3D bindings for OpenNI are only the source. What else do you mean? Unity uses the .NET bindings for OpenNI.

Amir

Bhaskarfsf

unread,
Dec 30, 2011, 7:50:34 PM12/30/11
to openn...@googlegroups.com, openn...@googlegroups.com
Thanks Amir. I found the brief tutorial for ZigFu and Unity. I have tried running the examples but was unsuccessful.

I would continue on that thread.

Happy New Year!

Bhaskar

Sent from my iPhone

Assaf Mendelson

unread,
Jan 1, 2012, 12:29:51 AM1/1/12
to openn...@googlegroups.com
If you look in the download page of OpenNI, there is a download for OpenNI Unity toolkit in the unstable middleware section. It provides easy use of OpenNI from unity3D (a whole wrapper). You can always just drag the C# .net dll to unity assets and access it directly but I would try the package first...

Hi,

Thanks,
Bhaskar

--

Bhaskar vadavalli

unread,
Jan 1, 2012, 4:49:25 PM1/1/12
to openn...@googlegroups.com
Hi Assaf,

I am using Asus Xtion Pro Live with ZigFu right now. I have been trying to get the samples to run. Would you be able to tell me if I need to uninstall the stable drivers, NITE and OpenNI, and then reinstalling the unstable versions or could I just import the Unity OpenNI toolkit 0.9.7.1.unitypackage to Unity?

Thanks a million for your help.
Bhaskar

Assaf Mendelson

unread,
Jan 2, 2012, 2:38:05 AM1/2/12
to openn...@googlegroups.com

I am not that familiar with the ZigFu wrapper.

The package I was talking about is another wrapper (with somewhat different philosophy and features) provided by primesense (currently in beta stages).

If you want to use that wrapper go to the OpenNI download page (go to http://www.openni.org/Downloads/OpenNIModules.aspx and then choose “OpenNI Compliant Middleware Binaries”, “Unstable” and “Primesense unity wrapper Unstable build v0.9.7.1” and download).

Inside the package you would find an installer (see the readme and the chm documentation in the package).  This installer installs the correct version of OpenNI, NITE and driver (if for the Xtion only but since that is what you are using it is fine).

In general it is a good practice to uninstall any unstable versions you might have had before (for driver, NITE and OpenNI) although in theory it should work in any case.

Hope this helps.

Assaf.

Bhaskarfsf

unread,
Jan 2, 2012, 12:16:42 PM1/2/12
to openn...@googlegroups.com, openn...@googlegroups.com
Thanks Assaf, I have uninstalled the ZigFu version and installed the Primesense version from the full installer. Then I installed the Unity package. The NITE and OpenNI examples are running fine. I am now looking at how to run the unity examples. I can see some documentation is there.

Is there any tutorial on it?

Thanks,
Bhaskar

Sent from my iPhone

Assaf Mendelson

unread,
Jan 4, 2012, 1:06:34 AM1/4/12
to openn...@googlegroups.com

Yes, there is a tutorial (and lots more)

If you go under assets to OpenNI->Documentation you will find the OpenNIPackageDocumentation.chm file. This will provide you with all the information you need. It has an overview, samples which act as tutorials and of course documentation to the code itself.

If you can’t use chm for some reason, you also have a doxyfile there which you can use to simply create html of everything (the html will be created under the same directory your “assets” directory is located)

Assaf.

Bhaskarfsf

unread,
Jan 4, 2012, 9:09:29 AM1/4/12
to openn...@googlegroups.com, openn...@googlegroups.com
Thanks Asaaf.

Bhaskar

Sent from my iPhone
Reply all
Reply to author
Forward
0 new messages