Click here to Skip to main content
15,889,335 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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
Posted

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.
 
Share this answer
 
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!
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900