DirectDraw in Direct Graphics [Archive] - C Board

PDA

View Full Version : DirectDraw in Direct Graphics


lyx
11-21-2003, 12:28 PM
Well, just wondering if one can access DirectDraw under the Direct Graphics "cover", I mean, is there a way to do 2D graphics without going through texture mapping? (like I used to do with surfaces in DirectX 7...)
Maybe they haven't suppressed it entirely from the DirectX SDK...

DavidP
11-21-2003, 02:57 PM
As far as I know, the DX SDK is backwards compatible, so you should still be able to DX7 direct draw types of things if you wanted to.

lyx
11-21-2003, 03:17 PM
Yes, I know, COM is backward compatible as it keeps every components not matter how old they are.
However, I was told that DirectX 9 uses a faster rendering engine... (well, maybe I am wrong, don't know well ^^)

frenchfry164
11-21-2003, 03:28 PM
Look up the sprite class in your directX documentation. That's the "faster rendering engine" you speak of. Usually, the fastest way to do 2D is using 3D.

JaWiB
11-21-2003, 06:18 PM
I haven't done any 3d programming, but I would assume the reason that DX9 has faster rendering is because it uses the hardware to do stuff, and hardware isn't as likely to support much 2d stuff

Bubba
11-22-2003, 12:37 AM
Look here for an example of 2D rendering using 3D. Basically you texture a pre-transformed quad.

http://www.gamedev.net/reference/articles/article935.asp

lyx
11-22-2003, 01:06 AM
Well, I know how to make 2D with 3D in DirectX 9 but I just wanted to know if DDraw still exists somewhere...
Seems like it does not; thanks for the replies.

Stan100
11-24-2003, 07:14 PM
Why can't Microsoft release it's DX7 help file? It would be
sooooooooooooooooooooooooooo much easier.

Spleeneraclingy
11-29-2003, 12:28 PM
Why can't Microsoft release it's DX7 help file? It would be
sooooooooooooooooooooooooooo much easier.

Are people looking for it? I have it, if anyone needs it.

HybridM
12-02-2003, 04:10 PM
No Jesus, No Peace.
Know Jesus, Know Peace.

Oh dear.

Stan100
12-07-2003, 11:19 AM
Will the dx7 sdk upload here or is it too big? I think it would be nice to have it, because when a question comes up while programming dd, I can look up a topic for it.

HybridM, were you mocking me or agreeing?

BMJ
12-07-2003, 04:01 PM
Originally posted by lyx
Well, just wondering if one can access DirectDraw under the Direct Graphics "cover", I mean, is there a way to do 2D graphics without going through texture mapping? (like I used to do with surfaces in DirectX 7...)
Maybe they haven't suppressed it entirely from the DirectX SDK... Unfortunately the DX9 SDK documentation does not cover it very well, but... you can do everything the same as you would have if you were working with the old DX7 SDK... just create a DDraw object and interface it to version 7, and go from there, same as before.