Commit Graph

22 Commits

Author SHA1 Message Date
StapleButter d95d22837b proper clear-plane support, including bitmap mode 2017-03-07 01:13:00 +01:00
StapleButter 72209c51f9 * perspective-correct Z interpolation
* fix depth buffering. support W-buffer mode.
* 3D/2D blending. doesn't do much yet, but the code is here.
2017-03-06 23:57:04 +01:00
StapleButter ed385ce0f5 fix shitty texture mapping 2017-03-06 19:41:47 +01:00
StapleButter a9cc55ca6d less derpy texture mapping 2017-03-06 18:43:58 +01:00
StapleButter fe31ec297c * direct color textures.
* texture wrap modes.
2017-03-06 18:25:20 +01:00
StapleButter 8c7b7e2327 temp. hack preventing evil out-of-bounds write 2017-03-04 15:34:07 +01:00
StapleButter b6e12e0c18 * fix a few bugs related to 2D GPU registers (so there are atleast some of the graphics tests that pass)
* less shitty texture mapping (and perspective-correct interpolation in general). extra bonus is that it also takes less divisions.
2017-03-04 14:47:20 +01:00
StapleButter 464717602f * compressed textures (asfafdgasfgadf)
* fix bug where sprites too close to the right border shat themselves
2017-03-02 01:53:08 +01:00
StapleButter dcc0227b56 textures.
well, it's a start.
2017-03-02 00:49:44 +01:00
StapleButter bc335e31cb * slightly better 3D polygons.
* fix sprite-related bugs. implement 256-color rotscaled sprites.
2017-02-28 12:44:54 +01:00
StapleButter f16d2aec61 calculate texture coordinates 2017-02-28 00:50:54 +01:00
StapleButter 8c2572e354 correct VRAM emulation.
there is room for optimizations esp. in the GPU drawing routines.
2017-02-27 21:26:11 +01:00
StapleButter dadf1eb5a5 fixes to 3D rendering. polygons are almost pixel-perfect. clipping still doesn't get colors quite right. 2017-02-20 18:46:44 +01:00
StapleButter abd2cb444b improve 3D renderer precision. not perfect, but not bad at all. 2017-02-17 04:07:00 +01:00
StapleButter 676e5b32cc perspective-correct Gouraud 2017-02-15 17:49:14 +01:00
StapleButter c5b7ec2168 attempt at depth buffer 2017-02-14 03:29:02 +01:00
StapleButter 68fb77b204 * backface/frontface culling (and rendering of backfacing polygons)
* fix clipping/viewport transform precision errors
* triangle/quad strips
2017-02-14 02:43:35 +01:00
StapleButter fb53fd5195 * fix overflows during fixed-point multiply
* small fix to SwapBuffers
2017-02-13 14:59:51 +01:00
StapleButter 361ddd7595 * fix GXFIFO decoding
* proper SwapBuffers implementation
* fix polygon clipping
* misc fixes
2017-02-13 02:07:54 +01:00
StapleButter 15c8d59e2b vertex colors, with Gouraud shading and all
has yet to be checked for whether it's accurate, optimized, etc...
2017-02-11 04:10:59 +01:00
StapleButter 050ba5dfbe some debuts of 3D drawing.
it can draw non-strip polygons, filled with a fixed color. oh and it doesn't work if they're facing back.
2017-02-11 03:54:08 +01:00
StapleButter 78f49d061a base for software renderer 2017-02-10 16:50:26 +01:00