alt.hn

12/26/2025 at 9:43:23 AM

Geometric Algorithms for Translucency Sorting in Minecraft [pdf]

https://douira.dev/assets/document/douira-master-thesis.pdf

by HeliumHydride

12/25/2025 at 10:08:40 PM

Binary Space partitioning (https://en.wikipedia.org/wiki/Binary_space_partitioning) is an elegant algorithm that solves this issue. This has fallen out of popularity due to the invention of the depth buffer and the power of modern GPUs, but it was used in DOOM and Quake.

This technique, due to the unique limitation of the children's drag-and-drop coding platform, Scratch, has made it proliferate in the 3D community. https://scratch.mit.edu/projects/1203675921 is an example of such a project.

by ANighRaisin

12/25/2025 at 10:52:08 PM

They seem to point out some examples in section 4 that can't be handled with space partioning. I'll confess I don't follow the reasoning. Figure 4.2 is the go-to example of a sorting problem that is handled with BSP trees.

by CamperBob2

12/26/2025 at 6:36:54 PM

Hi, it’s me, the author. In this thesis the focus was on techniques that don’t involve splitting the geometry into pieces, and the objects in Figure 4.2 can’t be partitioned without splitting. In later iterations of the implementation I have added splitting and I’ve detailed this in a talk I gave at Blanketcon 2025 (https://douira.dev/assets/document/presentation-blanketcon25...), but the algorithm still attempts to avoid it as much as possible since it can explode the amount of quads in the worst case.

by douira

12/26/2025 at 11:56:43 AM

It works, it may just degenerate into a worst case scenario, and this particular scenario is pretty common in minecraft.

I think this is particular to auto-partitioning BSPs where the splitting planes are aligned with scene geometry.

by user____name

12/26/2025 at 4:16:04 PM

For rendering voxel data like in a minecraft world I’d think an octree would be the go-to data structure.

by taneq

12/25/2025 at 10:11:42 PM

A prettier demo: https://turbowarp.org/984959784/fullscreen?stuck&hqpen&fps=6...

by ANighRaisin

12/26/2025 at 4:20:09 PM

Man Dust in 1.6! At first instantly familiar but then things didn't make sense and I realise I was in an alien land.

by SiempreViernes

12/26/2025 at 7:41:14 PM

Within 2 seconds I knew exactly where this was and I haven't played in 20 years. Dust is forever.

by seg_lol

12/26/2025 at 5:55:54 AM

BSP was not used in Doom and Quake for rendering translucency.

by djmips

12/26/2025 at 4:10:33 PM

Okay. BSP trees were the basis of the Doom WAD format and were used for visible surface determination and depth sorting, though. Seems relevant.

by taneq

12/26/2025 at 3:37:34 AM

Only slightly related, but since Minecraft seems to have a lot of community graphics programming associated with it I thought I'd ask here...

Does anyone know how those Minecraft realistic rendering mods work? I'm guessing today there's a lot of RTX, but e.g. in 2018 there was still fairly impressive global illumination in SEUS Renewed. Minecraft is the definition of a world with dynamic geometry, and I'm not aware of any decent realtime GI algorithms for 3d. The lighting in base Minecraft is a super basic and ugly hack. I've seen Unity's dynamic GI features and those are nowhere near as good either.

by rendaw

12/26/2025 at 4:53:07 AM

I don't know much about lighting, but looking at the source code of the shaders might give a clue. https://modrinth.com/discover/shaders has a lot of shaders that change the lighting. In other parts of the rendering pipeline, there are some very impressive mods utilizing GPU magic. One of them is Voxy (https://modrinth.com/mod/voxy), one that massively increases render distance with mesh shaders and level-of-detail based rendering.

by HeliumHydride

12/27/2025 at 6:26:53 AM

Ah yeah, I was mostly interested in lighting, but that's really interesting too.

Voxy's LOD thing... so like, I guess what they do is when you're in an area so that area's high LOD assets are loaded, it computes the lower LOD and saves it, and then as you move around you get a library of more and more lower LODs? And since modifications to geometry only happen when you're nearby the LODs are static? I'd love to see a writeup of that too...

by rendaw

12/26/2025 at 2:50:43 PM

A lot of non raytracing GI solutions uses voxel grids on top of the world geometry, SVOGI is one of the fancy ones used in cry engine games. I imagine since minecraft essentially gives a voxel grid to you for "free" most of minecraft GI solutions also uses a similar technique.

by amlib

12/26/2025 at 9:21:52 PM

If you’re marveled by these articles, I suggest you to read this blog: https://0fps.net/

It inspired me so much back when I was graduating in mathematics, the author is a genius.

by Lucasoato

12/25/2025 at 9:33:08 PM

This looks interesting! Thanks for sharing it, wonder if anyone else has related content.

by gatane