This is something I've been toying with in GapiDraw. Download the ARM executable from the following address - you'll need to have GD104.DLL in the same directory.
http://www.calormen.com/tmp/demo.exe
You should see a spinning, texture mapped, Gouraud shaded sphere, an unlit texture-mapped cube with color-key transparency, and a lit, flat-shaded solid color cube for comparison. There are two lights - a magenta one to the left and a white light above - and a 16-bit z-buffer showing off object intersections.
This is done in a layer written on top of GapiDraw; my layer is to GapiDraw as Direct3D is to DirectDraw, and it has a very similar API. It is nowhere near complete and I'm not sure if it's performant enough to do anything with. It is a straight ARM executable written in C++; there's no use of ARM or XScale assembly, so it compiles for desktop PCs as well.
It's also my first attempt at writing a 3D rendering engine, so it's primarily a learning experience. And I just wanted to share - comments welcome. I'm especially interested in perf comparisons to other 3D engines for PocketPC (Diesel3D, PocketGL, etc); I don't know how badly this sucks yet.
Joshua
http://www.calormen.com/tmp/demo.exe
You should see a spinning, texture mapped, Gouraud shaded sphere, an unlit texture-mapped cube with color-key transparency, and a lit, flat-shaded solid color cube for comparison. There are two lights - a magenta one to the left and a white light above - and a 16-bit z-buffer showing off object intersections.
This is done in a layer written on top of GapiDraw; my layer is to GapiDraw as Direct3D is to DirectDraw, and it has a very similar API. It is nowhere near complete and I'm not sure if it's performant enough to do anything with. It is a straight ARM executable written in C++; there's no use of ARM or XScale assembly, so it compiles for desktop PCs as well.
It's also my first attempt at writing a 3D rendering engine, so it's primarily a learning experience. And I just wanted to share - comments welcome. I'm especially interested in perf comparisons to other 3D engines for PocketPC (Diesel3D, PocketGL, etc); I don't know how badly this sucks yet.
Joshua