My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
Comments  
Placeholder to retain public comments
Featured
Updated Jan 12, 2011 by tom...@gmail.com

Comments

@en Please leave your comment here if any. Thanks!

@ja コメントあればここに追加してください。よろしくお願いします。

  • 機器構成に関する情報は WorkingConfigurations ページにお願いします。
  • バグや問題に関しては Issues タブにお願いします。

Comment by sei0...@gmail.com, Jan 10, 2011

kinect-ultra 0.1a DLさせていただき、ありがとうございます。 単純なんですが、すぐにビーム出して遊んでましたw アクションがわかりやすくて、楽しいですね。(アイデアが素晴らしい!)

参考までに動作確認した環境 CPU:Core_i7 950 + GPU:Geforce GTX460 + Win7_Home?(64bit)

※これからも、がんばってください

Comment by project member tom...@gmail.com, Jan 11, 2011

@ja どうもありがとうございます。やはりCPUパワーのあるマシンですね。「誰でも思いつきそうなことをいち早くやっただけ」だと自分では思ってるのでアイディアほめられると恐縮です。

@en Thanks for letting me know of your configuration. It is very helpful.

Comment by mike.lig...@gmail.com, Jan 11, 2011

kinect-ultra V0.1

Working with this config: +CPU: Core i7 920 +GPU: ATI Radeon 4890 +RAM: 6GB +OS: windows 7 Home premium (64 bits)

Comment by mike.lig...@gmail.com, Jan 11, 2011

Here is how i made it work:

1. Uninstalled all other drivers.

2. Rebooted.

3. Downloaded https://github.com/avin2/SensorKinect and extracted it to avin2-SensorKinect?-0124bd2.

4. Installed avin2-SensorKinect?-0124bd2\Platform\Win32\Driver\dpinst-amd64.exe.

5. Downloaded and installed latest UNSTABLE binary for openNI http://www.openni.org/downloadfiles/openni-binaries/latest-unstable/25-openni-unstable-build-for-windows-v1-0-0/download . The latest stable build kept sending an error about a missing entry point in OpenNI.dll.

6. Downloaded and installed NITE the official website doesn't have it, so i had to get it here: http://www.kinect-hacks.com/kinect-downloads/12-18-10/primesense-nite-middleware . Without that, i kept getting an error "can't create any node from the requested type" talking about the file "OpenNIConfig.xml".

7. In <NITE's installation directory>/Data, i had to edit the files there, namely

  • Sample-Scene.xml
  • Sample-Tracking.xml
  • Sample-User.xml

And chande change de licenses tag to this:

<Licenses>

<License vendor="PrimeSense" key="0KOIk2JeIBYClPWVnMoRKn5cdY4="/>

</Licenses>

8. Install avin2-SensorKinect?-0124bd2\Bin\SensorKinect?-Win32-5.0.0.exe

9. Download and unzip kinect-ultra-0.1.zip to kinect-ultra-0.1

10. Launch kinect-ultra-0.1\kinect-ultra.exe

Comment by machidag...@gmail.com, Jan 11, 2011

プロジェクトを My Documents等のスペースありのディレクトリに置くと、ビルドの最終ステップでエラーになります。プロジェクトのプロパティのカスタムビルドのcopyコマンドに書かれているディレクトリを""で囲むとokです。ご参考まで。 あと、Windows 7(64bit)上でWindowsXP(32bit)をVMwareで起動してその上で動作させてみました。ネイティブとの比較はしてないので、速度等はなんとも言えないのですが、特に問題なく動いています。

Comment by taka.ats...@gmail.com, Jan 11, 2011

Windows 7 (64bit), Core i5 M 430 (GPU つき)

ここで止まってしまいました。 VC++2010 でビルドしてみたら sparkAlpha.png を読んでるところで止まってるみたいでした。 imageData が "" なのが原因なのかなと思うるんですがよくわかりません。

Comment by project member tom...@gmail.com, Jan 12, 2011

Hi mike.lightfox,

