用户控制在主窗口变慢 [英] Usercontrol getting slow in mainwindow

查看:47
本文介绍了用户控制在主窗口变慢的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

 我有3d模型作为与主窗口绑定的usercontrol。当我绑定3D模型用户控件时,主窗口中的其他控件也变慢了。渲染也很慢。但我试图将深度流格式
(640 * 480)更改为(320 * 240)。现在图像渲染效果很好。现在,在主窗口中已经有一个深度框架正在运行,该分辨率也会受到影响。任何身体都可以帮助我提高3D模型渲染的速度。

  I have 3d model as  usercontrol binding with mainwindow. when i bindiing the  3d model usercontrol.the other controls in mainwindow are also getting slow. the rendering also very slow. but i have tried to changing the depthstream format (640 * 480) to (320 * 240). now the image rendering was good. Now  in mainwindow already one depth frame was running that  resolution also affected. can any body help me to increasing the speed of the 3d model rendering.

提前谢谢,

 

kirubha

推荐答案

Kinect for Windows对渲染模型的方式没有影响。通过更改深度流的分辨率,您将处理一半的数据,从而使CPU有更多的时间花在渲染任何内容上。如果你没有给出任何更深入的信息
,我会说你需要降低模型的顶点数或升级系统的CPU / GPU。
Kinect for Windows has no effect on how you render your model. By changing the resolution of the depth stream, you are processing half the data and therefore giving the CPU more time to spend on render whatever it is. Without given any further information on what you are doing with depth, I would say you need to lower the vertex count of the model or upgrade the CPU/GPU of the system.


这篇关于用户控制在主窗口变慢的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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