具有图形强度的多点触摸应用程序,XNA或WPF可以采用哪种方法? [英] Which way to go with graphic-intense multi-touch app, XNA or WPF?

查看:78
本文介绍了具有图形强度的多点触摸应用程序,XNA或WPF可以采用哪种方法?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我即将开始开发多点触控应用程序.
我需要在WPF和XNA之间做出选择.
哪个会运行得更快? WPF已经具有通过TUIO输入支持多点触控的库.
有谁知道类似的库,甚至只是示例代码
在XNA中拖动/旋转/移动对象?

I am about to start development of a multi-touch application.
I need to decide between WPF and XNA.
Which would run faster ? WPF already has libraries to support multi-touch via TUIO input.
Does anyone know a similar library or even just sample code to
drag/rotate/move objects in XNA ?

谢谢! SW.

推荐答案

触摸只是从用户那里获取输入的另一种方法.将此输入路由到XNA应用程序还是WPF应用程序,更多地取决于您要在应用程序中执行的操作.

Touch is just another way of getting input from the user. Whether you route this input to an XNA app or WPF app depends more on what you want to do in the app.

XNA是用于在Windows,Xbox和Zune上执行2D/3D的较低级别的api. WPF仅对更高级别的3D支持,并且仅针对(当前)Windows.因此,XNA与WPF的结合更是图形需求和平台支持的决定.

XNA is a lower level api for doing 2D/3D on Windows, Xbox and Zune. WPF has only a higher level support for doing 3D and targets (currently) only Windows. So going with XNA vs WPF is imo more a decision of graphics requirements and platform support.

由于您的应用程序图形密集,因此在较低级别上工作可能会更有效率(阅读XNA甚至 SlimDX / DirectX ). Reimer的XNA教程有很多关于XNA入门的出色文章.

Since your app is graphic intense it could be more efficient to work at a lower level (read XNA or even SlimDX/DirectX). Reimer's XNA tutorials have a lot of great articles for starting out with XNA.

这篇关于具有图形强度的多点触摸应用程序,XNA或WPF可以采用哪种方法?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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