Commit Graph

50 Commits

Author SHA1 Message Date
Krzosa Karol
a42438859b Optimizing, brought back edge function, got rid of a bunch of divides 2022-07-07 17:29:53 +02:00
Krzosa Karol
7a1de15e50 Ordering optimization 2022-07-06 15:30:04 +02:00
Krzosa Karol
a7b94555dc Backup and trying out a optimization 2022-07-06 14:43:37 +02:00
Krzosa Karol
1c3ff7e8cd SIMD write to texture! 2022-07-06 14:15:59 +02:00
Krzosa Karol
d2baefcc04 Got rid of Vec8 2022-07-05 23:26:56 +02:00
Krzosa Karol
58cd147ee1 Big speed boots! 2022-07-05 21:05:26 +02:00
Krzosa Karol
2d2615b6c9 More code inlined, that pesky epi32 multiply! 2022-07-05 21:00:23 +02:00
Krzosa Karol
5b4412f80a Inlining the abstracted simd 2022-07-05 20:11:11 +02:00
Krzosa Karol
5aff90642f Almost entire thing wide, force inline didn't help perf, prepare to inline
simd manually
2022-07-05 16:22:42 +02:00
Krzosa Karol
6f1b5ae933 Premultiplied alpha and linear to srgb W_I_D_E 2022-07-04 16:51:18 +02:00
Krzosa Karol
f9da64a6c9 Calculating color W - I - D - E 2022-07-04 16:44:22 +02:00
Krzosa Karol
df4f010554 Finally fix the crash! Loaded memory for pixels that where labeled as invalid aka shouldn't fill 2022-07-04 15:49:25 +02:00
Krzosa Karol
3a4fb4ecdc Fixed the weird moving textures bug 2022-07-02 09:43:29 +02:00
Krzosa Karol
345acba124 Tried to fix weird graphical glitches, thought it's overdraw but turns out it's not 2022-07-01 16:50:24 +02:00
Krzosa Karol
c773d5ad3d Inlining a bunch of routines 2022-07-01 15:31:43 +02:00
Krzosa Karol
88652d40d6 Even more vectorized and even slower 2022-07-01 13:55:28 +02:00
Krzosa Karol
d6caf62ced More code is vectorized, got slower, sad :'( 2022-07-01 13:46:46 +02:00
Krzosa Karol
65553044b8 Vectorizing some of the code 2022-07-01 10:58:44 +02:00
Krzosa Karol
03f32ea922 Preparing the routine for simd 2022-07-01 10:39:46 +02:00
Krzosa Karol
513bcabb18 Obj dump offsets textures for some reason, simplify abillity to use obj loader
directly, add timming, add Vec8
2022-07-01 09:17:32 +02:00
Krzosa Karol
a7fa817992 Update perf counters 2022-06-30 10:45:57 +02:00
Krzosa Karol
5594165623 Init optimization log 2022-06-29 18:52:43 +02:00
Krzosa Karol
efdc23ea57 Fix premultiplied alpha artifacts 2022-06-29 18:46:57 +02:00
Krzosa Karol
59dbbc2a57 Updating renderer to work with new base version 2022-06-29 09:42:47 +02:00
Krzosa Karol
c1904a33ef Bilinear working 2022-05-22 10:52:46 +02:00
Krzosa Karol
eca440cabd Asset processor, got rid of stb image in the program 2022-05-18 16:51:19 +02:00
Krzosa Karol
61c3dfb48d Unicode used in multimedia 2022-05-18 11:55:16 +02:00
Krzosa Karol
6d611d9fab Merging with new base, dumping obj files to raw binary and loading 2022-05-17 18:47:06 +02:00
Krzosa Karol
1d853fc4e3 Signals 2022-03-03 16:55:58 +01:00
Krzosa Karol
af822c4dbe Optimized uv wrapping, no fmod, interpolating normals, Smooth shading, Multiple scenes, Options in UI 2022-03-03 09:23:00 +01:00
Krzosa Karol
29123d7ea6 Fixed uv problem, optimizing the edge_function for draw_triangle_nearest 2022-03-01 18:51:50 +01:00
Krzosa Karol
8cfe508629 Loading mtl textures! 2022-03-01 00:36:03 +01:00
Krzosa Karol
59e47f8a34 Testing, fixing premultiplied alpha, UI work, resizing plots 2022-02-27 19:11:41 +01:00
Krzosa Karol
6b36ca3231 Saving profile information of draw_triangles 2022-02-26 14:43:44 +01:00
Krzosa Karol
5251c12b8e save_profile_data 2022-02-26 11:23:57 +01:00
Krzosa Karol
e553eb40fc Full FPS camera, better profile info about time distribution, update Todo's README 2022-02-26 11:09:39 +01:00
Krzosa Karol
372e4fd16b Clipping donegit status! loading and showing sponza mini 2022-02-25 21:16:25 +01:00
Krzosa Karol
fd8ce7d1a9 Merge with base 2022-02-21 17:39:19 +01:00
Krzosa Karol
4b6cd41c01 Global ilumination 2022-02-20 20:49:55 +01:00
Krzosa Karol
03777764b7 nearest neighbour blending and gamma 2022-02-20 20:02:33 +01:00
Krzosa Karol
a5b111d24a Premultiplied alpha and gamma corrct! 2022-02-20 19:55:56 +01:00
Krzosa Karol
8cfd52ed81 Testing a generator to output different draw triangle versions, more gamma correct blending 2022-02-20 17:28:46 +01:00
Krzosa Karol
e0b2182d11 Depthbuffer working 2022-02-18 23:05:51 +01:00
Krzosa Karol
6e36d7596c Obj parser, plane is loading correctly with texcoords etc! now OS defines the bitmap layout and format 2022-02-18 15:58:19 +01:00
Krzosa Karol
84c6191df6 Blitting to a low resolution bitmap, Main application bitmap is now in ABGR format, macro toggles for bilinear blend etc. 2022-02-17 21:00:58 +01:00
Krzosa Karol
0404615190 Bilinear blend working! 2022-02-17 10:56:10 +01:00
Krzosa Karol
512dba64cb Calculating the max bounds better 2022-02-17 10:48:32 +01:00
Krzosa Karol
8d4a747e1f Fixed triangle drawing, used to draw gaps in between triangles 2022-02-16 23:24:19 +01:00
Krzosa Karol
2680af2632 Fixed a bug where texture coordinates and the coordinate system didnt match the expectations 2022-02-15 20:59:22 +01:00
Krzosa Karol
d69180dbe6 3D cube render, basic interpolation, culling 2022-02-13 12:23:13 +01:00