4D Doom(github.com)
215 points bychronolitus4 days ago |25 comments
keyle10 hours ago
It's cool and all and I typically enjoy lowres renditions... unless, it actually impacts gameplay.

Since the gameplay is so much about 4D, clarity in what you see becomes more important and the extremely low resolution actually impairs the player rather than serve a positive (typically 'leaves more to the imagination').

It wouldn't take much of an effort to double or triple the resolution which I think would help the gameplay.

somat9 hours ago
The reason it is so low res is actually more interesting than simple aesthetic choice. Think about the sensor(or eye) needed to view a 3d scene, it is 2d right. So this is a 3d sensor(voxels) for a simulated 4d camera. and then we are looking at the 3d sensor. (with our 2d sensor(eyes)), it's sensor inception.

So it is as low res as it is because it is a bunch of voxels simulating a 4d camera.

The dev put out an interesting video on the topic.

__alexs50 minutes ago
There have been other 4D video games with actually good performance though.
Citizen_Lame43 minutes ago
They should have used Gaussian Splats, surely this would reduce processing overhead.
isomorphic-2 hours ago
The low resolution didn't bother me too much, but the controls made this completely unplayable for me.
fxtentacle3 hours ago
Fully agree. The low-res makes this unnecessarily hard to navigate. Which is a downside if your core gameplay is to teach players to navigate in a challenging environment.
adzm9 hours ago
Agreed this is not even 4d Wolfenstein but still a really neat concept
somat12 hours ago
I just watched the associated dev video And if I understand it, what the author is doing is kind of interesting.

The sensor to see a 3d scene is 2d(eye or camera). What is being done here is simulating a 3d sensor(for a 4d world) then we are looking at this 3d sensor using our 2d sensors (eyes). I don't know if this is the common way of rendering these 4d physics simulations. But it is the first I have heard it described this way. It is also why the narrative of the game focuses on eyes, because that is what it is doing.

https://www.youtube.com/watch?v=tKDMcLW9OnI

AndrewDucker1 hour ago
Nitpick - your eyes are, in combination, a 3d sensor. Individually they're 2d sensors, but together they can detect three dimensional information.
dtj11236 minutes ago
Strictly speaking this doesn't make them a true 3d sensor, but rather a 2d sensor with an accompanying depth-map. In order for them to be true 3d sensors they'd be have to transmit information about both the near and far sides of an object simultaneously, for example.
UltraSane7 hours ago
Reminds me a bit of a guy who created a functional virtual camera in Blender with lenses and film layers.

https://www.youtube.com/watch?v=YE9rEQAGpLw

gentleman1111 hours ago
I don't want to be the guy who has to use this level editor (although, in a similar way, doom was 2.5d, and so the level editor could essentially be 2d, so maybe it's not so bad?)

If this is 4d doom, i wonder what 4d quake could be

jitl10 hours ago
I read a novel when I was 14 or so who's premise is all about creatures inhabiting higher-dimensional space called "The Boy Who Reversed Himself" by William Sleator. I loved Sleator's books, they introduced me to really interesting concepts from theoretical physics as a youngun. If you find 4D Doom intriguing, I encourage you to borrow the book from your favorite ebook library, it's a quick fun read (at least, I remember it that way).
Darmani10 hours ago
Fun fact: William Sleator's brother is the famous computer scientist Danny Sleator, inventor of the splay tree.
UltraSane7 hours ago
Part of Greg Egan novel Diaspora takes place in a universe with 5 spatial dimensions.
dalmo31 hour ago
Reminds me of this 4D minecraft clone:

https://youtu.be/u8LMyWcKL_c?si=XZrCdSSSk9PtpNIP

amlib5 hours ago
I find it fascinating that it turns into a "descent like" (6dof fps) when using the ability to "peek" the 4th dimension.
heftig3 minutes ago
The perspective shifts so that the up-down direction becomes the hidden dimension. So the ceiling and floor disappear (and you have trouble avoiding lava) and you only see the walls of the space.
Narishma6 hours ago
Why does it require WebGPU when it looks like something that would run fine in software on a 386?
forthac9 hours ago
If you're on firefox, go to about:config and set dom.webgpu.enabled to "true".
knolan13 hours ago
I found 4D Golf a great game to explore higher dimensional space.
noman-land12 hours ago
Got a link?
AStrangeMorrow12 hours ago
I imagine they are taking about 4D golf by CodeParade, as seen here: https://youtu.be/y53UNskR-zU?si=iUfCkxYqkACx955t

Steam link: https://store.steampowered.com/app/2147950/4D_Golf

The person goes over quite a few technical details on their Youtube, though they talk about a bunch of other coding experiments too.

danbruc11 hours ago
Some of the scenes from the video remind me of Manifold Garden [1] - only 3D but a 3-torus [2] and you can change the direction of gravity, i.e. what is up and down. And also visually beautiful.

