如何在.NET窗体上实现和处理3D图像? [英] How to implement and handling 3D images on the .NET windows forms ?
本文介绍了如何在.NET窗体上实现和处理3D图像?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
是否可以在表单上播放3D图像?
我尝试过:
我已经在WPF中实现了,但要求是在Windows窗体中。
if it is possible to allow rotating 3D images on a form?
What I have tried:
I have already implemented in WPF but requirement is in Windows Form.
推荐答案
没有内置控件,可以在Windows窗体中为您执行此操作。因此,您可以在Windows窗体应用程序中托管WPF控件。
如果您想自己创建这种控件,那么您需要进行大量的工作。你将不得不实现从鼠标控制到渲染的一切。
另一种选择是第三方控制。您可以在任何WPF控件包中找到类似的东西,但这会花费你大量的钱。
演练:在Windows窗体中托管WPF复合控件| Microsoft Docs [ ^ ]
混合WPF和WinForms - 简单对话 [ ^ ]
There is no built in control that's going to do this for you in Windows Forms. So, you can host the WPF control in a Windows Forms app.
If you wanted to create this kind of control yourself, you're in for a LOT of work. You're going to have to implement EVERYTHING from mouse controls to rendering.
Another option is a 3rd party control. You can find something like this in just about any WPF control package, but it's going to cost you a hefty chunk of money for these.
Walkthrough: Hosting a WPF Composite Control in Windows Forms | Microsoft Docs[^]
Mixing WPF and WinForms - Simple Talk[^]
这篇关于如何在.NET窗体上实现和处理3D图像?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文