View Single Post
Old May 5th, 2006, 9:22 AM   #32
lectricpharaoh
Caffeinated Neural Net
 
lectricpharaoh's Avatar
 
Join Date: Jun 2005
Location: Dry west coast of Canada
Posts: 1,049
Rep Power: 5 lectricpharaoh will become famous soon enough
Quote:
Originally Posted by Malekos
Hmmm...
C++,
GDI
Algebra...
That's all?
Sure, to start, but for high-performance graphics, you will need to move beyond GDI, and since Windows does not allow arbitrary direct hardware access, that leaves DirectX as the lowest-level method available to you.

I would recommend starting with a 2D engine first (like a tile-based game). Don't forget you can mix polygons with plain 2D stuff. In fact, a polygon is a 2D shape, so all 3D accelerators can be used in 2D engines (for example, to rapidly blit texture-mapped tiles to the screen). Then, when you're comfortable with that, move on to some pseudo-3D stuff, like a slivering engine. If you don't know what that is, it's an engine that builds up a 3D view from multiple verticle 'slivers' which are scaled in height according to how far they are from the camera location. Old games like Heretic, Hexen, and the original DOOM used this technique. This approach should yield satisfactory performance on modern machines, even if you're using GDI. After you've gotten that down, you can move on to DirectX and a pure-polygon 3D engine.
__________________
And once again, Probability proves itself willing to sneak into a back alley and service Drama as would a copper-piece harlot.
- Vaarsuvius, Order of the Stick
lectricpharaoh is online now   Reply With Quote