Sign in to follow this  
Estraven

DirectDraw & Direct3D

Recommended Posts

Estraven    122
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
Marmin    523
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
Drakkcon    612
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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this