frontpage.
newsnewestaskshowjobs

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

Keep Our Servers Running

https://blog.archive.org/2026/09/01/keep-our-servers-running-your-recurring-donation-goes-3x-this...
407•sonicrocketman•5h ago•93 comments

Programming is Art

https://orchidfiles.com/programming-is-art/
22•theorchid•1h ago•3 comments

Making a Python interpreter in 1024 bytes

https://austinhenley.com/blog/python1024.html
222•azhenley•9h ago•82 comments

Ask HN: How do you manage skills files?

114•imadtaieber•13h ago•99 comments

It took a year to ship WebAssembly in Anubis

https://anubis.techaro.lol/blog/2026/anubis-wasm/
265•xena•12h ago•133 comments

Show HN: Engrim – A universal, local-first SQLite memory engine for AI CLIs

https://github.com/timgordontg/engrim
32•timgordontg•4h ago•9 comments

Ask HN: Fable hacked my piano, can I release the results?

151•jmpman•1d ago•91 comments

GrapheneOS Overhauled Default Apps and Secure Clipboard

https://grapheneos.social/@GrapheneOS/117225539756835649
289•Cider9986•12h ago•202 comments

Nitter and XCancel resume service after legal advice

https://github.com/zedeus/nitter/commit/1428b4c2b4246f92a7e5b2673438e5fb39fcc4a3
726•zImPatrick•15h ago•317 comments

NIXI has killed the "Dot In" domain name (2025)

https://www.naavi.org/wp/nixi-has-killed-the-dot-in-domain-name/
9•pkd•3d ago•3 comments

Show HN: GET Together – A social network where you don't need POST to Post

https://gettogether.dev
50•nchudleigh•7h ago•20 comments

Harnessing the Universal Geometry of Embeddings

https://arxiv.org/abs/2505.12540
77•ur-whale•12h ago•27 comments

Has anybody seen my keys? A key-hierarchy strategy for rack-level security

https://rfd.shared.oxide.computer/rfd/0301
30•cyb0rg0•6h ago•1 comments

I'm a seeing-eye dog for a computer

https://claytonwramsey.com/blog/seeing-eye/
70•claytonwramsey•3d ago•69 comments

Switzerland's Federal Government Is Replacing Microsoft on 3k Computers

https://itsfoss.com/news/switzerland-replace-microssoft-pilot/
107•ivell•3h ago•76 comments

TiVo to charge money for skipping commercials in your own recordings

https://cordcuttersnews.com/tivo-plans-to-end-free-automatic-commercial-skipping-in-november-test...
64•dmitrygr•4h ago•26 comments

Babylonian Lamb Stew with Beets (1750–1730 BCE)

https://babylonian-collection.yale.edu/about/babylonian-cooking
142•yubblegum•3d ago•109 comments

It's time for Mark Zuckerberg to resign from Meta

https://www.theguardian.com/technology/commentisfree/2026/sep/04/mark-zuckerberg-resign-meta
41•domhudson•1h ago•51 comments

Research acceleration: The view inside OpenAI

https://openai.com/index/research-acceleration-view-inside-openai
171•iamsyr•18h ago•115 comments

Asahi Linux on M3

https://asahilinux.org/2026/09/m2-episode-1/
465•mdp2021•19h ago•284 comments

Is mathematics about to enter the conservatory?

https://mbmccoy.dev/posts/mathematical-conservatory/
46•_alternator_•10h ago•65 comments

The NX bit is not just about security

https://purplesyringa.moe/blog/guest/the-nx-bit-is-not-just-about-security/
71•torutofu•2d ago•35 comments

Please don't rearrange our shoes when we turn up, paramedics in Japan urge

https://www.theguardian.com/world/2026/aug/28/never-tidy-paramedics-shoes-japan-custom-etiquette
106•high_na_euv•3d ago•115 comments

An Alien Mind

https://openai.com/index/an-alien-mind/
407•tosh•16h ago•357 comments

Signing TLS handshakes inside a TPM

https://bschaatsbergen.com/posts/go-tpm-tls/
26•bschaatsbergen•12h ago•35 comments

NetBSD 9.5 released and EOL for NetBSD-9

https://blog.netbsd.org/tnf/entry/netbsd_9_5_released_and
132•jaypatelani•17h ago•12 comments

Show HN: Mador – Make any DOM reactive with a tiny 80-line Proxy state tuple

https://github.com/marsbos/mador
87•bosmarcel•12h ago•28 comments

Black Hole of Los Alamos: Seller of surplus nuclear research materials (2011)

https://www.atlasobscura.com/places/black-hole-of-los-alamos
64•Bluestein•4d ago•15 comments

Reverse engineering the storage format for an undocumented database

https://blog.glazer.ee/posts/converting-cronos/
53•pintprint•3d ago•5 comments

LG smart TVs caught logging audio with screen off and snooping on local devices

https://www.notebookcheck.net/LG-smart-TVs-caught-logging-audio-with-screen-off-and-snooping-on-l...
23•chris_overseas•2h ago•2 comments