Link to home
Start Free TrialLog in
Avatar of San24
San24

asked on

Graphics in C#

Experts,

I`m using VS2008, C# 3.5

Given a List of spatial co-ordinates [X, Y and Z]. How do you draw the underlying shape in a C# application. I do realize there is a lot of Math involved. I`m still in the planning phase, so directions and suggestions will be greatly appreciated before I start out. Should I be using some kind of Graphics package? Are they drawn on a regular Panel. Examples of code will be welcome, even a simple cube or a triangle. I first have to get the idea of how its done, and then I can work on the more complex stuff.

Thanks,
San
ASKER CERTIFIED SOLUTION
Avatar of Rahul Agarwal
Rahul Agarwal
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of San24
San24

ASKER

jdavistx and agarwalrahul - Thanks.

I have basic understanding of how graphics work. What is GDI+ and DirectX and all? Should I be looking into it. At some point I will have to animate it.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of San24

ASKER

@jdavistx _ Thanks for the help. For now, I`m using GDI+. Once I have the basics right I can move to a different more complex platform.

Well, when I started off, WPF was an option - but I need to show wire meshes - connecting lines and WPF doesn`t support this. So, I had to chuck this option.


SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of San24

ASKER

You can but you`ll have to use resources outside the framework - like using _3DTools;, and right now I don`t want go that way.