What "3D" effects can I get in DirectDraw?

shukri

Newcomer
Joined
Mar 1, 2004
Messages
6
... can someone tell me offhand what kind of traditional "3D" effects like coloured lighting and alpha blending, I can use in DirectDraw? If stuff like that requires that I use Direct3D instead of DirectDraw, I will happily drop the DDraw angle right now and write everything entirely in D3D. Bear in mind that I want to make a 2D game - I just want to throw in some FX to improve the look.

As an aside, how relevant is DDraw these days anyway? Everyone is writing 3D games, but I'm still a huge fan of pure 2D stuff like Diablo, Fallout and Starcraft, and I think that style of game design still has lots to offer. On of the major factors is converting concept art to actual game art. In 2D, you pretty much scan the source art to bitmap and drop it in your game. If the resolution and colour depth is up to it, the game retains much of the original art "feel". With 3D game, unless your modelling and texturing is top notch, a lot gets lost between concept and realization. A good example is WarcraftII vs WarcraftIII. It takes tonnes of development and processing power to get the latter to try to match the atmospheric appearance of the former, even though the former is almost a decade old and runs happily on a 486.

Just my 2 cents - would be nice to know what other ppl here think.
 
I'm making a rather large-scale 2-D game myself, and had coded my entire engine in DirectDraw.

However, you don't get really any frills with DirectDraw -- certainly not colored lighting or alpha blending.

So... I'm actually in the process right now of recoding my entire game w/ using Direct3D instead of DirectDraw. I thought I could get by without alpha blending, or at least figure something out within DD, but believe me, I have spent a huge amount of time researching th eproblem, and i do need alpha-blending for a half-way decent look for my game, and that's not going to happen w/o D3D.

There's a lot of literature out there for making 2D games in D3D. My undersatnding is that the right way to do it is to use Sprites. I really can't offer too much D3D-specific advice yet becuase I'm just starting to go down that road myself, but I can say that you'll probably be better off if you just suck it up now and learn to use Sprites through D3D instead of using DirectDraw for any sort of intense 2D project.

Hope that helps.

-Hiro_Antagonist
 
I second that oppinion

There are plenty of good sites out there for learning the basics of D3D....
Directx4vb.com
directx4.net
Helped me allot hope this helps you, Note look at the DX8 section of directx4vb.com for some extra effects...
 
Back
Top