527 points · by CharlesW · 2y ago · 114 comments
Could have easily published this at SIGGRAPH under temporal coherence for non-photorealistic rendering.
This is really what the game is all about. It's amazing when you're going through a scene for the 10th time and pick up on a huge clue that's been hiding in plain sight all that time.
That being said, I got stuck and brute forced my way to one or two solves, only to find out at the very end (talking to a friend who completed it) that I had missed a crucial and very helpful detail. Made it obvious that's why I was stuck trying to brute force, which was deeply unpleasant by design: the triple-match made that very tricky and only once I got the search set down a lot.
I might have had a couple of lets say educated guesses, but the rest was hard work piecing together details.
Easily one of my favorite games ever, and I've been playing for almost 40 year now.
I say give it a chance, you're missing a cool game.
Still finished it.
After a two hour session on my TV, I had to stop due to motion sickness, and I haven’t picked it back up since. Was really fun though.
It is amazing to me that something that was so integral to the 80s computing experience is now actually quite tricky on modern hardware. For my own project[0] I found that it is almost impossible to ensure a one-to-one mapping between offscreen pixels and the canvas provided by the browser.
[0] https://sheep.horse/2023/1/improved_web_component_for_pixel-...
I remember the time when I started with phones. A connection took 10-20 seconds before you heard the tone after dialing the number. And then the AXE (or whatever they vere called) switchboards came. The connection time dropped to just a second or less. Now the connection time depends a lot on how fast your smartphone is. Mine takes several seconds even though it's just a couple of years old.
At least the refresh interval can now be changed on a frame by frame basis again. Resolution and bith depth changes on the other hand are still take an insane amount of time.
I think what might work properly is:
- A "fractal" dither pattern so that it can be zoomed out and in smoothly and is scale invariant
- Doing things in texel space so that both camera movement and object movement works properly
- Doing bilinear filtering (perhaps keeping all samples instead of storing the weighted average) or perhaps supersampled rendering of the dithered pattern, and then using some sort of error diffusion pass in screen space (with a compute shader)
But not actually sure if this works in practice.
If that's not enough, an alternative would be to do things in screen space "naively", then reverse map the screen space rendering to texel space (in a resolution-preserving way), and use the information in texel space on the next frame to create a screen space solution compatible to the one in texel space, map it to texel space, etc., effectively building up the fractal per-texel pattern incrementally at runtime. This might be the best solution but seems very expensive in terms of memory, computation and complexity.
https://x.com/dgant/status/1851840125065453894 https://x.com/dgant/status/1851835968342446576?t=kCUSWCtJEc_...
How it works:
- World space dithering
- Apply 2D ditheringalong triplanar-mapped surfaces
- Choose coordinate scale based on depth such that the dither pattern ranges on [1px, 2px)
- Paint sufficiently distant surfaces using spherical coordinates
So there's some repainting at depth thresholds but it's not very loud in practice.
I'd love to see a video with vastly slower movement, so I can pay attention to what's actually happening. The fast movement turns it all into a blur (literally).
[1] https://forums.tigsource.com/index.php?topic=40832.260 [2] https://forums.tigsource.com/index.php?topic=40832.msg121719... [3] https://www.scale2x.it
I remember seeing early parts of his work on papers please and there is something wonderful about sharing your process and exposing it to feedback.
We wanted to use Atkinson dithering, but it was hard to do in a shader because of how neighboring pixel values trickle into each other, and I was super stressed and tired at the time. I don't think it occurred to us to pin the pattern to the offset of the scene, so I think there is twinkling on scrolling levels like the catacombs and helicopter pack. But maybe we did? I wish I could remember. Anyway, kudos!
I wonder if rendering the in-game graphics as if they are being shown on a virtual monitor would provide some respite. If the virtual monitor was on a desk with other items, then would give players some place to rest their eyes.
Found a new mantra for my life.
Error diffusion may yield better results for converting photos to lower bit depths, but it also makes very noisy looking images where edges are muddied and shades bleed into each other. Bitmap art of that era used patterns because it gave the artist a lot more control over the look.
The goal here is not to minimize PSNR or anything like that, but to give a clear and aesthetically pleasing image. And the goal of Obra Dinn is to do that while also matching a historical style. And if you look at individual screen caps of the game, you can see just how successful that effort was.
Secondly, error diffusion is nonlocal, which makes it hard to implement efficiently on a GPU. With a dither pattern, you can calculate each pixel individually, which is ideal for a shader. With error diffusion, you might be able to do some kind of wacky exclusive scan approach with multiple passes to squeeze some parallelism out, but its almost certainly going to perform worse than a dither pattern.
Finally, locking error diffusion to the camera like he did with the dither patterns sounds even harder than the already difficult work he did to get to a decent level of temporal coherence. I honestly have no idea how you'd do it, because the idea is just antithetical to the entire concept. If you don't solve that problem, I think the result would not only fail to capture the intended aesthetic, but would also be pretty nauseating to look at.
> I think first and foremost, using dither patterns is just a lot more authentic to the old black and white visual style Obra Dinn is emulating. Go on YouTube and watch some clips of Shufflepuck Café or The Manhole and you'll see that it's all hand drawn art specifically designed to be viewed in 1-bit, and it's all based on dither patterns, not error diffusion.
That's true for ordered dither patterns like Bayer, which Obra Dinn uses for some objects. But the rest uses a blue noise pattern, which stylistically has a "look" similar to error diffusion, but in terms of preserved detail it behaves only as well a Bayer pattern, so not as well as error diffusion.
Like 1-bit games were normal back in the day, but those games were mostly still images or something. And it’s an entirely different set of problems to try and make a fully 3D game with only 1 bit color.
If you haven't played Obra Dinn, you owe it to yourself to play it. The look is retro (sort of, it's actually very smooth) but the gameplay is definitely "modern indie".
Part of the appeal was definitely the retro look, but this is a very-specific retro look that the author worked hard to put into 3D space.
If people tried to make a "retro" to VR games, you'd mostly just get lots of blocky, cheap-looking graphics. But this could really be weird, in a good way.
Even if it did, VR relies on getting consistent images for each eye for the stereo view, which might be difficult with this style of rendering. It'd be hard to know if it works without trying it!
I literally had no idea so much went into the dithering, my presumption was there was just an off the shelf posterization filter applied.
The end result looks fantastic and managed to give me wild nostalgia for playing games like The Manhole on my friends Macintosh Classic as a kid.
One of my favorite games ever, my wife and I played through it together. I feel like there's not a lot of games you can play with another person these days and playing it like that was a wonderful experience. I would highly recommend playing it with another person if you have the chance.
Absolutely. Shameless self-plug to my list of games for "non-gamers" that I find enjoyable with a friend or significant other: https://ronan.jouchet.fr/games?list=nongamer . The first of the list is ...... Return of the Obra Dinn ^^.
Sennaar didn't gel with me, because language-based deduction imply an "arbitrariness" ("wobbliness"?) and mis-interpretations. To me, this felt frustrating compared to the sharpness of an Obra Dinn deduction. But for others it might be part of the appeal, and at any rate it's undeniably a polished game, so I understand that a lot people enjoy it :)
Regarding other similar recommendations I see in-thread and that are not already in the list:
- The Outer Wilds: one of my fav games ever (it's at the top of my "absolute best" list), but too 3d-mechanically-demanding for a very-non-gamer.
- The Witness: same, thus for this "non-gamers" list I preferred recommending its excellent 2D little-brother, Taiji :)
- Case of the Golden Idol: yeah it's a clear "play that too if you liked Obra Dinn", added as Obra Dinn addendum
- Lorelei and the Laser eyes: haven't played it yet, will soon!
According to Steam stats, it's been a huge success for them, which surprised me and has given me hope for the state of the gaming scene.
The two DLCs have been excellent. They're also working on a sequel set in the 1970s, The Rise of the Golden Idol, due for release in a few days [1].
[1] https://store.steampowered.com/app/2716400/The_Rise_of_the_G...
- Reventure (highly recommended) - Recursed (same) - Treasure Adventure Game, or its remake Treasure Adventure World - Loot Hound (so relaxing) - Wilmot's Warehouse (same) - Out of Space (the opposite of relaxing) - Q.U.B.E. - There Is No Game - An Untitled Story - Tools Up! - Viscera Cleanup Detail
And of course the well-known (as far as I can tell) Terraria, Minecraft, Stardew Valley, Undertale, Stanley Parable, Dicey Dungeons, Keep Talking And Nobody Explodes, Firewatch, Transistor, Overcooked.
This post became longer than I expected.
Note that a few you recommended are already in the list or in other sub-lists, you might have missed them if you only reviewed the "for non-gamers" sub-list that I linked to. For the full smorgasbord, check out https://ronan.jouchet.fr/games?list=all
(With the usual qualifier: for me ! I don't doubt many puzzle freaks absolutely loved it and 100%ed it, but for me it was too much, too hard, too tedious).
May I suggest Her Story / Telling Lies / Immortality ?
Don't read too much about it, you want to go in as blind as possible.
As a matter of fact, I recall I had to cheat to lookup the solution to a puzzle or two, only to discover I had the right idea, but was executing it too poorly to work.
Excellent list! I'd also add The Crimson Diamond to it.