Commit Graph

126 Commits

Author SHA1 Message Date
milang 308cb408a2 correct zbuffer clearing ( thanks @lephenixnoir) 2019-08-19 12:58:50 +02:00
Milang 4ccf324e48 rename some static variables 2019-08-19 12:10:06 +02:00
Milang 891921fd39 f*ck dma again 2019-08-17 20:07:59 +02:00
Milang 42cd1bb580 f*ck dma 2019-08-17 20:07:04 +02:00
Milang a8360f10dc dma again (I hate it) 2019-08-17 19:59:56 +02:00
Milang 869a762637 align zbuffer on 32Bytes blocks 2019-08-17 19:48:41 +02:00
Milang 45ec1a4a35 correct bug in DMA using
-> copied value was not set on 32 bytes, but on 4 bytes
2019-08-17 19:37:27 +02:00
Milang 94b7f6e7c6 still debugging direct memory access controller (I gonna suicide) 2019-08-17 19:25:16 +02:00
Milang e9c5f9935d debugging DMA 2019-08-17 19:13:28 +02:00
Milang 5b99d60eff align the buffer 2 2019-08-17 18:25:30 +02:00
Milang bfe73f1886 align the buffer 2019-08-17 18:23:41 +02:00
Milang 6f36dd1966 test to align zbuffer on 32 2019-08-17 18:14:36 +02:00
Milang d9abe48615 DMA, finished ? 2019-08-17 17:57:44 +02:00
Milang 3b62636d30 potatoes 2019-08-17 17:50:53 +02:00
Milang 84d31c7783 add DMA >> experimental 2019-08-17 17:47:05 +02:00
Milang 9900f70201 inchallah ça passe 2019-08-17 17:28:27 +02:00
milang d45020336e continue to remake rendering 2019-08-17 14:42:59 +02:00
milang e4f86a3c3e implementing texture rendering 2019-08-17 14:30:18 +02:00
milang 263e8543c6 changing triangle rendering 2019-08-17 14:09:45 +02:00
Milang 1cce870987 test experimental perspective correction feature 2019-08-16 17:35:32 +02:00
Milang 9f401b35b8 oops int32_t, not uint32_t >_< 2019-08-16 16:23:46 +02:00
Milang 1a19b5c98a add comments and replace int by int32_t 2019-08-16 16:22:11 +02:00
Milang f50ed857ec and other spaces 2019-08-16 16:00:35 +02:00
Milang 44d30dea77 add a few spaces 2019-08-16 15:59:19 +02:00
Milang d9e37667f2 change inclusions 2019-08-16 15:58:47 +02:00
Milang 8450087c83 comments 2019-08-16 15:57:18 +02:00
Milang 0c85e41ff1 ajout commentaires 2019-08-16 15:27:15 +02:00
Milang 9ac6860700 mise en forme plus propre 2019-08-16 15:19:04 +02:00
Milang ec7e682296 added doc for texture source and header 2019-08-16 15:12:16 +02:00
util1 5089cebdfe add screens 2019-08-02 11:22:18 +02:00
util1 257bbd274c added texture deformation with perspective
>> needs to be improved because rendering is not very good
2019-08-02 10:18:29 +02:00
util1 7ef7ab69e6 fixed texture bug 2019-07-27 17:25:08 +02:00
util1 8a353405ed complete triangle gestion and add partial texture 2019-07-27 17:01:35 +02:00
util1 6d11ec7bbf complete triangle display function (without textures) 2019-07-27 16:12:08 +02:00
util1 7139f8b757 fix bug of zbuffer and prepare face drawing 2019-07-26 15:07:11 +02:00
util1 1881d3df1b add clockwise function 2019-07-26 14:39:08 +02:00
util1 34adcfb835 add instable draw function (incomplete) 2019-07-25 18:13:22 +02:00
util1 04eb7747d9 add compare function to determine if points are seen clockwise 2019-07-25 15:32:36 +02:00
util1 46baf3d648 add triangles notion (incomplete) 2019-07-25 13:23:41 +02:00
util1 e3b66dd532 fix las bugs of last optimization 2019-07-25 09:42:01 +02:00
util1 bf07238dc7 replace pointer table to textures by huge texture table
optimization
2019-07-25 09:38:25 +02:00
util1 8b8b2665bd delete old debug utilities 2019-07-25 09:31:02 +02:00
util1 f0b43a3824 add move 2019-07-24 21:54:07 +02:00
util1 7708e7b953 add textures 2019-07-24 17:15:09 +02:00
util1 bc11507275 correct cos and sin functions
assign keys with direction
2019-07-24 15:33:26 +02:00
util1 38f87aba15 half fix FE_cos bug 2019-07-23 18:30:27 +02:00
util1 566b83e224 reduce size of fps widget 2019-07-23 17:13:35 +02:00
util1 f912a2faec add texture source and header 2019-07-23 16:46:28 +02:00
util1 118f7cbcb2 add clearbuffer 2019-07-23 15:52:20 +02:00
util1 583f12e587 add fps contreol 2019-07-22 19:57:24 +02:00