GDI+ in .NET

R

Rohit Sharma

Hi All,

Is the .NET GDI+ limited to drawing in 2D space ? I need to draw in 3D and
need to specify the points in terms of X,Y,Z....is this possible in GDI ?


Cheers
ROhit
 
M

Michael Lang

Is the .NET GDI+ limited to drawing in 2D space ? I need to draw in 3D
and need to specify the points in terms of X,Y,Z....is this possible
in GDI ?

The GDI Graphics class is for drawing 2D only. You've got alot of work to
do for 3D. For one you need to implement your own Z buffering. You also
have to handle when a 2D object is rotated off the plane of the 2D surface.
Ie. If a circle is rotated off the page you'd end up drawing an Ellipse on
the GDI surface. When that circle intersects another circle in 3d is when
you'll need that z-buffering.

You'll basically have to draw pixel by pixel instead of by primitive.

This is really alot of work. Why don't you use Managed DirectX instead?
It also has better perfomance than GDI.

see group: "Microsoft.public.win32.programmer.directx.managed"

Michael Lang
 
R

Rohit Sharma

Thanks very much.

Can you direct me to a primer web site on the subject ? (with .NET)

Thanks
Rohit
 
N

news.microsoft.com

Open GL, nuff said.

DX is the crayola crayon and lego cube of 3d rendering APIs. oGL is mucho
nicer. Faster too.
 

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

Similar Threads

Mixing GDI+ and GDI in .NET application 7
How to draw a 3D chart 10
my list of wanted features in .NET 10
Excel 1
Making frame with GDI+ 3
GDI+ 1
Drawing A Pixel 6
XrossOne Mobile GDI+ for .NET Compact Framework 1

Top