[1] https://store.steampowered.com/app/473950/Manifold_Garden/

[2] https://en.wikipedia.org/wiki/3-torus

dluan5 hours ago
I feel like now that I'm older, my brain just can't fully understand it say as quickly if I were younger. Makes me wonder if younger more plastic brains can adjust to having to juggle more dimensions than crochety old ones like mine with very rigid 3D grooves baked in. Or brains from other animals.

I guess taken to the logical extreme, what does the brain of someone/thing that's good at playing this (or any game of N dimensions) look like?

fredrikholm3 hours ago
If you don't mind me asking, how old are you, and how did this progress? I'm in my mid thirties and am noticing some minor deterioration, but I'm writing it off to loss of sleep due to having small kids.

My curiosity is if this is like you suggest, ingrained patterns, or if there is actual slow down with age. I hear different opinions and am finding it difficult to navigate as I deal with my own, albeit mild, aging.

dluan3 hours ago
Mid 30s, also have kid and sleep loss but not as bad as before.

I actually noticed serious mental decline when I was burned out in my late 20s. There were real physical symptoms like not being able to look at a text editor for more than 2 minutes. Post recovery of that, I actually feel like my brain recovered a lot once I started learning languages very seriously (mandarin and japanese), starting a few years ago. Brain feels healthy now but I'm acutely aware of where it's not as sharp as before. Playing around with this felt a little like when my brain is trying to build a new grammar dictionary.

gloflo4 hours ago
It's not actually Doom, but a Doom-like.
gipp11 hours ago
The problem with these attempts always seems to be that you can see in dimensions 1-3, but never in dimension 4, so any movement or exploration along that axis is always just blind fumbling. The extra dimension is not equivalent to the others

The only answer would seem to be an extra axis of rotation, but (a) doesnt work well with existing input methods, and (b) would be even more of a brain-breaker

jitl10 hours ago
I think you could approximate a 4d projection onto a 3d display, much like we approximate a 3d projection onto a 2d display. So perhaps one could enjoy a fun and intuitive game of 4d doom if you have an appropriately fancy volumetric display. Pity they're so rare/expensive.
Nevermark5 hours ago
Exactly. I prefer my 4D games projected into my Vision Pro’s surrounding 3D space. Please.
heyethan8 hours ago
Feels like in 3D you can move continuously and build intuition.

But in 4D there isn’t really an equivalent control, so it ends up feeling more like toggling something you don’t fully understand.

martin-t3 hours ago
Could transparency help?

Ordinarily, a 3D scene rendered in 2D only allows you to see a cone from your eye up to the first surface the ray encounters, thus defining the 2D projection which you see.

But you can make the surfaces transparent so the ray continues, and each additional surface adds a bit to the final pixel. This can look like a mess if you stand still but if you wiggle your movement left and right (or any other direction), your brain suddenly manages to process it into the full 3D structure.

Can something like this be done in 4D?

omershapira9 hours ago
Shameless plug: Horizon (Before the name got saturated), a 4D third-person game https://youtu.be/R6qTi3TCM2U
Brendinooo8 hours ago
His dev log linked from GitHub is really neat. Mind-bending stuff.
bstsb13 hours ago
this is visually interesting, but crucially it's also actually fun to play.

i managed to kill three enemies before succumbing to my fate

amelius3 hours ago
At least project it onto a 3D screen.
xnx11 hours ago
Better title: HYPERHELL, 4-Dimensional DOOM-Like
gerdesj10 hours ago
Is that the geordie version?
scordata13 hours ago
This is an awesome experience. Very useful tool to get exposure to thinking in "higher" dimensions!
razorbeamz4 hours ago
The AI generated logo image is a very big put-off.
danbruc12 hours ago
Now waiting since 16 years for the release of Miegakure [1][2][3].

[1] https://en.wikipedia.org/wiki/Miegakure

[2] https://www.youtube.com/watch?v=9yW--eQaA2I

[3] https://xkcd.com/721/

mrmckizzle11 hours ago
danbruc11 hours ago
On mine, too, forgot that link.
hiccuphippo11 hours ago
Oh yeah. I remember it every couple of years just to go to wikipedia and see it's not been released yet.
UltraSane7 hours ago
I wish I could stay focused on a project that long.
braelyn12 hours ago
that was incredibly cool
superxpro1214 hours ago
Ok... he was right. It broke my brain.
saberience12 hours ago
That's not 4D
integralid11 hours ago
That's exactly 4D. Just like "non euclidean"[1], this term is often abused in entertainment to mean something else, but the post here is about the real 4d world rendering.

[1] For this check out zenorogue work btw

bsza12 hours ago
Then what is it? I'm seeing 4x5 transform matrices in the code, looks 4D enough to me.
lanternfish12 hours ago
Why not?