Post AZjhMBJrAcOdGcfBKa by tromino@snug.moe
 (DIR) More posts by tromino@snug.moe
 (DIR) Post #AZjfOvCTMDQSEdO83s by tromino@snug.moe
       2023-09-13T20:31:33.937Z
       
       1 likes, 0 repeats
       
       
       
 (DIR) Post #AZjgBUMruLpDCoPRnU by tromino@snug.moe
       2023-09-13T20:35:27.002Z
       
       0 likes, 0 repeats
       
       it uses over a third of a core lol, idk how to do fast software rendering
       
 (DIR) Post #AZjgBVCcnvE1nKcmTA by Jain@blob.cat
       2023-09-13T20:40:58.555718Z
       
       0 likes, 0 repeats
       
       @tromino on nowday hardware i guess i would take shaders... on older hardware, i have no idea
       
 (DIR) Post #AZjgkwqe0jejffFGMq by tromino@snug.moe
       2023-09-13T20:43:08.764Z
       
       0 likes, 0 repeats
       
       @Jain@blob.cat would be kinda hard to do rendering on the gpu when I want to be able to execute user code in the middle of drawing
       
 (DIR) Post #AZjgkxuw2GgMzGGCh6 by tromino@snug.moe
       2023-09-13T20:44:01.347Z
       
       0 likes, 0 repeats
       
       @Jain@blob.cat or at least there wouldn't be as much benefit I think when the draw routine can only draw one row of pixels at a time
       
 (DIR) Post #AZjgkz1LvtPUPSGqKu by Jain@blob.cat
       2023-09-13T20:47:22.815805Z
       
       0 likes, 0 repeats
       
       @tromino well im not sure how the pipeline works correctly... but like shadertoy supports it so i guess it should be possible tho...  and no, that way you wouldnt use the draw method to render stuff, you would use shaders to do it or in other words, you provide your gpu some code which then gets executed for every pixel on the screen running fully on the gpu in parallel all the wayhttps://www.shadertoy.com/
       
 (DIR) Post #AZjhMBJrAcOdGcfBKa by tromino@snug.moe
       2023-09-13T20:52:17.863Z
       
       1 likes, 0 repeats
       
       @Jain@blob.cat I mean like, I have a row callback pointer that can be accessed from the library consumer side that lets you make arbitrary modifications to the ppu state every scanline, which take effect immediately when the next line is drawn
       
 (DIR) Post #AZjhMcw4Ue0Wuxka92 by tromino@snug.moe
       2023-09-13T20:52:41.491Z
       
       1 likes, 0 repeats
       
       @Jain@blob.cat so it's c code on the cpu that needs to be executed in between lines
       
 (DIR) Post #AZjhZAAok2TzThcpVI by tromino@snug.moe
       2023-09-13T20:55:27.334Z
       
       1 likes, 0 repeats
       
       @Jain@blob.cat if I didn't have anything like that then I could probably do rendering using shaders fine, but I think scanline effects are fun and they're what make the cool distortion and gradient effects in that demo possible
       
 (DIR) Post #AZjijr7S1clpWPiHU8 by Jain@blob.cat
       2023-09-13T21:09:36.859666Z
       
       0 likes, 0 repeats
       
       @tromino im pretty sure that this is not an issue for shaders... but (and there is a big but), shaders are build on math while moving pixels within c on a cpu is much much easier tho... (i bet any demoscener who used shaders would disagree :blobcatgooglynotlikethis:)