3D Programming using GDI?
Quote:Original post by masd
Is it possible to do 3D programming using only GDI?
Possible? Yes. Don't do it though.
Seeing as GDI is considered awfully slow even for simple 2D games, if you're aiming for that I'd move up to OpenGL and/or DirectX at some point.
I wonder if Microsoft will ever develop a Hardware Accelerated GDI that is as fast as Direct3D or OpenGL.
Can u explain a little, how it is possible? I mean doing 3D programming in GDI... Can u refer any artilce/stuff about it?
There are a few 3D games using just GDI.
You basically have to program your own engine though. There are no premade calls to matrices, vertices, etc.
Just know lots, and lot of math. Honestly, I'd suggest for anyone interested in programming 3D to make their own 3D engine at least once, without OpenGL or D3D. Learn how to calculate everything, learn how to filter, etc.
You basically have to program your own engine though. There are no premade calls to matrices, vertices, etc.
Just know lots, and lot of math. Honestly, I'd suggest for anyone interested in programming 3D to make their own 3D engine at least once, without OpenGL or D3D. Learn how to calculate everything, learn how to filter, etc.
Quote:Original post by masd
Can u explain a little, how it is possible? I mean doing 3D programming in GDI... Can u refer any artilce/stuff about it?
we just had a discussion about this. basically, to do it with GDI you'd want to use a device dependent "bitmap", and calculate the rendering yourself. at the end you would only call BitBlt, so it wouldn't involve GDI all that much at all.
here's a link to a good Vesa page. outdated as it is, it will expose you to 3D concepts like shading.
Quote:Original post by sakky
I wonder if Microsoft will ever develop a Hardware Accelerated GDI that is as fast as Direct3D or OpenGL.
That makes no sense.
Quote:Original post by MetaCipherSee Windows Graphics Foundation.Quote:Original post by sakky
I wonder if Microsoft will ever develop a Hardware Accelerated GDI that is as fast as Direct3D or OpenGL.
That makes no sense.
There is a good example on codeguru.com that draws a cube and rotates it, Also shows a basic engine to perform the task.
<<http://www.codeguru.com/Csharp/Csharp/cs_misc/graphicsandimages/article.php/c8185/>>
<<http://www.codeguru.com/Csharp/Csharp/cs_misc/graphicsandimages/article.php/c8185/>>
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement