WinForms 中的 3D? [英] 3D in WinForms?

查看:36
本文介绍了WinForms 中的 3D?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在 WinForms 中使用 3D 视图?

How can i use 3D view inside WinForms?

我应该使用 XNA 吗?

Should i use XNA ?

我找到了这个教程:http://create.msdn.com/en-US/education/catalog/sample/winforms_series_1

但我不明白如何将 ContentLibrary 和 Content 添加到我的 WinForms 项目中.

But i dont understand how can i add just ContentLibrary and Content to my WinForms project.

或者可以使用 Scaleform GFx 吗?是半 2D 还是 3D?

Or is it possbile to use Scaleform GFx ? for Half2D or 3D ?

推荐答案

使用 WPF.您可以混合和匹配表单.WPF 有一个 winforms 容器,您可以将其放入窗口并填充它.但是您可以使用 WPF 开箱即用,只需很少的教育 - 提示 = 使窗口固定大小或调整大小将控制您的控件.做对了很难.

Use WPF. You can mix and match the forms. WPF has a winforms container you can drop in a window and make fill it. But you can use WPF out of the box fine with little education - tip = make the window fixed size or resizing will hose your controls. Doing that right is hard.

然后在您想要 3d 的位置为图片放置一个 wpf 面板.剪切并粘贴来自互联网的 3d wpf 代码.

Then put a wpf panel for a picture where you want the 3d. Cut and paste 3d wpf code from the internet.

这篇关于WinForms 中的 3D?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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