#author("2024-01-03T17:16:59+00:00","default:iseki","iseki")
[[日本語はここ>/SLKinect2 (J)/Getting Started]]
#author("2024-01-03T17:17:17+00:00","default:iseki","iseki")

** Getting Started of SLKinect2 [#k57b0bd3]
- [[日本語はここ>/SLKinect2 (J)/Getting Started]]
- ''Next Version of SLKinect2 was released --> Please see [[Rinions]]''


*** Needed Resources [#s5a86065]
- MS Kinect
- MS DirectX (Runtime DLL)
- [[OpenNI:http://www.openni.org/]], [[NITE:http://www.openni.org/]], [[avin2:https://github.com/avin2/SensorKinect/tree/master]] (driver for Kinect)  (Please use 32bit version)
-- http://zigfu.com/devtools.html is very useful site for installing OpenNI, NITE and avin2. (Thanks kinect_me)
- [[Binary of SLKinect2:http://www.nsl.tuis.ac.jp/xoops/modules/d3downloads/index.php?page=singlefile&cid=7&lid=32]]  (Installer and Recompiled Viewers with SLKinect patch are included) 
-- ''Imprudence-1.3.2'', ''Firestorm-3.2.1/3.2.2'' are available now.
-- Probably, those recompiled Viewers will not suit the Third Party Viewer Policy of Linden Lab. Please use this at Your Own Risk in Second Life!!
-- When you execute ''Imprudence-1.3.2'', if you see ''side-by-side'' error, please install VC8 runtime [[vcredist_x86.exe:http://www.nsl.tuis.ac.jp/DownLoad/SoftWare/SL/SLKinect2/vcredist_x86.exe]]
- [[Imprudence 1.3.2:http://wiki.kokuaviewer.org/wiki/Imprudence:Downloads]] or [[Firestorm 3.2.1/3.2.2:http://www.phoenixviewer.com/downloads.php]]


*** Install [#m90e8d66]
+ Install OpenNI, NITE and av2 driver. We recommend to install 32bit version. 
-- ''Please execute OpenNI demo program for TEST.''
-- Demo Programs are in ''C:\[OpenNI Install Folder]\Samples\Bin\Release''
+ Exec ''Installer\SLKinect2_Setup.msi'' or copy ''SLKinect2\SLKinect2.exe'' to any folder.
+ Install ''Imprudence Viewer 1.3.2'' or ''Firestorm Viewer 3.2.1 or 3.2.2''.
+ Copy ''Recompiled Viewer (*-bin.exe)'' to folder of Viewer installed (it is in ''viewer_bin'' folder).
-- ''For firestorm'', please make short cut of Recompiled Viewer and add ''--channel "Firestorm-Release"'' option to linked Program. If you do not add this option, you will look ''Bad Request'' login page.
+ Upload ''OpenNI_PSI.bvh'' (it is in ''viewer_src'' folder) to Second Life or OpenSim with ''checked Loop''. (need L$10)


*** Execution [#x34b5028]
+ Connect Kinect to PC
+ Execute ''Recompiled Viewer'' (or that's short cut), and login to Second Life/OpenSim.
-- Execute uploaded Animation (PSI pose)
+ Execute ''SLKinect2.exe'', and select ''Animation'' from ''Setting'' Menu of SLKinect
-- Copy executed Animation's UUID from Viewer, and paste to ''Animation UUID'' input field of Dialog.


*** with Local Mode [#sd7f9b85]
+ Select ''Local'' from ''Mode'' Menu
-- ''Local Mode'' string is appeared at Status Bar.
+ Click ''Sensor'' Window from ''Window'' Menu and select size of window.
-- The program is faster as window size is smaller.
+ Click ''Yellow Play Button'' of ''Sensor'' Window
+ Do PSI Pose of Kinect!!


*** with Network Mode [#tb0c34cf]
+ Select ''Network'' from ''Mode'' Menu
-- ''Network Mode'' string is appeared at Status Bar.
+ Open ''Setting of Network'' Dialog from ''Setting'' Menu
-- If you use our test server (''silver-star.nsl.tuis.ac.jp:8200''), you do not need to change any settings about Animation Relay Server.
-- If groundless especially, ''Received Port'' number is keep default 8200.
-- Change ''Group key'' from ''NSL_TEST'' to ''NSL_[SIM Name]'' within 16Bytes. 
-- If your network is in NAT(correctly NAPT) , You must setup your router that port number of router (same number as SLKinect's Received Port) forwards ''UDP'' packets to SLKinect's Received Port. Default of SLKinect's Received Port number is 8200.
-- If Network is delayed, check ''Fast Transfer Mode'' check box (SLKinect transfers float data instead of double data).
+ Select ''Login'' from ''File'' Menu.
-- If login is succeed, ''Login | Receiving Data'' string is appeared at Status Bar.
-- Our Animation Relay Server (silver-star) is for ''TEST'' and that is in Japan and network speed is not so fast. Therefor when you use silver-star, there may be network delay. We want to your report about network delay for development of server.
-- If Login Error is occurred, 
--- execute anm_server on Linux by yourself
--- or wait about half a day and try again
--- or post to [[SLKinect's forum:http://www.nsl.tuis.ac.jp/xoops/modules/d3forum/index.php?forum_id=14]] and wait a answer (need [[register to this site:http://www.nsl.tuis.ac.jp/xoops/register.php]])
+ Open ''Sensor'' Window from ''Window'' Menu
+ Click Yellow Play button of ''Sensor'' Window
+ Do PSI Pose of Kinect!!
+ Call to your friends that have a kinect :-).
-- And tell friends about Group Key (''NSL_[SIM Name]'').

トップ   編集 差分 バックアップ 添付 複製 名前変更 リロード   新規 ページ一覧 検索 最終更新   ヘルプ   最終更新のRSS