Home Cavernosa
Nintendo DS Java
Misc Code Links


Graphics Programming Black Book by Michael Abrash
What can be Done?


Download binary of demo.
X-lite is the beginnings of a 3D BSP engine for the Gameboy Advance. In the background of the image above you see source data in the free 3d modeler Blender, for which I have written an exporter. In the bottom-left corner there is the Win32/DirectX build of the engine runtime which I use for debugging under MSVC and which demonstrates the ease of any future port to a PDA or other platform.
If you'd like to donate some better Blender-format low-poly models for me to use in any future versions of this demo, I'll give you an in-ROM credit and a custom build with just your stuff if you want.

Source code for the runtime is available here.

A demo binary can be downloaded here and run in an emulator or flashed to ROM and run on a real GBA.

Controls are:
Start: Change model.
Select: Change control system (automatic or manual model orbiting).
Joypad: Orbit left-right, approach and retreat from model.
Shoulder buttons: up-down.
B: Go faster.
A: Control modifier that when held down makes pad and shoulder buttons move the rotation centre.
Hold Start, depress B: Change poly mode between points, lines and solid.
Hold Select, depress Shoulder buttons: Toggle red and green lights.
Both Shoulder buttons: Display greeting from me.


Download binary of demo.
Viroid is my 3D heightfield fly-over demo for the Gameboy Advance. The binary can be downloaded here and run in an emulator or flashed to ROM and run on a real GBA.
Controls are:
Joypad: left-right, forward-back.
A & B: up and down.
Shoulder buttons: look up-down.
Start: go to default position and orientation.
Select: switch between line drawing and solid triangle modes.

Graphics Programming Black Book by Michael Abrash
Plain text versions of the original DDJ articles on which the middle section of this book is based were one of my primary information sources when first starting out programming 3D graphics. Now this great book is available online [edit, local mirror: Michael Abrash's Graphics Programming Black Book] along with accompanying source code [edit, local mirror: MichaelAbrashBlackBookSource.zip]. It is something of a brick (I have cut the spine of my physical copy in order to be able to carry only the relevant parts with me) so I'll point out the chapters that are worth a GBA 3D programmer printing out.

Of course there are plenty of other chapters worth reading, not least for their introductory preambles, so don't let me stop you printing out the lot.

What can be Done?
Below is a listing of games that did 3D on machines that were considerably less powerful than the GBA. I may have gotten carried away in listing them. Their nominal function on this page is to provide inspiration to the amateur programmer working almost exclusively in C by marking the lower bound of what is achievable. With some, I have noted pirate disks that contain them to help you track down a few for a little research. Stunt Car Racer is still terrifically addictive :).
16 bit Games
STUNT CAR RACER Medway Boys disk 43. PP 17.
HARD DRIVIN' Medway Boys disk 50.
DAMOCLES Worth running just for it's in-engine intro which starts outside the solar system and zooms continuously all the way to the tarmac of a spaceport on one planet. Medway Boys disk 73.
THUNDERSTRIKE Heightfield with rotation about y-axis ('up' axis) (coincident for camera and world from memory, so no tilt or twist, just pan). Medway Boys disk 78.
OTHERS Virus (even particles cast shadows!), Conqueror (Automation 273), Zeewolf and Zeewolf 2, Vaxine (Dreamweavers 09), Simulcra (Dreamweavers 09), Voyager, Infestation, Carrier Command (Realtime Games), Battle Command (Realtime Games), Midwinter & Midwinter II (Large fractal map, and loads of vehicles), Whirligig (Cached sprites(?), fast gorgeous space combat), Interphase (Fast filled polys with lighting), Cybercon III (impressive, Good use of ellipses), Killing Cloud (Nice ellipses on craft engines and stuff), Warhead (Med 66), Robocop III (pp 108a 108b), Epic (PP 107a 107b), TFX, F-29 Retaliator, F15 Strike Eagle 2 (PP 89), Total Eclipse (Med 09), Archipelago.
8 bit Games
CHOLO This renders a whole city with building interiors and moving objects in the streets. You can even take over a plane at the airport and go for a joyride past the parabolic antenna which looks out across the sea.
OTHERS Elite, Mercenary, Starion (Space combat, much faster than Elite but no hidden line removal).


The GameBoy Advance Development Ring
[ Join Now | Ring Hub | Random | << Prev | Next >> ]

Copyright Andrew H. Cox. All rights reserved.
[email protected]