Tag Info

New answers tagged

1

Why not use the oficial Microsoft Kinect SDK? It's a .NET assembly that can be added as reference to a normal C# project. You can download the SDK from here: http://www.microsoft.com/en-us/kinectforwindows/develop/developer-downloads.aspx


1

Because of SetData, performance suffers a lot. SetData makes a transfer between GPU's ram and CPU's ram. Imagine doing this operation every frame. This causes performance issues. I recommend using Task for seperating AllFramesReady method (in which you call your Video method). The images from kinect sensor may still be a bit laggy, but since they are not on ...


4

Use no try/catch in performance sensitive loops. You need to track down the source of what could cause an error, and prevent it from happening. Throwing and catching an exception is an extremely expensive operation. You are creating a Texture2D, and populating it from a stream. You could probably save some memory by not creating a new one for every call ...



Top 50 recent answers are included