使用Visual Studio 2010在C#中使用3D图形 [英] 3D graphs in C# using Visual Studio 2010

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

问题描述

我有visual studio 2010以及使用C#和C ++编程的基本知识。如何在C#中编写代码以绘制3D线(x,y,z轴)

另外如何从计算机中的文件或其他C程序传输数据以提供C#程序用3D绘制的点。



注意:我不熟悉opengl,sharpgl,unity,API等工具

I have visual studio 2010 and basic knowledge of programming in C# and C++. How do I write a code in C# to plot 3D lines (x,y,z axis)
Also how can I transfer data from a file in the computer or from another C program to give the C# programme the points to plot in 3D.

Note: Im not well versed with tools like opengl, sharpgl, unity, API etc

推荐答案

要解决两个问题,从3D空间(数据)转换到2D空间(显示)。它涉及数学,确实很多。另一个问题(较小的一个)是访问图形界面(绘图)。



看看这篇文章 C#中的3D绘图库 [ ^ ],它已经过时了,但可以给你一些开始和学习的想法。



谷歌,搜索引擎,而不是公司;),肯定是你最好的联盟来解决这个任务。
You have two problems to solve, transformation from a 3D space (your data) to the 2D space (the display). It involves math, a lot indeed. The other problem (the smaller one) is accessing the graphics interface (drawing).

Take a look a this article A 3D Plotting Library in C#[^], it's old, but could give you some ideas to start with and Learn.

Google, the search engine, not the company ;), will surely be your best allied on solving this task.


如果我有这个项目/要求,我要做的第一件事就是搜索CodeProject,或其他一些与开发相关的网站,一些与该领域相关的关键词,并从这里开始。



你所要求的远远超出了这个Q&A论坛的目标,该论坛致力于回答有关具体问题的具体问题。



我可以搜索你,但我有利能够进行有效搜索的理念是一个体面的开发者所需要的品质之一。



祝你好运!
If I had this project/requirement, first thing I would do would be to search on CodeProject, or some other development related site, some keywords related to this field, and start from here.

What you are asking is far beyond the goal of this Q&A forum, which is devoted to answering to specific questions on specific problems.

I could do the search for you, but I consider that being able to do an efficient search is one of the qualities required for a decent developper.

Good luck!


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

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