1: 2011-11-01 (火) 14:24:12 iseki |
現: 2011-12-01 (木) 23:18:29 iseki |
- | ** Getting Start of SLKinect [#m6c3a5cc] | + | * Getting Start of SLKinect [#m6c3a5cc] |
| | | |
- | *** Need Resources [#a169927f] | + | ** Needed Resources [#a169927f] |
- | - Second Life account :-) | + | - Second Life or OpenSim/Aurora account :-) |
- | - MS Kinect | + | - MS Kinect with USB connector (about $150) |
- | - OpenNI PSI Pose Animation (or other Animation Data) | + | - MS DirectX (SLKinect need it) |
- | - Recompiled Viewer using our files. | + | - OpenNI http://www.openni.org/ |
| + | - NITE (Middleware of OpenNI) http://www.openni.org/ |
| + | - Kinect Driver (avin2-SensorKinect) https://github.com/avin2/SensorKinect/tree/master |
| + | - OpenNI PSI Pose Animation Data (or other Animation Data) |
| + | - ExternalAnimation.ini file (You can make it using text editor) |
| + | - Recompiled Viewer with [[our patched (and added) files>SLKinect#c751b20d]]. |
| - SLKinect | | - SLKinect |
| + | #br |
| + | |
| + | *** Recompiled Viewer [#vdc4e604] |
| + | - Probably, recompiled Viewer will not suit the ''Third Party Viewer Policy of Linden Lab''. |
| + | - ''Please use this at Your Own Risk!!'' |
| + | - Best way is that Viewer developer include our patch in their Viewers..... |
| + | #br |
| + | |
| + | **** If you want to recompile SecondLife Viewer. [#hfe7b285] |
| + | -We recompiled Viewer using Imprudence Viewer source code. We did not try with another Viewers |
| + | + Copy [[our modified source files (4 files)>SLKinect#c751b20d]] to llcharacter folder. |
| + | + Add nslExternalAnimation.cpp and nslExternalAnimation.h to VS Project. |
| + | + Execute build. |
| + | + For more detail, please see each Viewer site. (sorry) |
| + | |
| + | **** If you don't want to recompile SecondLife Viewer [#cee21042] |
| + | + Install Imprudence Viewer 1.3.2 : http://wiki.kokuaviewer.org/wiki/Imprudence:Downloads |
| + | + Download recompiled [[imprudence-bin.exe:http://www.nsl.tuis.ac.jp/DownLoad/SoftWare/SL/SLKinect/imprudence-bin.exe]] with our modification |
| + | + Copy downloaded imprudence-bin.exe to install folder of Imprudence Viewer 1.3.2 |
| + | |
| + | #br |
| + | |
| + | *** OpenNI PSI Pose Animation Data [#t85fcc9c] |
| + | - You can get ''OpenNI PSI Pose Animation'' at [[Parking Area of our Univ. SIM:http://slurl.com/secondlife/TUIS/197/39/35/]] by L$0. |
| + | -- Click following board at [[Parking Area of our Univ. SIM:http://slurl.com/secondlife/TUIS/197/39/35/]].~ |
| + | &ref(OpenNI_PSI.jpg,20%); |
| + | #br |
| + | - Or you can down load [[OpenNI_PSI.bvh:http://www.nsl.tuis.ac.jp/DownLoad/SoftWare/SL/SLKinect/OpenNI_PSI.bvh]] and upload to SL (need L$10). |
| + | |
| + | - Or you can create or chose other animation data. |
| + | -- Attention: Animation Data must include the following joints data. If joint data is not included, that joint does not move. |
| + | -- "mPelvis", "mTorso", "mNeck", "mHead", "mShoulderLeft", "mElbowLeft", "mWristLeft", "mShoulderRight", "mElbowRight", "mWristRight", "mHipLeft", "mKneeLeft", "mAnkleLeft", "mHipRight", "mKneeRight", "mAnkleRight" |
| + | |
| + | #br |
| + | |
| + | *** ExternalAnimation.ini [#a088067b] |
| + | - If you use ''OpenNI PSI Pose Animation'' from our Univ. SIM, please copy [[this ExternalAnimation.ini:http://www.nsl.tuis.ac.jp/DownLoad/SoftWare/SL/SLKinect/ExternalAnimation.ini]] to install folder of Viewer. |
| + | #br |
| + | - If you upload OpenNI_PSI.bvh or chose other animation data, please create ExternalAnimation.ini at install folder of Viewer using text editor. |
| + | - And write that animation UUID to ExternalAnimation.ini |
| + | #br |
| + | |
| + | *** SLKinect [#y975f8e5] |
| + | - [[Download from this Site.>SLKinect#c61cc4cc]] Latest Version is v1.0.1 (11 Nov. 2011) |
| + | - Not need to install. To execute program, please double click the extracted SLKinect.exe |
| + | #br |
| + | |
| + | ** Execute System [#z081d497] |
| + | *** Connect Kinect to your PC [#xe6f158e] |
| + | #br |
| + | |
| + | *** Execute recompiled SL Viewer [#fc9a8501] |
| + | + Login to SL or OpenSim or Aurora. |
| + | + Execute OpenNI PSI Animation (or which you chose). |
| + | + When execute OpenNI PSI Animation (or which you chose), if avatar performed ''T Pose'', it is OK. |
| + | + If avatar performed PSI Pose (or Original Pose), it is not good. Please check UUID in ExternalAnimation.ini |
| + | + When avatar is performing T Pose, if there are any data at Shared Memory, avatar move by that data. |
| + | |
| + | &ref("T_Pose2.jpg",30%); &ref("PSI_Pose2.jpg",32%); |
| + | #br |
| + | |
| + | *** Execute SLKinect [#zb6714c9] |
| + | **** Double Click SLKinect Icon [#e8a6beb3] |
| + | - SLKinect needs DirectX, OpenNI (NITE) and Kinect Driver |
| + | **** Execute ''Sensor Window'' [#g457b40f] |
| + | - Click "Window" -> "Sensor" Menu |
| + | - Smaller window is faster than larger window. |
| + | |
| + | &ref("Sensor.jpg",30%); |
| + | |
| + | **** Log Window [#d7c03521] |
| + | - If you want to see Kinect Data Log, please click "Window" -> "Log" Menu |
| + | - Line number of Log Window is 3,000 |
| + | |
| + | &ref("LogMenu.jpg",40%); |
| + | |
| + | - Log Window Icon |
| + | -- Floppy Icon: Save data to file. |
| + | -- Files Icon: Selected log area is copied to clipboard memory |
| + | -- Erase Icon: Erase current data. |
| + | |
| + | &ref("LogWindlwMenu.jpg"); |
| + | |
| + | **** Start Detection of Joints [#j4eb9b1f] |
| + | - Click ''Detection Start'' Button of Sensor Window. |
| + | - First user is RED, Second user is GREEN, Third user is BLUE.... Color change is until 6th User |
| + | |
| + | &ref("START.jpg",80%); |
| + | |
| + | **** Perform PSI Pose. [#r5097106] |
| + | - When SLKinect detects PSI Pose, Joints data is sent to SL Viewer automatically. |
| + | - Have a fun!! |
| + | |
| + | &ref("SLKinect.jpg",20%); |
| + | |
| + | **** Stop Detection [#ea6f97c2] |
| + | - If you want to stop Detection of Joint, click ''STOP'' Button |
| + | |
| + | &ref("STOP.jpg",80%); |
| + | |
| + | #br |
| + | |
| + | *** Setting of SLKinect [#oaada89c] |
| + | |
| + | **** View Mode [#ub413dc7] |
| + | - Mirroring: If this box is checked, Mirroring is executed. |
| + | - Use Camera Image: If this box is unchecked, Sensor Window does not display camera image (Light gray screen is displayed). |
| + | |
| + | &ref("SettingView.jpg",50%); |
| + | #br |
| + | |
| + | **** Log Mode [#n0468fb0] |
| + | - Select displayed data on Log Window |
| + | |
| + | &ref("SettingLog.jpg",50%); |
| + | |
| #br | | #br |