frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Precomputing Transparency Order in 3D

https://jacobdoescode.com/2025/05/18/precomputing-transparency-order-in-3d
14•jacobp100•8mo ago

Comments

bschwindHN•8mo ago
> Today, getting the correct order for translucent faces typically involves sorting the faces by their distance to the camera on the CPU, then sending the sorted faces to the GPU. This means every time the camera moves, you need to re-sort the translucent faces.

Don't most games and rendering engines these days use order-independent transparency if they care about these problems?

https://osor.io/OIT

How does the method in the OP article work if you're rendering meshes instead of planar objects? Sure, a mesh is just composed of planar triangles, but that's a _lot_ of triangles to sort, and with an O(n^2) algorithm, it's going to be painful.

user____name•8mo ago
A big problem with OIT techniques is that it presumes all see-trough surfaces use alpha blending. In reality other blending modes can be used, most notably additive blending. Additive blending is very useful because it ensures the surface will always be brighter than the background, which is important for things like fire, which look strange when the background is actually brighter than the blended surface, this is quite common.

Another issue is that OIT techniques usually have a breaking point where drawing too many layers will start showing artefacts.

So in order for OIT to work correctly you have to enforce all surfaces to be either opaque or use alpha blending and also avoid drawing too many layers. This is more limiting than sorting based approaches for the average usecase, even if it does end up fixing cases that aren't easily fixed via sorting. Besides that, people working in games and realtime rendering have simply gotten accustomed to designing around alpha blending issues.

bschwindHN•8mo ago
What's the granularity of sorting, for most modern games? I'm guessing just sorting by an object or mesh center, instead of sorting each triangle, but are there are methods I'm unaware of?

Simplifying Vulkan One Subsystem at a Time

https://www.khronos.org/blog/simplifying-vulkan-one-subsystem-at-a-time
24•amazari•58m ago•2 comments

Clean-room implementation of Half-Life 2 on the Quake 1 engine

https://code.idtech.space/fn/hl2
102•klaussilveira•3h ago•11 comments

Frontier AI agents violate ethical constraints 30–50% of time, pressured by KPIs

https://arxiv.org/abs/2512.20798
411•tiny-automates•11h ago•271 comments

Discord will require a face scan or ID for full access next month

https://www.theverge.com/tech/875309/discord-age-verification-global-roll-out
1854•x01•23h ago•1776 comments

Show HN: Distr 2.0 – A year of learning how to ship to customer environments

https://github.com/distr-sh/distr
18•louis_w_gk•2h ago•3 comments

Rust implementation of Mistral's Voxtral Mini 4B Realtime runs in your browser

https://github.com/TrevorS/voxtral-mini-realtime-rs
322•Curiositry•12h ago•41 comments

Qwen-Image-2.0: Professional infographics, exquisite photorealism

https://qwen.ai/blog?id=qwen-image-2.0
155•meetpateltech•5h ago•89 comments

RLHF from Scratch

https://github.com/ashworks1706/rlhf-from-scratch
8•onurkanbkrc•2h ago•1 comments

Pure C, CPU-only inference with Mistral Voxtral Realtime 4B speech to text model

https://github.com/antirez/voxtral.c
233•Curiositry•13h ago•20 comments

Jury told that Meta, Google 'engineered addiction' at landmark US trial

https://techxplore.com/news/2026-02-jury-told-meta-google-addiction.html
7•geox•22m ago•0 comments

Why is the sky blue?

https://explainers.blog/posts/why-is-the-sky-blue/
686•udit99•22h ago•233 comments

Discord Alternatives, Ranked

https://taggart-tech.com/discord-alternatives/
437•pseudalopex•19h ago•268 comments

Converting a $3.88 analog clock from Walmart into a ESP8266-based Wi-Fi clock

https://github.com/jim11662418/ESP8266_WiFi_Analog_Clock
561•tokyobreakfast•21h ago•177 comments

Show HN: Elysia JIT "Compiler", why it's one of the fastest JavaScript framework

https://elysiajs.com/internal/jit-compiler
27•saltyaom•2d ago•6 comments

Zulip.com Values

https://zulip.com/values/
161•nothrowaways•13h ago•37 comments

Hard-braking events as indicators of road segment crash risk

https://research.google/blog/hard-braking-events-as-indicators-of-road-segment-crash-risk/
334•aleyan•21h ago•478 comments

Rice Theory: Why Eastern Cultures Are More Cooperative

https://www.npr.org/sections/thesalt/2014/05/08/310477497/rice-theory-why-eastern-cultures-are-mo...
34•thunderbong•1h ago•37 comments

80386 Barrel Shifter

https://nand2mario.github.io/posts/2026/80386_barrel_shifter/
19•jamesbowman•2d ago•0 comments

Luce: First Electric Ferrari

https://www.ferrari.com/en-US/auto/ferrari-luce
248•kaizenb•19h ago•246 comments

LiftKit – UI where "everything derives from the golden ratio"

https://www.chainlift.io/liftkit
245•peter_d_sherman•16h ago•123 comments

Show HN: Total Recall – write-gated memory for Claude Code

https://github.com/davegoldblatt/total-recall
39•davegoldblatt•4d ago•13 comments

Sandboxels

https://neal.fun/sandboxels/
348•2sf5•22h ago•42 comments

MIT Technology Review has confirmed that posts on Moltbook were fake

https://www.technologyreview.com/2026/02/06/1132448/moltbook-was-peak-ai-theater/
174•helloplanets•2d ago•86 comments

Is particle physics dead, dying, or just hard?

https://www.quantamagazine.org/is-particle-physics-dead-dying-or-just-hard-20260126/
161•mellosouls•14h ago•258 comments

An articulated archer automaton [video]

https://www.youtube.com/watch?v=Bc0bIpDVEa8
45•Teever•18h ago•6 comments

Eight more months of agents

https://crawshaw.io/blog/eight-more-months-of-agents
178•arrowsmith•2d ago•188 comments

Upcoming changes to Let's Encrypt and how they affect XMPP server operators

https://blog.prosody.im/2026-letsencrypt-changes/
149•zaik•17h ago•161 comments

UEFI Bindings for JavaScript

https://codeberg.org/smnx/promethee
244•ananas-dev•1d ago•111 comments

Ask HN: What are you working on? (February 2026)

294•david927•1d ago•992 comments

Game Theory Patterns at Work (2016)

https://daeus.blog/2026/01/18/game-theory-patterns-at-work/
112•kurinikku•17h ago•7 comments