Commit Graph

38 Commits

Author SHA1 Message Date
10ca9b6f7f 64-bit build. make library paths not absolute. 2017-03-16 19:47:31 +01:00
0b3d150a71 * support for culling polygons that clip through the far plane
* toon/edge/fog tables and related registers
2017-03-16 16:37:38 +01:00
7f85a10002 move viewport transform to polygon setup 2017-03-16 15:55:18 +01:00
1dc887d0bb fix texcoord bugs. misc shit. 2017-03-16 03:27:59 +01:00
ebdc9e5442 * fix missing 3D line
* make lighting calculations accurate
* BLDCNT reading
2017-03-16 00:07:36 +01:00
29944c3c88 fix alphatest. alphablending. 2017-03-15 15:53:36 +01:00
6123ce8147 fixes to matrix stacks. has yet to be checked tho. 2017-03-15 15:02:27 +01:00
4d401422af first attempt at lighting 2017-03-15 14:41:41 +01:00
74f291757a less shitty texture mapping. alpha test, sort of. 2017-03-15 00:10:32 +01:00
671050a7f0 start work on polygon edges and shit 2017-03-13 00:45:26 +01:00
94dced7c41 * vecmatrix read
* implement the missing texture formats
2017-03-07 22:05:38 +01:00
c24245c59a mostly fix culling 2017-03-07 21:38:47 +01:00
d95d22837b proper clear-plane support, including bitmap mode 2017-03-07 01:13:00 +01:00
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
383093c5ff make NEG update flags correctly (oops).
also misc graphics notes added.
2017-03-06 18:13:57 +01:00
8c7b7e2327 temp. hack preventing evil out-of-bounds write 2017-03-04 15:34:07 +01:00
2a33a5c480 * fixes to GXFIFO IRQ. refine IRQ support a bit.
* fix potential bug when multiple DMAs are running.
2017-03-03 00:48:26 +01:00
dcc0227b56 textures.
well, it's a start.
2017-03-02 00:49:44 +01:00
e5a4aa7c84 also keep track of texture attributes 2017-02-28 00:52:17 +01:00
f16d2aec61 calculate texture coordinates 2017-02-28 00:50:54 +01:00
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
261689d3d1 'FIFO full' hack for SM64DS. 2017-02-17 19:34:41 +01:00
97d76addd9 fix a bunch of GXFIFO related bugs. 2017-02-17 18:59:11 +01:00
cca0a71d81 emulate DMA timings.
keeps games from overflowing the GXFIFO... when they aren't fucking dumb.
2017-02-17 05:33:37 +01:00
abd2cb444b improve 3D renderer precision. not perfect, but not bad at all. 2017-02-17 04:07:00 +01:00
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
fb53fd5195 * fix overflows during fixed-point multiply
* small fix to SwapBuffers
2017-02-13 14:59:51 +01:00
361ddd7595 * fix GXFIFO decoding
* proper SwapBuffers implementation
* fix polygon clipping
* misc fixes
2017-02-13 02:07:54 +01:00
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
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
78f49d061a base for software renderer 2017-02-10 16:50:26 +01:00
c95f7578bb store vertices and polygons. strips not handled yet. 2017-02-10 15:24:46 +01:00
2bd67aef64 calculate vertices.
it doesn't do much, but hey, it's a start.
2017-02-09 02:39:52 +01:00
49fd4ccb45 * GXFIFO DMA (note: Mario Slam Basketball keeps overflowing the FIFO for whatever reason, probably lack of proper DMA timings)
* start implementing matrix shit
2017-02-08 21:30:10 +01:00
796dc58f71 GXFIFO finished. hacktastic integration into the ARM9 loop. 2017-02-08 00:52:37 +01:00
971e7b7e89 well, GX FIFO base. noting that for now, it doesn't do much beyond getting full real quick.
also make ROM loading fail gracefully if it shits itself, instead of entering an endless loop.
2017-02-07 23:31:21 +01:00
2b7fac05c7 rework FIFO crap so it can also be used for the GXFIFO crapo. 2017-02-07 22:41:33 +01:00
0562410de2 * lay base for 3D engine
* add failure reporting to Init functions, and DeInit functions
* GPU-related notes
* readme update
2017-02-07 22:23:46 +01:00