This little NDS program demonstrates some of the hardware’s graphics capabilities.

The demo shows how to use a bunch of NDS features and some otherwise handy code, like:

– Hardware volume shadowing – A mini-tutorial is included in the readme!
– Motion blur with video capture, using only one VRAM bank, at 60 FPS
– Hardware lighting, texturing, fogging, antialiasing etc.
– Display brightness control
– Viewport scissoring (thanks to gabebear off the gbadev.org forum)
– Loading text and binary files (now through libfat)
– Converting .tga 24/32bit image data to 16bit nds textures
– Displaying a custom font and a text area over a background image
– (NEW!) Smooth touch input
– (NEW!) Simple frame rate counting and display
– … and other things

http://forum.gbadev.org/viewtopic.php?t=12873