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•1y ago

Comments

bschwindHN•12mo 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•12mo 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•12mo 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?

I Found Ultra-Pure Quantum Crystals in an Abandoned Mine in the Atacama Desert

https://medium.com/@breid.at/ultra-pure-quantum-crystals-from-an-abandoned-mine-in-a-mysterious-d...
58•vi_sextus_vi•2d ago•9 comments

Polypad

https://polypad.amplify.com/
74•ivank•2d ago•6 comments

Peter Neumann has died

https://www.tuhs.org/pipermail/tuhs/2026-May/033748.html
127•pabs3•7h ago•8 comments

The last six months in LLMs in five minutes

https://simonwillison.net/2026/May/19/5-minute-llms/
471•yakkomajuri•9h ago•336 comments

Click (2016)

https://clickclickclick.click/
311•andrewzeno•11h ago•75 comments

Kv4p HT – A homebrew 1W radio (VHF or UHF) that plugs into an Android phone

https://www.kv4p.com/
96•krupan•2d ago•33 comments

The lasting influence of Netscape Time

https://thehistoryoftheweb.com/the-lasting-influence-of-netscape-time/
33•zdw•2d ago•7 comments

PyTorch Landscape

https://pytorch.landscape2.io
46•salamo•6h ago•9 comments

Cursor Introduces Composer 2.5

https://cursor.com/blog/composer-2-5
155•asar•17h ago•108 comments

Anthropic acquires Stainless

https://www.anthropic.com/news/anthropic-acquires-stainless
455•tomeraberbach•17h ago•319 comments

1024000^2 Blocks, 2B2T Minecraft Server World Download Project, and Discoveries

https://github.com/2b2tplace/1m_release
144•exploraz•20h ago•90 comments

Regex Chess: A 2-ply minimax chess engine in 84,688 regular expressions

https://nicholas.carlini.com/writing/2025/regex-chess.html
124•surprisetalk•4d ago•27 comments

Pope Leo XIV’s first encyclical Magnifica humanitas to be published May 25

https://www.vaticannews.va/en/pope/news/2026-05/pope-leo-xiv-first-encyclical-magnifica-humanitas...
230•cucho•11h ago•150 comments

We let AIs run radio stations

https://andonlabs.com/blog/andon-fm
270•lukaspetersson•16h ago•214 comments

Hyperpolyglot Lisp: Common Lisp, Racket, Clojure, Emacs Lisp

https://hyperpolyglot.org/lisp
161•veqq•15h ago•37 comments

Show HN: Hsrs – Type-Safe Haskell Bindings Generator for Rust

https://github.com/harmont-dev/hsrs
35•suis_siva•6h ago•2 comments

Show HN: Number Gacha, a gacha game distilled to its essence

https://isabisabel.com/gacha/
159•babel16•5d ago•64 comments

When can the C++ compiler devirtualize a call?

https://quuxplusone.github.io/blog/2021/02/15/devirtualization/
65•lionkor•2d ago•40 comments

Mini Shai-Hulud Strikes Again: 314 npm Packages Compromised

https://safedep.io/mini-shai-hulud-strikes-again-314-npm-packages-compromised/
107•theanonymousone•5h ago•56 comments

Energy return in running shoes explained (2025)

https://runrepeat.com/guides/energy-return-in-running-shoes
7•jstrieb•1d ago•2 comments

Make ZIP files smaller with ZIP Shrinker

https://evanhahn.com/make-zip-files-smaller-with-zip-shrinker/
28•zdw•2d ago•14 comments

AI eats the world (Spring 26) [pdf]

https://static1.squarespace.com/static/50363cf324ac8e905e7df861/t/6a0af5d0484fbf5fe9a7743e/177910...
235•topherjaynes•21h ago•133 comments

Peter Salus has died

https://www.tuhs.org/pipermail/tuhs/2026-May/033750.html
139•speckx•7h ago•12 comments

Two computers, one monitor, zero fiddling (2025)

https://alexplescan.com/posts/2025/08/16/kvm/
224•ankitg12•3d ago•130 comments

Elon Musk has lost his lawsuit against Sam Altman and OpenAI

https://techcrunch.com/2026/05/18/elon-musk-has-lost-his-lawsuit-against-sam-altman-and-openai/
966•nycdatasci•17h ago•482 comments

Alignment pretraining: AI discourse creates self-fulfilling (mis)alignment

https://arxiv.org/abs/2601.10160
58•anigbrowl•13h ago•24 comments

Why is it called Kent House?

https://diamondgeezer.blogspot.com/2026/05/kent-house.html
35•susam•3d ago•7 comments

Consider the Sister

https://www.thesmallbow.com/p/consider-the-sister-2b94
11•NaOH•1d ago•3 comments

Agora-1: The Multi-Agent World Model

https://odyssey.ml/introducing-agora-1
112•olivercameron•16h ago•22 comments

Codex-maxxing

https://jxnl.co/writing/2026/05/10/codex-maxxing/
82•dnw•6h ago•60 comments