Thanks for sharing your steps. Below is mine.

  • I did not do 3 or 4 because 8 was enough.
  • I did not have any issues like you mentioned at 5 with stable OpenNI binary (1.0.0.23).
  • Since this program has no dependency on NITE (I wanted to allow people to enjoy this with less installation effort), step 6 & 7 should not be mandatory. (I know typical Kinect hackers would like to try it, though. NITE is still available at http://www.openni.org/downloadfiles/12-openni-compliant-middleware-binaries which I think is the "most official". Anyways.)

Comment by project member tom...@gmail.com, Jan 12, 2011

@ja machidagomaさん: おっと、これはいけません。ありがとうございます。vcprojを直してチェックインしておきます。

@en machidagoma reported that the build would fail at the final step when the workspace path included spaces (e.g. "My Documents"). I will fix vcproj and check it in. Thanks!

Comment by project member tom...@gmail.com, Jan 12, 2011

@ja taka.atsushiさん

そこでコケるのはどうも不思議です。 実行時の作業ディレクトリの下にカレントディレクトリの下に data\image\sparkAlpha.pngやその他諸々はちゃんとありますよね?

Comment by project member tom...@gmail.com, Jan 12, 2011

Hi mike.lightfox,

Now I looked at your issue report and it seems something weird was happening. I will find time to explore.

Comment by project member tom...@gmail.com, Jan 12, 2011

@ja taka.atsushiさん

デバッガの画像を見ると、緑の矢印がdeleteを指している、 すなわちdeleteの内部でこけているように見えますね。 そこまではおそらく正しく動いているはずです。 imageも元気そうです(imageData=""なのは問題ないです)。

ロジックはどう見ても正しいのにメモリ解放がこけるというのは、 VC++のランタイムライブラリのリリース版とデバッグ版とが ちゃんぽんでリンクされてると起こることがあります。 最初のエラーは私がビルドしたライブラリで起こったのですよね? そちらでビルドしたものではなく。心当たりがないこともないので (プレビルドのGLTools.libまわりがちょっと怪しい)調べます。

Comment by project member tom...@gmail.com, Jan 12, 2011

@ja taka.atsushiさん

コンパイルオプションを直してビルドしたものを0.1aとしてアップしました。これを叩いてみて、うまくいくか試してみてもらえないでしょうか?kinect-ultra-0.1a.zip

svnの調子がおかしいのでプロジェクトファイルはチェックインできていません。502 Bad Gatewayが返ってきます。

Comment by project member tom...@gmail.com, Jan 12, 2011

Hi mike.lightfox,

I uninstalled NITE, and confirmed that the same issue was reproduced. Thanks!

Comment by taka.ats...@gmail.com, Jan 12, 2011

同じところで止まってしまいました。

最初のエラーは zip で配布されている kinect-ultra.exe でした。自分でビルドしたほうも(たぶん)同じところで止まってると思います。

緑の矢印はマウスオーバーすると "This is the next function to execute when this thread returns from the current function." と出るので、その直前でエラーになってるのかと思います。

data フォルダはちゃんと元の位置にあって、OpenNIConfig.xml はちゃんと読めています。

VC は触り始めたばっかりなのであまり自信はないです。お力になれずすみません。

And sorry for spamming here with such large images. I just pasted the URLs but this forum turned them into inline images.

Comment by mike.lig...@gmail.com, Jan 12, 2011

I'm glad i could be of help, tomoto, your project is awesome! 0

Comment by project member tom...@gmail.com, Jan 12, 2011

taka.atsushiさん、

デバッガでステップ実行すると、正確にどこで止まるかわかりますか? 「deleteにマーカーが合うところまで進み、そこでF10やF11で進めるとエラーになる」のか、 それとももう少し前の関数でエラーになるのか、といったことがわかるでしょうか。 お手数おかけします。Thanks for your help.

Comment by taka.ats...@gmail.com, Jan 12, 2011

上のは Release でビルドしたときなんですが、実は Debug でビルドすると http://f.hatena.ne.jp/edvakf/20110112110811 ってなっちゃいます。main の直後にブレイクポイントを置いてもその前に終わっちゃうのでお手上げです。

Comment by project member tom...@gmail.com, Jan 12, 2011

taka.atsushiさん、

もしかしたらGPUのハードウェアかもしれません。 機能が足りないとかテクスチャ(画像データ)格納用のメモリが足りないとか。 今まで動作実績いただいているのはすべて外付けのそこそこ大物のGPUで、 Core i5 430Mのような内蔵GPUでの実績はまだ聞いたことがないのです。 もしかしたらこのへんに動く・動かないの境界があるのかもしれません。

確信があるわけでもないのですが、コードとしては何の変哲もないので、 それくらいしか思いつかないという感じです。

Comment by taka.ats...@gmail.com, Jan 12, 2011

もしかしたらこちらのランタイムがおかしいのかもしれません。何か分かったらまた報告します。

By the way I enjoyed your video! Thank you.

Comment by mike.lig...@gmail.com, Jan 12, 2011

tomoto, what software did you use to record your videos? I tried to use camtasia studio 7, but when i start recording, kinect-ultra-0.1a (and 0.1) keeps loosing its target. When i stop the recording, it works fine again...

Comment by project member tom...@gmail.com, Jan 12, 2011

mike.lightfox, I used CamStudio? (http://camstudio.org/). It works totaly fine with me.

Comment by project member tom...@gmail.com, Jan 12, 2011

taka.atsushiさん、

やはりGPUの機能不足のようです。 こちらで低スペックGPUのノートPCで実行したら似たような問題が出たので、 調べてみたところ必要なGPUの機能(シェーダ)がないので初期化に失敗していました。 たぶんこれです。

Comment by project member tom...@gmail.com, Jan 12, 2011

taka.atsushiさん

0.1b作りました。GPUがシェーダをサポートしているかチェックし、だめならクラッシュではなくエラーを表示します。これがエラーを出したらビンゴ、残念ながらそのマシンで動かすことはできません。

Comment by hitoshi%...@gtempaccount.com, Jan 14, 2011

「マンガの主人公が使っている武器や必殺技の中で使ってみたいものランキング」 http://news.ameba.jp/20110114-89/ これを参考にシリーズ化しましょう。この興奮を世界に広めましょう!

V0.1bクラッシュしました。今夜、V0.1cを試してみます。

Comment by project member tom...@gmail.com, Jan 14, 2011

おもしろいアンケートですね。かめはめ波は不動の人気か。

V0.1cを是非試してみてください。この修正で動く環境がだいぶ増えたのではないかと思います。「コードは同じなのにマシンによってはメモリを食いつぶす」という原因不明の現象が見つかったので直したというか回避したのですが、いかんせん根本原因不明なので効果なかったらごめんなさい。

Comment by ljbe...@gmail.com, Apr 4, 2011

Hi,

I have tried all suggestions but still having a problem trying to launch your application... Here is the verbose output:

kinect-ultra 0.1e Welcome to Ultra Seven on Kinect!

Available keys during the play: ESC? -- Exit q?a? -- Adjust the depth of 3D virtual objects. s? -- Retake the background image overlayed when you fly. f? -- Output framerate to the console. m? -- Mirror the screen. t? -- Change Trigger Happy Mode. (Normal/Happy/Happier)

This makes it easier to trigger the powers.

It may take a minute until initialization completes... Enjoy!

OpenGL version = 3.2.0 Shader language version = 1.50 NVIDIA via Cg compiler

2009 INFO? OpenNI version is 1.0.0 (Build 25)-Win32 (Jan 6 2011 00
:42:40)
3307 VERBOSE? Checking C:\Program Files (x86)\OpenNI\bin\nimRe
corder.dll...
5027 VERBOSE? Found exported production node. Recorder: OpenNI
/Recorder/1.0.0.25
5502 VERBOSE? Found exported production node. Player: OpenNI/P
layer/1.0.0.25
5712 VERBOSE? Checking C:\Program Files (x86)\OpenNI\bin\nimMo
ckNodes.dll...
7039 VERBOSE? Found exported production node. Device: OpenNI/M
ock/1.0.0.25
7458 VERBOSE? Found exported production node. Depth: OpenNI/Mo
ck/1.0.0.25
8068 VERBOSE? Found exported production node. IR: OpenNI/Mock/
1.0.0.25
8569 VERBOSE? Found exported production node. Image: OpenNI/Mo
ck/1.0.0.25
9232 VERBOSE? Found exported production node. Audio: OpenNI/Mo
ck/1.0.0.25
9755 VERBOSE? Checking C:\Program Files (x86)\OpenNI\bin\nimCo
decs.dll...
  1. 329 VERBOSE? Found exported production node. Codec: OpenNI/16
zP/1.0.0.25
  1. 474 VERBOSE? Found exported production node. Codec: OpenNI/16
zT/1.0.0.25
  1. 980 VERBOSE? Found exported production node. Codec: OpenNI/Im
8z/1.0.0.25
  1. 535 VERBOSE? Found exported production node. Codec: OpenNI/JP
EG/1.0.0.25
  1. 094 VERBOSE? Found exported production node. Codec: OpenNI/NO
NE/1.0.0.25
  1. 692 VERBOSE? Checking C:\Program Files (x86)\Prime Sense\Sens
or\Bin\XnDeviceFile?.dll...
42801 VERBOSE? Found exported production node. Player: PrimeSen?
se/File/1.0.0.23
43496 VERBOSE? Checking C:\Program Files (x86)\Prime Sense\Sens
or\Bin\XnDeviceSensorV2?.dll...
45703 VERBOSE? Found exported production node. Device: PrimeSen?
se/SensorV2?/5.0.0.24
46159 VERBOSE? Found exported production node. Depth: PrimeSens?
e/SensorV2?/5.0.0.24
46803 VERBOSE? Found exported production node. Image: PrimeSens?
e/SensorV2?/5.0.0.24
47382 VERBOSE? Found exported production node. IR: PrimeSense?/S
ensorV2/5.0.0.24
47958 VERBOSE? Found exported production node. Audio: PrimeSens?
e/SensorV2?/5.0.0.24
49644 VERBOSE? Requested to create a node of type Image... 52514 INFO? Creating node 'Device1' of type Device...
  1. 64551 INFO? Property Device.ShareMode? was changed to 1.
  2. 65649 INFO? Property Device.InstancePointer? was changed.
  3. 67244 INFO? Property Device.ShareMode? was changed to 0.
  4. 68689 INFO? Creating node 'Image1' of type Image...
  5. 69341 VERBOSE? Creating stream Image1 (of type Image)
  6. 82415 INFO? Property Device.ReadData? was changed to 1.
  7. 98956 INFO? Creating stream 'Image1' of type 'Image'...
  8. 00020 VERBOSE? Initializing stream 'Image1'...
  9. 01064 INFO? Property Image1.RequiredDataSize? was changed to 230400.
  10. 02044 INFO? Property Image1.OutputFormat? was changed to 5.
  11. 02563 INFO? Stream 'Image1' was initialized.
  12. 03065 INFO? 'Image1' stream was created.
  13. 03776 VERBOSE? Batch configuring server...
  14. 04447 INFO? Property Image1.RequiredDataSize? was changed to 460800.
  15. 05000 INFO? Property Image1.XRes was changed to 640.
  16. 05434 INFO? Property Image1.RequiredDataSize? was changed to 921600.
  17. 06208 INFO? Property Image1.YRes was changed to 480.
  18. 06464 INFO? Property Image1.Resolution was changed to 1.
  19. 06982 VERBOSE? Setting Image1.Mirror to 1...
  20. 07598 INFO? Property Image1.Mirror was changed to 1.
  21. 07928 VERBOSE? Requested to create a node of type Depth...
  22. 10139 INFO? Creating node 'Depth1' of type Depth...
  23. 10281 VERBOSE? Creating stream Depth1 (of type Depth)
  24. 46569 INFO? Creating stream 'Depth1' of type 'Depth'...
  25. 47094 VERBOSE? Initializing stream 'Depth1'...
  26. 47922 INFO? Property Depth1.RequiredDataSize? was changed to 153600.
  27. 48689 INFO? Property Depth1.OutputFormat? was changed to 1.
  28. 49524 INFO? Stream 'Depth1' was initialized.
  29. 50131 INFO? 'Depth1' stream was created.
  30. 50920 VERBOSE? Batch configuring server...
  31. 51435 INFO? Property Depth1.RequiredDataSize? was changed to 307200.
  32. 51812 INFO? Property Depth1.XRes was changed to 640.
  33. 52269 INFO? Property Depth1.RequiredDataSize? was changed to 614400.
  34. 52978 INFO? Property Depth1.YRes was changed to 480.
  35. 53264 INFO? Property Depth1.Resolution was changed to 1.
  36. 53867 VERBOSE? Setting Depth1.Mirror to 1...
  37. 54443 INFO? Property Depth1.Mirror was changed to 1.
  38. 54786 VERBOSE? Requested to create a node of type User...
  39. 55200 INFO? Destroying node 'Depth1'
  40. 55606 VERBOSE? Destroying stream Depth1
  41. 67902 INFO? Destroying stream 'Depth1'...
  42. 69141 VERBOSE? 'Depth1' stream destroyed.
  43. 70357 INFO? Destroying node 'Image1'
  44. 71534 VERBOSE? Destroying stream Image1
  45. 85571 INFO? Destroying stream 'Image1'...
  46. 86994 VERBOSE? 'Image1' stream destroyed.
  47. 87708 INFO? Destroying node 'Device1'
  48. 89036 VERBOSE? Sending Bye
  49. 96700 VERBOSE? Socket has been gracefully closed
  50. 97176 VERBOSE? Network connection was closed gracefully
  51. 98247 INFO? Client connection was closed gracefully
Failed: Can't create any node of the requested type! (g_context.InitFromXmlFile?( getResourceFile("config", "OpenNIConfig.xml").c_str())) Error occured. Press any key to close this window.

Any suggestions?

thanks

Comment by project member tom...@gmail.com, Apr 4, 2011

Hi ljbeato,

It looks like you do not have a proper installation of NITE. Installing it (or reinstalling it if you already have it) may solve the problem.

Your debug log says the program successfully created Image and Depth node but then hit an issue in creating User node. This can happen when you have OpenNI and driver but missed NITE. Note that possibly the order of the installation matters -- you should install OpenNI first and then NITE because NITE serves a "plug-in" to OpenNI framework.

Comment by Danielle...@gmail.com, Jun 24, 2011

Hey there, I know I am not a professional in the programming world nor do I think I should ever be because I am a hack when it comes to Getting computers to work appropriately. That said, I am a business professional and this is an awesome opportunity for you to capture the hardcore audience that bought kinect and is now being so starved for good content I would pay 200 MS points just to get this program and screw around with it. Kinect has already shipped over 8 million units so even if you on got a fraction of those to buy your little "title", I don't see why you shouldn't register it and make yourself some money while helping the gaming community. If you feel akward charging a little, take the money and polish the program with support and updates with the cash. I've seen alot worse/less go for alot more on the XBLA. Pardon me telling you what to do with your property and time but I was impressed and thought how much I (every DBZ fan with Kinect) would love to screw around with this program without having to hack and do installs. You've done all the tough stuff and you should be compensated for the world's happiness with your product. Have a great day an keep up the great work sir! I salute you! Method0123

Comment by amith.ha...@gmail.com, Apr 5, 2015

Hi Tom

I am beginner novice in gaming area. Was really inspired by your video

I tried to run your application with different vtx file (please refer attachment), but it is not accepting.

Can you please guide on following

  1. create a different vtx file for your application/ any method to create it?
2. Any other links which could be helpful for, rendering 3d models in opengl
in kinect

Powered by Google Project Hosting