|
Comments
Placeholder to retain public comments
Featured Comments@en Please leave your comment here if any. Thanks!
@ja コメントあればここに追加してください。よろしくお願いします。
|
|
Search
|
|
Comments
Placeholder to retain public comments
Featured Comments@en Please leave your comment here if any. Thanks!
@ja コメントあればここに追加してください。よろしくお願いします。
|
kinect-ultra 0.1a DLさせていただき、ありがとうございます。 単純なんですが、すぐにビーム出して遊んでましたw アクションがわかりやすくて、楽しいですね。(アイデアが素晴らしい!)
参考までに動作確認した環境 CPU:Core_i7 950 + GPU:Geforce GTX460 + Win7_Home?(64bit)
※これからも、がんばってください
@ja どうもありがとうございます。やはりCPUパワーのあるマシンですね。「誰でも思いつきそうなことをいち早くやっただけ」だと自分では思ってるのでアイディアほめられると恐縮です。
@en Thanks for letting me know of your configuration. It is very helpful.
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)
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
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
プロジェクトを My Documents等のスペースありのディレクトリに置くと、ビルドの最終ステップでエラーになります。プロジェクトのプロパティのカスタムビルドのcopyコマンドに書かれているディレクトリを""で囲むとokです。ご参考まで。 あと、Windows 7(64bit)上でWindowsXP(32bit)をVMwareで起動してその上で動作させてみました。ネイティブとの比較はしてないので、速度等はなんとも言えないのですが、特に問題なく動いています。
Windows 7 (64bit), Core i5 M 430 (GPU つき)
Hi mike.lightfox,
Thanks for sharing your steps. Below is mine.
@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!
@ja taka.atsushiさん
そこでコケるのはどうも不思議です。 実行時の作業ディレクトリの下にカレントディレクトリの下に data\image\sparkAlpha.pngやその他諸々はちゃんとありますよね?
Hi mike.lightfox,
Now I looked at your issue report and it seems something weird was happening. I will find time to explore.
@ja taka.atsushiさん
デバッガの画像を見ると、緑の矢印がdeleteを指している、 すなわちdeleteの内部でこけているように見えますね。 そこまではおそらく正しく動いているはずです。 imageも元気そうです(imageData=""なのは問題ないです)。
ロジックはどう見ても正しいのにメモリ解放がこけるというのは、 VC++のランタイムライブラリのリリース版とデバッグ版とが ちゃんぽんでリンクされてると起こることがあります。 最初のエラーは私がビルドしたライブラリで起こったのですよね? そちらでビルドしたものではなく。心当たりがないこともないので (プレビルドのGLTools.libまわりがちょっと怪しい)調べます。
@ja taka.atsushiさん
コンパイルオプションを直してビルドしたものを0.1aとしてアップしました。これを叩いてみて、うまくいくか試してみてもらえないでしょうか?kinect-ultra-0.1a.zip
svnの調子がおかしいのでプロジェクトファイルはチェックインできていません。502 Bad Gatewayが返ってきます。
Hi mike.lightfox,
I uninstalled NITE, and confirmed that the same issue was reproduced. Thanks!
同じところで止まってしまいました。
最初のエラーは 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.
I'm glad i could be of help, tomoto, your project is awesome! 0
taka.atsushiさん、
デバッガでステップ実行すると、正確にどこで止まるかわかりますか? 「deleteにマーカーが合うところまで進み、そこでF10やF11で進めるとエラーになる」のか、 それとももう少し前の関数でエラーになるのか、といったことがわかるでしょうか。 お手数おかけします。Thanks for your help.
上のは Release でビルドしたときなんですが、実は Debug でビルドすると http://f.hatena.ne.jp/edvakf/20110112110811 ってなっちゃいます。main の直後にブレイクポイントを置いてもその前に終わっちゃうのでお手上げです。
taka.atsushiさん、
もしかしたらGPUのハードウェアかもしれません。 機能が足りないとかテクスチャ(画像データ)格納用のメモリが足りないとか。 今まで動作実績いただいているのはすべて外付けのそこそこ大物のGPUで、 Core i5 430Mのような内蔵GPUでの実績はまだ聞いたことがないのです。 もしかしたらこのへんに動く・動かないの境界があるのかもしれません。
確信があるわけでもないのですが、コードとしては何の変哲もないので、 それくらいしか思いつかないという感じです。
もしかしたらこちらのランタイムがおかしいのかもしれません。何か分かったらまた報告します。
By the way I enjoyed your video! Thank you.
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...
mike.lightfox, I used CamStudio? (http://camstudio.org/). It works totaly fine with me.
taka.atsushiさん、
やはりGPUの機能不足のようです。 こちらで低スペックGPUのノートPCで実行したら似たような問題が出たので、 調べてみたところ必要なGPUの機能(シェーダ)がないので初期化に失敗していました。 たぶんこれです。
taka.atsushiさん
0.1b作りました。GPUがシェーダをサポートしているかチェックし、だめならクラッシュではなくエラーを表示します。これがエラーを出したらビンゴ、残念ながらそのマシンで動かすことはできません。
「マンガの主人公が使っている武器や必殺技の中で使ってみたいものランキング」 http://news.ameba.jp/20110114-89/ これを参考にシリーズ化しましょう。この興奮を世界に広めましょう!
V0.1bクラッシュしました。今夜、V0.1cを試してみます。
おもしろいアンケートですね。かめはめ波は不動の人気か。
V0.1cを是非試してみてください。この修正で動く環境がだいぶ増えたのではないかと思います。「コードは同じなのにマシンによってはメモリを食いつぶす」という原因不明の現象が見つかったので直したというか回避したのですが、いかんせん根本原因不明なので効果なかったらごめんなさい。
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)
It may take a minute until initialization completes... Enjoy!
OpenGL version = 3.2.0 Shader language version = 1.50 NVIDIA via Cg compiler
:42:40) corder.dll... /Recorder/1.0.0.25 layer/1.0.0.25 ckNodes.dll... ock/1.0.0.25 ck/1.0.0.25 1.0.0.25 ck/1.0.0.25 ck/1.0.0.25 decs.dll...- 329 VERBOSE? Found exported production node. Codec: OpenNI/16
zP/1.0.0.25- 474 VERBOSE? Found exported production node. Codec: OpenNI/16
zT/1.0.0.25- 980 VERBOSE? Found exported production node. Codec: OpenNI/Im
8z/1.0.0.25- 535 VERBOSE? Found exported production node. Codec: OpenNI/JP
EG/1.0.0.25- 094 VERBOSE? Found exported production node. Codec: OpenNI/NO
NE/1.0.0.25- 692 VERBOSE? Checking C:\Program Files (x86)\Prime Sense\Sens
or\Bin\XnDeviceFile?.dll... se/File/1.0.0.23 or\Bin\XnDeviceSensorV2?.dll... se/SensorV2?/5.0.0.24 e/SensorV2?/5.0.0.24 e/SensorV2?/5.0.0.24 ensorV2/5.0.0.24 e/SensorV2?/5.0.0.24- 64551 INFO? Property Device.ShareMode? was changed to 1.
- 65649 INFO? Property Device.InstancePointer? was changed.
- 67244 INFO? Property Device.ShareMode? was changed to 0.
- 68689 INFO? Creating node 'Image1' of type Image...
- 69341 VERBOSE? Creating stream Image1 (of type Image)
- 82415 INFO? Property Device.ReadData? was changed to 1.
- 98956 INFO? Creating stream 'Image1' of type 'Image'...
- 00020 VERBOSE? Initializing stream 'Image1'...
- 01064 INFO? Property Image1.RequiredDataSize? was changed to 230400.
- 02044 INFO? Property Image1.OutputFormat? was changed to 5.
- 02563 INFO? Stream 'Image1' was initialized.
- 03065 INFO? 'Image1' stream was created.
- 03776 VERBOSE? Batch configuring server...
- 04447 INFO? Property Image1.RequiredDataSize? was changed to 460800.
- 05000 INFO? Property Image1.XRes was changed to 640.
- 05434 INFO? Property Image1.RequiredDataSize? was changed to 921600.
- 06208 INFO? Property Image1.YRes was changed to 480.
- 06464 INFO? Property Image1.Resolution was changed to 1.
- 06982 VERBOSE? Setting Image1.Mirror to 1...
- 07598 INFO? Property Image1.Mirror was changed to 1.
- 07928 VERBOSE? Requested to create a node of type Depth...
- 10139 INFO? Creating node 'Depth1' of type Depth...
- 10281 VERBOSE? Creating stream Depth1 (of type Depth)
- 46569 INFO? Creating stream 'Depth1' of type 'Depth'...
- 47094 VERBOSE? Initializing stream 'Depth1'...
- 47922 INFO? Property Depth1.RequiredDataSize? was changed to 153600.
- 48689 INFO? Property Depth1.OutputFormat? was changed to 1.
- 49524 INFO? Stream 'Depth1' was initialized.
- 50131 INFO? 'Depth1' stream was created.
- 50920 VERBOSE? Batch configuring server...
- 51435 INFO? Property Depth1.RequiredDataSize? was changed to 307200.
- 51812 INFO? Property Depth1.XRes was changed to 640.
- 52269 INFO? Property Depth1.RequiredDataSize? was changed to 614400.
- 52978 INFO? Property Depth1.YRes was changed to 480.
- 53264 INFO? Property Depth1.Resolution was changed to 1.
- 53867 VERBOSE? Setting Depth1.Mirror to 1...
- 54443 INFO? Property Depth1.Mirror was changed to 1.
- 54786 VERBOSE? Requested to create a node of type User...
- 55200 INFO? Destroying node 'Depth1'
- 55606 VERBOSE? Destroying stream Depth1
- 67902 INFO? Destroying stream 'Depth1'...
- 69141 VERBOSE? 'Depth1' stream destroyed.
- 70357 INFO? Destroying node 'Image1'
- 71534 VERBOSE? Destroying stream Image1
- 85571 INFO? Destroying stream 'Image1'...
- 86994 VERBOSE? 'Image1' stream destroyed.
- 87708 INFO? Destroying node 'Device1'
- 89036 VERBOSE? Sending Bye
- 96700 VERBOSE? Socket has been gracefully closed
- 97176 VERBOSE? Network connection was closed gracefully
- 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
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.
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
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