
C++, graphics, optimization, random bits of low-effort humor. Millenial boomer. Once called 'incredibly ⟦redacted⟧'. He/him
Joined November 2019
- Tweets464
- Following144
- Followers932
- Likes3.2K
It's been a while since my last ad_tears screenshot, so here's one taken on a beastly 15W Core i5 4210u from 2014 and its integrated HD Graphics 4400. If you've ever wondered "what's the point of optimizing a renderer into 4 digit FPS territory on modern GPUs", this is it.
New release, now with Steam folder detection, title demo playback, supersampling support, unclamped lightmaps, improved palettization accuracy, underwater sound filter, better initial settings and various optimizations and bug fixes:
github.com/andrei-drexler/ir…
Fresh new version of my Quakespasm fork/coil whine generator: github.com/andrei-drexler/ir…
Hey, if you're one of those weirdos still playing Quake in 2022 there's a new version of my QS fork with quite a few new goodies:
- more optimizations
- support for slightly older GPUs
- software emulation mode
- lightstyle lerping
- lightmapped liquids
github.com/andrei-drexler/qu…
Update: went ahead and forked QuakeSpasm, rewriting most of the rendering code. Some before/after shots:
Replying to @andrei_drexler
Longer term, I've developed a really bad itch to fork QuakeSpasm (which vkQuake is based on) and to try moving as much code as possible to the GPU, but that seems like a pretty big chunk of time and not just some weekend coding. One more thing on the infinity pile, I guess...
The code is on github, and there's also a (win32-only) test release, in case anyone wants to give it a try:
github.com/andrei-drexler/qu…
9
Hacking sign bits for fun and maybe a tiny bit of profit (88 -> 76 cycles on GCN):
shader-playground.timjones.i…
1
5
Same approach as this, basically:
xitter.gq/zeuxcg/status/12294591…
Replying to @zeuxcg
I use a slightly different construction that is more optimal for wasm since it doesn’t have a fast floating-point max, and it’s faster to manipulate sign bit directly:
Completed another lap around the sun recently. Some would say it's no big deal, but I think it's quite revolutionary.
1
7
One interesting find while looking at MSVC disassembly, trying various incantations for the SSE culling code:
mask & 4 ? 32 : 40
is effectively compiled as
32 | (8 & ~(mask + mask))
which was not what I expected (a cmov, or maybe even a branch).
gcc.godbolt.org/z/G7cEfj159
1
Update: SIMD culling code now in mainline vkQuake
github.com/Novum/vkQuake/com…
Hoping to have another patch that will make this one obsolete soon, though, which I'm sure is exactly what every open source project owner/maintainer wants to hear 🙃
Replying to @andrei_drexler
...long story short, if you can't quite get 144 FPS on ad_tears, here's a test build with some vkQuake modifications that should increase the performance in the most demanding areas by up to 60% (assuming you've raised the host_maxfps limit):
github.com/andrei-drexler/vk…
I'm not yet at a point where it's easy to talk about my sculpting/painting program (basically a black hole that swallowed most of my youth), but seeing threads like this I still wonder sometimes if it's not a 'defeat from the jaws of victory' situation...
xitter.gq/PaulJanPauptit/status/…
Realtime footage of Paint3D having foolishly registered itself as the default application to open this 580mb .OBJ file.
1
3
For reference, here's how long it takes to import a 580 MB .obj file on an AMD CPU from *2009*:
youtu.be/Kd6lTpjQ-T0
(spoiler: a couple of seconds)
2
10
Looking for a radioactive cat to bite me so I get the 9 lives I need to finish all the side quests...
2
I know I'm late to the party, but I finally got to play Arcane Dimensions and...
1) it looks fantastic and the gameplay is just as good, definitely check it out if you haven't already:
moddb.com/mods/arcane-dimens…
2
7
I wish all papers (including preprints) were dated, but absent that, having VRML mentioned in the first paragraph also works pretty well.
5
I've been experimenting with mesh compression again the past few days, trying to bring the demo size down a bit (since I'm almost at the 64K mark). It looks like I can save ~2.5 KB with a new encoding scheme #screenshotsaturday
1
17
Pro tip: the best time to add support for shader reloading is *before* trying to texture a lion head model with maths!
You can probably (definitely) tell I'm not an artist, but hey, at least it's better than no texture at all, and it's only 550-ish bytes... #screenshotsaturday
11
After adding some basic CI, I can't help but wonder what would happen if I were to throw squishy into the mix... I'm guessing there are some terms of service I should probably read *very* carefully 🙃
1
If you're curious how the textures were made in the Q3 demake, you can now check out my 'texture sketchbook' on shadertoy:
shadertoy.com/view/WdGGWh
Many textures aren't finished, some are even just placeholders, but a few are decent, I think.
The code for my tiny Q3 demake is finally on github:
github.com/andrei-drexler/q3…
The whole thing is... let's say 'experimental', both in terms of structure (unity build) and actual contents, but I wanted to release a version that would still produce the same exe.























