Jump to content
  • Advertisement
Sign in to follow this  
masd

3D Programming using GDI?

This topic is 5023 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Advertisement
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.

Share this post


Link to post
Share on other sites
I wonder if Microsoft will ever develop a Hardware Accelerated GDI that is as fast as Direct3D or OpenGL.

Share this post


Link to post
Share on other sites
Can u explain a little, how it is possible? I mean doing 3D programming in GDI... Can u refer any artilce/stuff about it?

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
Quote:
Original post by MetaCipher
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.
See Windows Graphics Foundation.

Share this post


Link to post
Share on other sites
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/>>

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!