DirectDraw & Direct3D

Started by
1 comment, last by Drakkcon 19 years, 2 months ago
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
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.


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.

This topic is closed to new replies.

Advertisement