在C#中渲染3D线 [英] rendering 3D lines in C#

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

问题描述



对于我的一个小应用程序,我想绘制一个连接立方体的线框",如下所示:
http://quickscreen.eu/image.php?h=9824f5d035fd02dff47cbfbbb4df93e9 [

Hi,

for a little application of mine I want to draw a ''wireframe'' of connected cubes like this:
http://quickscreen.eu/image.php?h=9824f5d035fd02dff47cbfbbb4df93e9[^]
(Sorry for my bad painting skills ;) )

I''m looking for an easy 3d engine/class that can draw lines, circles or cubes or spheres and where you can move the camera position.
It doesn''t have to be a perfect engine/class, even something that renders Graphics on a form will do, but I can''t find any that do the full job.

I hope it is clear what I am looking for, and I hope someone can help me.

Does anyone know what I can use for this?

推荐答案

我建​​议先使用openGL
尝试从类似于以下链接的简单内容开始:

http://www.developerfusion.com/article/3823/opengl-in-c/ [ ^ ]

http://www.developerfusion.com/article/3823/opengl-in-c/2 / [^ ]

由于CSGL开发已停止,因此您可以使用OpenTK.
http://www.opentk.com/ [ ^ ]

托管DirectX非常酷,但是如果您不熟悉3D,则方法会更加复杂.

希望对您有所帮助!
I recommend using openGL first
try starting with something simple like these links:

http://www.developerfusion.com/article/3823/opengl-in-c/[^]

http://www.developerfusion.com/article/3823/opengl-in-c/2/[^]

since CSGL development was stopped, you might use OpenTK then.
http://www.opentk.com/[^]

Managed DirectX is pretty cool, but way more complex if your are not familiar with 3D.

hope it helps!


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

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