样本加速C ++ vs C# [英] Samples speed C++ vs C#

查看:87
本文介绍了样本加速C ++ vs C#的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我从SDK浏览器运行示例应用程序时,为什么C ++版本的Color Basics和C#WPF版本之间的速度有这么大差异?

When I run the sample apps from the SDK browser, why is there such a difference in speed between the C++ version of Color Basics and the C# WPF version?

是它归结为:

1。 C ++和C#之间的速度差异

1. the differences in speed between C++ and C#

2。使用Direct2D与WPF

2. the use of Direct2D vs. WPF

3。其他一些因素。

如果我只运行C#/ WPF样本,那么kinect行为真的很慢;帧速率降至零,kinect似乎断开连接。有趣的是,如果我同时同时运行C ++和C#版本,它们都具有相同的帧速率
我只能运行C ++ / D2D。

If I run just the C#/WPF sample, the kinect acts really slow; the frame rate drops to zero and the kinect appears to disconnect. Interestingly, if I run both the C++ and C# versions at the same time side by side, they both have the same frame rate I can get by running just the C++/D2D.

如果我在C#/ WPF样本的同时运行Kinect Studio,则样本的帧速率也不错。如果我在C#/ WPF样本的同时运行Kinect配置验证程序,则样本帧速率会下降并且kinect会发生影响。

If I run Kinect Studio at the same time as the C#/WPF sample, the sample also has a decent frame rate. If I run the Kinect Configuration Verifier at the same time as the C#/WPF sample, the sample frame rate drops and the kinect diskinects.

是否有其他人注意到这一点,或者有任何建议?

Has anyone else noticed this, or have any suggestions?

推荐答案

我想知道你是否使用的USB 3.0控制器不能完成任务?   在此论坛中查看
粘性以获取兼容配置列表
I wonder if you are using a USB 3.0 controller that is just not up to the task?  See the sticky in this forum for a list of compatible configurations.


这篇关于样本加速C ++ vs C#的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