How to build 3D-graphics in VC# .NET?

D

Dr. Zharkov

Hello. Inform, please, how to find the programs on building the 3D-graphics
of function z=f (x, y) and only for Visual Studio .NET: Visual C# .NET,
Visual Basic .NET or Visual C++ .NET and GDI+ (without use DirectX, OpenGL
and similar packages)?
Beforehand many thanks for your answer. Best regards, Dr. V.A. Zharkov.
Moscow, Russia.
 
N

Nicholas Paldino [.NET/C# MVP]

Dr. Zharkov,

You are in for a rough ride. If you aren't going to use any of the
packages out there (like DirectX, or OpenGL), then you are going to have to
code all of this from scratch. You will have to do everything using the
Graphics class in the System.Drawing namespace, and probably a number of
unmanaged API calls.

Hope this helps.
 
J

JDeats

If you understand the math behind it this should be no problem, just
use the pixel plot function of GDI+ and build all your methods to draw
primitives, etc.. If you don't know much about the math involved:
Mathematics for 3D Game Programming & Computer Graphics by Eric
Lengyel is a good place to start.

Please note: this is not a practicle thing to invest time (unless
you're just looking for the learning experience of how to do it)
because processing speed will make your resulting library useless for
almost every real-time rendering scenario. OpenGL and DirectX
libraries exist in the operating system, aside from educational use,
the only reason not to tap into these libraries would be portability
and the mobile devices that have the Framework/C# are just too slow to
handle this. If portability is what you are after, look to Java, it
has a native 3D API that's heavily based on OpenGL.
 
D

Dr. Zharkov

Thanks for the answers. And how to find the nearest analogue of the program
on building the 3D-graphics of function z=f (x, y) and only for Visual
Studio .NET: Visual C# .NET, Visual Basic .NET or Visual C++ .NET and GDI+
(without use DirectX, OpenGL and similar libraries)?
Beforehand many thanks for your answer. Best regards, Dr. V.A. Zharkov.
Moscow, Russia.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top