Jump to content

  • Log In with Google      Sign In   
  • Create Account

Interested in a FREE copy of HTML5 game maker Construct 2?

We'll be giving away three Personal Edition licences in next Tuesday's GDNet Direct email newsletter!

Sign up from the right-hand sidebar on our homepage and read Tuesday's newsletter for details!


Kinect with DirectX11


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
3 replies to this topic

#1 wildboar   Members   -  Reputation: 281

Like
0Likes
Like

Posted 03 December 2011 - 09:52 AM

I am following the Kinect SDK tutorial and it seems to be working fine so far, the problem I am having is that it uses DirectX9 for the renderer and I wish to use DirectX11.

I managed to get the actual depth and video streams into BYTE * but I need a way to convert it into a DirectX11 texture per frame.

Has anyone done something similar to what I am doing? If you have some sample code would help me a lot thanks.



Sponsor:

#2 InvalidPointer   Members   -  Reputation: 1439

Like
1Likes
Like

Posted 03 December 2011 - 01:17 PM

UpdateResource() or Map() should do more or less exactly what you need.
clb: At the end of 2012, the positions of jupiter, saturn, mercury, and deimos are aligned so as to cause a denormalized flush-to-zero bug when computing earth's gravitational force, slinging it to the sun.

#3 TiagoCosta   Crossbones+   -  Reputation: 2331

Like
1Likes
Like

Posted 03 December 2011 - 04:43 PM

UpdateResource() or Map() should do more or less exactly what you need.


Dont forget to create the texture with the D3D11_USAGE_DYNAMIC flag.

#4 Jason Z   Crossbones+   -  Reputation: 5147

Like
1Likes
Like

Posted 04 December 2011 - 02:41 PM

You have pretty good timing --> I just added a Kinect sample to Hieroglyph 3 that does exactly what you are looking for :) Take a look at the KinectPlayground sample, and you should be able to find the code that you want. It is hot off the compiler, and there isn't much error checking so far, but it should work out of the box if you have the Beta 2 SDK installed.

You should end up with something looking like this when it runs:

KinectPlayground_000001.png


If you have any questions or comments on the sample I would be interested to hear them!




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS