pouët.net

New simple pixel api, thirteen.h

category: code [glöplog]
 
Not mine, but I love the concept.

https://github.com/Atrix256/Thirteen
added on the 2026-02-12 07:27:37 by sol_hsa sol_hsa
Cool!
added on the 2026-02-12 15:24:48 by Optimus Optimus
Cool beans!
added on the 2026-02-13 05:23:17 by sigflup sigflup
I've got little against reinventing the wheel but I'd really rather see people using battle tested code such as simply SDL to tackle this for a plethora of reasons if they need a frame buffer.
added on the 2026-02-13 13:20:26 by superplek superplek
Plek: This is coded by two top-notch guys from the game industry and nvidia. Shouldn’t be that bad yo..
added on the 2026-02-13 16:14:03 by arm1n arm1n
It's nice that it enables you to "just start drawing" but SDL also does that and is more battle-proven thanks to having been used for decades already. I still use SDL for prototyping.
added on the 2026-02-13 16:18:11 by fizzer fizzer
Battle test all pixels yo
added on the 2026-02-13 16:23:26 by arm1n arm1n
Header-only libs rule. Thanks Sol for sharing this!
added on the 2026-02-13 16:27:17 by arm1n arm1n
As a header-only lib I think this is after a different niche than SDL, and these pixels are probably easy to battle test indeed. Awesome!
added on the 2026-02-13 16:56:14 by Fell Fell
So working in the game industry or at nVidia is a sign of qua..

Oh whatever this forum here is about a hobby, do whatever the hell you please already :-)
added on the 2026-02-13 17:01:53 by superplek superplek
Very nice work, thanks... :)
added on the 2026-02-13 17:02:34 by wywiwic wywiwic
Would still be nice if I wanted to start something new and decide to get rid of SDL dependencies and just use this.
added on the 2026-02-13 17:23:11 by Optimus Optimus
On second thought, it's DX12, I might lose the portability if I abandon SDL, I don't know.

Got inspired at some point of the idea of going out of dependencies, after watching few Casey Muratori's videos. But never did. SDL is good enough. Just sometimes I need to link the extra libaries and in one case I had old project with SDL1.2 and was looking at old files on the internet to recompile. A header file that gives you that just seems appealing to get started.
added on the 2026-02-13 17:31:56 by Optimus Optimus
I'll buy it if it can use SDL as backend :D
added on the 2026-02-13 17:37:47 by Moerder Moerder
TinyPTC rides again? :-)
added on the 2026-02-13 17:53:52 by Sesse Sesse
Almost the same as my old WTC lib, too bad that I never fixed the old DirectDraw sins (writing directy to the video buffer and not swapping, broke my old win32 demos in fullscreen after Vista / Win7 ).
added on the 2026-02-13 18:38:01 by whizzter whizzter
someone reinvented ptc/pixeltoaster? ;)

login