HNHacker News
TopNewBestAskShowJobs

xgkickt

152 karma · joined February 13, 2021

submissionscomments
xgkickt··on ZX Spectrum Next Issue 2 ships out, and El Reg talks to the project founder
For me it’s the squeaks of the embossed polystyrene housing my new issue 2 48k, also received one Dec 25th morning.
xgkickt··on Fast RISC-V-based scripting back end for game engines
I’ve thought of doing something similar myself. Some of the advantages as I see them are language agnosticism, simple and easy to read script bitcode making a debug interface easier to write and maintain. By having the script use the same language as the rest of the game, moving functions between static and dynamic compilation can help with iteration and performance.
xgkickt··on Hyperloop One to shut down
Not a compelling reason but it’s probably harder to steal a lot of copper or cargo in a tunnel.
xgkickt··on Possible to detect an industrial civilization in geological record? (2018)
Just think of all theories about the bags of mammalian feces left there.
xgkickt··on Cortex A57, Nintendo Switch's CPU
Not to mention the Atari Lynx, which was wider than the Switch (and about 3x as thick).
xgkickt··on Cortex A57, Nintendo Switch's CPU
I have some great memories working on the PSP. While you could get some FP precision issues if you weren't careful, I really liked being having BVH testing as part of the command buffer.
xgkickt··on X.com is Twitter, but what are [a-z].com?
“Twitter (currently known as X)”
xgkickt··on The Fallout from the Weirdness at OpenAI
All of them conveniently with 501(c) status.
xgkickt··on Epic Games is laying off 16% of its staff
Not until legal approve it, which doesn't seem like any time soon.
xgkickt··on The power of weeds to end hunger in an uncertain climate
I read that they’re good nitrogen fixers so I left mine this year (they really should be our provincial flower), dead-heading them before the seed puffs appear. I’m also working on a nettle patch in one corner as they are the preferred egg laying spot for certain butterflies.
xgkickt··on Commander Keen's adaptive tile refresh
I like the idea of software rasterization as an aesthetic (in the context of games, but demos are included). Caches are larger than the system memory of the pre-GPU days. Best of all, if you can write a plot function you’re a graphics programmer!
xgkickt··on Data-Oriented Design Principles
AKA “Cache is King”.

(edit) Terje Mathisen's "almost all programming can be viewed as an exercise in caching" is often quoted amongst game developers, as it rings true with how we use hardware and pre-calculation of data.

xgkickt··on Zoom fatigue unpacked
I know a lead who uses their vacation to be able to work from home with a week free of scheduled meetings.
xgkickt··on Problems of C, and how Zig addresses them
Are Clang’s builtin types interoperable with __m128 intrinsics?
xgkickt··on AVX 512 will be the future
Or HLSL. Can use ISPC as an intermediary language.
xgkickt··on Inverting a binary tree using x64 assembly
Register renaming. Stack references are more likely to be in the register file.
xgkickt··on The Sad State of Debug Performance in C++
Possibly due to this, from what I’ve seen, compiler engineers tend to be in-house working on vendor tools, at the big engine companies, or working on script systems.
xgkickt··on The Sad State of Debug Performance in C++
For both productivity and practical reasons (the game still has to be somewhat playable), the use of pragmas to disable optimizations for the file/function of interest is generally recommended over a full debug build.
xgkickt··on Why Canadians Can't Bike in the Winter (But Finnish People Can)
Can't even bike safely in the summer in my smallish city in Canada. No bike paths, with roads that keep getting wider with increased speeds, such that the city recommends riding on the sidewalk, and then you are supposed to dismount to cross the road every block. Cycling in Los Angeles where near misses were a daily occurrence felt safer.
xgkickt··on Sony is ready to admit that mobile gaming is too big to ignore
Plus with PSP and Vita they had second screen, remote play, output to TV, OLED. A similar journey that Nintendo have taken with the Switch.
xgkickt··on Exploring 12M of the 2.3B images used to train Stable Diffusion
Sturgeon’s law will probably end up at 99%
xgkickt··on Europeans will be able to unsubscribe from Prime with two clicks
I suspect there's a minimum time to order so that people are waiting to order rather than waiting for their food, so the kitchen doesn't get overrun.
xgkickt··on Ask HN: What does your mother tell people about your work or employment?
She likes to point to the cardboard cutout or box on the shelf and tell the shop assistant that “my son made that”.
xgkickt··on Have you hever suffer the impostor syndrome?
Whenever I have a crisis of confidence at work I remember the time I overheard being labeled an ‘Idiot Savant’ and just accept they keep me around for some reason I’ll never fathom.
xgkickt··on Why are mathematicians so bad at arithmetic? (2017)
I've worked with people a bit like that.
xgkickt··on Colors in movies and TV: What happened to them?
Grayscale is easier to composite than color so if the lighting is off in one layer it isn't as noticeable or can easily be compensated for. Shots can be matched up with a common tone.

I had also wondered if streaming was driving some of these changes, by reducing noise and providing better compression reducing the image to simple gradients.

xgkickt··on The Dreamcast Legacy
There was a rumor that in the UK SEGA pretty much spent their entire Dreamcast marketing budget on the Arsenal sponsorship. Would like to know how close to the truth that was.
xgkickt··on The Dreamcast Legacy
Although the PlayStation 2 had the brute force, from this programmer's perspective the Dreamcast had a certain finesse, largely due to the PowerVR GPU. SEGA's teams were also on a strong creative streak at the time too. Such a shame it didn't pan out.
xgkickt··on War stories: how Crash Bandicoot hacked the original Playstation (2020)
>GPUs, even the primitive PSX one, will draw many in a single CPU cycle. I can't find information on the PSX GPU fill rate but I'm sure it's faster than 1 pixel per CPU cycle.

Two pixels per cycle for flat shaded or rectangular primitives. Add another cycle for color interpolation, and another for on-cache texture reads (divided by how many texels are packed into 16 bits). The GPU is clocked around 53MHz so the range of 'many' here is roughly 1 to 4, ignorning that a CPU renderer would probably write two pixels at once. The CPU is also hampered by main memory reads taking a minimum of 5 cycles. Pipelining helps a little but extensive scratchpad use, such as putting the stack on it, was essential.

DOOM PSX did use triangles for the walls, just that they were a single pixel wide.

xgkickt··on Building a PS1 style retro 3D renderer
The most obvious one I can think of is triangle strips and MIPmaps. The 60fps demo that came with Ridge Racer Type 4 had MIPmaps.

I made an internal "cel-shading" tech demo back in 1998, tracking the polygon edges and then using line primitives to outline the objects but there was no game to apply it to.

There were bump/normal mapping demos around then too, where a palette entry was assigned to a vector (so 256 vectors max), lit, and the texture applied additively (or subtractively).

On a personal project attempting a mesh shader like approach (although you can say it's really a PS2 VU1 workflow) to transform and sort a cluster on scratchpad, then triple buffer the output in memory, ready to be kicked off to the GPU in slice mode. It might end up slower than the old brute-force OTZ approach but it's fun to figure this stuff out.

← PreviousPage 5 of 6Next →