Click here to Skip to main content
15,887,083 members
Please Sign up or sign in to vote.
3.50/5 (2 votes)
See more:
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 .
Posted
Comments
Sandeep Mewara 25-Sep-10 11:09am    
Tried 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?
 
Share this answer
 
Comments
Nader Barman 26-Sep-10 3:06am    
Reason for my vote of 5
Automatic vote of 5 for accepting answer.
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:
 
Share this answer
 
Comments
Per Söderlund 25-Sep-10 16:15pm    
Best way drawing 3d for me is OpenGl.
Tao framework can be used in .net programming.
Nader Barman 26-Sep-10 3:03am    
Reason for my vote of 5
Automatic vote of 5 for accepting answer.
If 2D you can use C# (namespace System.Drawing.Drawing2D)
If 3D you can use XNA (latest ver 4.0)
 
Share this answer
 
Comments
JF2015 24-Sep-12 1:58am    
This question was asked 2 years ago, so why answer now?
Shambhoo kumar 24-Sep-12 2:10am    
nice question..apply WPF
haitrieu749 24-Sep-12 2:12am    
I'm learning XNA, and accidental see this question. I didn't see this question was asked 2 years ago!! :D
XNA is also a good solution for 3D.

SlimDX is good too but I never got it to work...
 
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