C#中的2D和3D [英] 2D and 3D in C#

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

问题描述

嗨!

我想在Visual Studio中绘制自定义形状.

请告诉我有关C#中2D和3D的信息.
如何在C#中建模/绘制形状?

是否有用于此的dll?

请寄给我2个样品.

谢谢.

Hi !

I want to draw custom shape in visual studio .

Please tell me about 2D and 3D in C# .
How I can modelling/draw shapes in C# ?

Are there any dll for this ?

Please send 2 me a sample .

Thanks .

推荐答案

好吧,绘制2D和3D的最佳方法是使用WPF.

WPF图形允许您绘制任何形状,并在其上支持动画.您甚至可以将自定义相机投影到对象.

查看本文:

WPF 3D:n的第1部分 [
Well, the best way to draw 2D and 3D is using WPF.

WPF graphics allows you to draw any shape and also supports animation on it. You can even have custom camera projection to objects.

Check this article :

WPF 3D : Part 1 of n[^]

:cool:


尝试使用namespace System.Drawing.Drawing2D.
您所说的(形状)似乎不需要任何3D.
如果您确实需要真实 3D,我是否建议在Google上搜索?
Try to use the namespace System.Drawing.Drawing2D.
You don''t seem to need any 3D for what you said (a shape).
If you really need real 3D, may I suggest searching on google?


如果是2D,则可以使用C#(命名空间System.Drawing.Drawing2D)
如果是3D,则可以使用XNA(最新版本4.0)
If 2D you can use C# (namespace System.Drawing.Drawing2D)
If 3D you can use XNA (latest ver 4.0)


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

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