| View previous topic :: View next topic |
| Author |
Message |
dnsi0 I post too much
Reputation: 0
Joined: 04 Jan 2007 Posts: 2674
|
Posted: Tue Dec 23, 2008 9:59 am Post subject: DirectX or GDI32? |
|
|
| Well... VB 6.0 only supports dx7 and dx8 so Im thinking of using GDI instead of DirectDraw(Seriously Outdated...) or D3D8 (Sorta ouradated cause its already at dx10) so opinions?
|
|
| Back to top |
|
 |
hcavolsdsadgadsg I'm a spammer
Reputation: 26
Joined: 11 Jun 2007 Posts: 5801
|
Posted: Tue Dec 23, 2008 1:59 pm Post subject: |
|
|
If you need performance, GDI is not the place to look. If you're clever, you can get some decent speed, and some drivers are nice enough to provide some kind of acceleration, but you will run into trouble as you increase your resolution.
DirectDraw is probably about as fast as you will get for 2d shit, but it kind of lost usefulness to some extent with later DX revisions since you can essentially accomplish the same.
If you're going to learn a new API, why not just learn a modern language instead of that POS?
|
|
| Back to top |
|
 |
tombana Master Cheater
Reputation: 2
Joined: 14 Jun 2007 Posts: 456 Location: The Netherlands
|
Posted: Tue Dec 23, 2008 2:05 pm Post subject: |
|
|
There are very nice ways to do 2D with Direct3D. It'll be faster and you will get a lot of extra hardware supported features like alpha blending, which are not in GDI or DirectDraw.
Anyway, like slovach said, you're probably better off with another language than VB, especially when programming with DirectX.
|
|
| Back to top |
|
 |
|