3D中的WinForms?WinForms

2023-09-03 00:34:40 作者:◇ωδ也⒋笑了

我如何使用里面的WinForms 3D视图?

How can i use 3D view inside WinForms?

我应该使用XNA?

我发现这个教程:http://create.msdn.com/en-US/education/catalog/sample/winforms_series_1

但我不明白我如何添加只是ContentLibrary和内容,以我的WinForms项目。

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

或者是possbile使用的Scaleform GFx的? 对于Half2D还是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.

然后把一个WPF面板在您想要的3D画面。剪切和从互联网上粘贴3D WPF code。

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