Getting Start of SLKinect
Needed Resources
- Second Life or OpenSim/Aurora account
- MS Kinect with USB connector (about $150)
- MS DirectX (SLKinect need it)
- 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
Recompiled Viewer
- 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.....
If you want to recompile SecondLife Viewer.
- We recompiled Viewer using Imprudence Viewer source code. We did not try with another Viewers
- Copy our modified source files (4 files) 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
- Install Imprudence Viewer 1.3.2 : http://wiki.kokuaviewer.org/wiki/Imprudence:Downloads
- Download recompiled imprudence-bin.exe with our modification
- Copy downloaded imprudence-bin.exe to install folder of Imprudence Viewer 1.3.2
OpenNI PSI Pose Animation Data
- You can get OpenNI PSI Pose Animation at Parking Area of our Univ. SIM by L$0.
- Click following board at Parking Area of our Univ. SIM.
- Click following board at Parking Area of our Univ. SIM.
- Or you can down load 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"
ExternalAnimation.ini
- If you use OpenNI PSI Pose Animation from our Univ. SIM, please copy this ExternalAnimation.ini to install folder of Viewer.
- 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
SLKinect
- Download from this Site. Latest Version is v1.0.1 (11 Nov. 2011)
- Not need to install. To execute program, please double click the extracted SLKinect.exe
Execute recompiled SL Viewer
- 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.
Log Window
- If you want to see Kinect Data Log, please click "Window" -> "Log" Menu
- Line number of Log Window is 3,000
- Log Window Icon
- Floppy Icon: Save data to file.
- Files Icon: Selected log area is copied to clipboard memory
- Erase Icon: Erase current data.
Start Detection of Joints
- 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
Perform PSI Pose.
- When SLKinect detects PSI Pose, Joints data is sent to SL Viewer automatically.
- Have a fun!!
添付ファイル: SettingLog.jpg 392件 [詳細] LogWindlwMenu.jpg 396件 [詳細] SensorWindow.jpg 364件 [詳細] LogMenu.jpg 395件 [詳細] SettingView.jpg 390件 [詳細] Sensor.jpg 381件 [詳細] SettingMenu.jpg 343件 [詳細] START.jpg 354件 [詳細] STOP.jpg 338件 [詳細] LogWindow.jpg 351件 [詳細] SLKinect.jpg 386件 [詳細] PSI_Pose2.jpg 352件 [詳細] T_Pose2.jpg 418件 [詳細] OpenNI_PSI.jpg 380件 [詳細]
Counter: 2451,
today: 1,
yesterday: 0
最終更新: 2011-12-01 (木) 23:18:29 (JST) (4529d) by iseki