question about display depth display RRS feed

  • Question

  • i am studying theSDk V1 demo video, but i am using V1.5.

    the coding of original code used in V1 are

    KinectSensor oldSensor = (KinectSensor)e.OldValue;

    However in the V1.5 SDK

    e.OldValue is red underlined.

    can anyone help?

    Thursday, June 7, 2012 7:29 AM

All replies

  • Since we have no reference to the video you mention, the context is a bit difficult to understand what you are trying to do. The code from v1 to 1.5 has not changed when it comes to this task.

    Getting and Displaying Depth Data in C#

    There are also all of the samples that are provided in the Toolkit that demostrate all of this as well.

    Thursday, June 7, 2012 10:45 PM
  • Without seeing more of the code than the one line you've shown, my guess is that you're looking at materials that were intended to work with the Kinect for SDK Beta, not V1. The sensor enumeration/presence APIs were changed significantly after the Beta.

    This topic explains how to enumerate Kinect sensors in V1.0 and V1.5:

    K4W Dev

    Thursday, June 7, 2012 10:53 PM