• Advertisement
Sign in to follow this  

DirectDraw & Direct3D

This topic is 4724 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

Hey all, Here's a very basic question.. I want to start using the Direct3D API. I've written my own basic 2d graphics engine, and I want to extend it into 3d, so my first question is: If I'm using Direct3D, do I need to have DirectDraw up and initialized? I was searching around MSDN a bit for a way to set the display resolution in Direct3D but I could not find it. In DirectDraw, I would just use SetDisplayResolution (i think that is the name). Could I just use DirectDraw to switch the resolution, and then use Direct3D to render stuff? Dave

Share this post


Link to post
Share on other sites
Advertisement
You'll need to study some tutorials how to setup Direct3D:

-> http://www.drunkenhyena.com/cgi-bin/directx.pl
-> http://www.two-kings.de/tutorials/d3d.html

good luck!
m.


Share this post


Link to post
Share on other sites
The best idea would be to use Direct Graphics, because it allows you to use all of the 2D stuff from DirectDraw (surfaces) and be using 3D stuff from former Direct3D.

Share this post


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

  • Advertisement