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?

How I use LLMs to learn complex topics

https://laurentiugabriel.github.io/blog/articles/how-i-use-llms-to-learn/
206•laurentiurad•2h ago•109 comments

New Zealand lost its music media, and what we're building to replace it

https://propelmusic.co.nz/articles/the-sound-went-quiet-nz-music-media
21•berghoffer•1h ago•5 comments

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

132•david927•4h ago•484 comments

Mea Culpa – Dark Hours

https://blog.terrygodier.com/2026/08/09/mea-culpa-dark-hours.html
508•satvikpendem•8h ago•227 comments

Saying No

https://rozumem.xyz/posts/19
102•rozumem•3h ago•82 comments

The Hacker's Renaissance

https://phrack.org/issues/72/19#article
19•yu3zhou4•1h ago•7 comments

The tragedy of the commons, AI edition

https://www.economist.com/britain/2026/08/06/the-tragedy-of-the-commons-ai-edition
33•simonpure•2h ago•7 comments

Cool URIs Don't Change (1998)

https://www.w3.org/Provider/Style/URI
137•Klaster_1•7h ago•28 comments

How not to turn ideologically crazy

https://blog.andymasley.com/p/the-main-way-ive-seen-people-turn
19•mef•1h ago•13 comments

Taxi drivers rarely die of Alzheimer's

https://theconversation.com/taxi-drivers-rarely-die-of-alzheimers-how-complex-mental-maps-and-spa...
114•jader201•6h ago•90 comments

Tuxedo No. 2 – Cocktail recipes

https://tuxedono2.com
11•smartmic•1h ago•1 comments

OpenChamber: An Agentic Development Environment

https://openchamber.dev/
80•hexomancer•4h ago•44 comments

John C. Lilly on solid state intelligence and the elimination of man (1978)

https://kibotronics.net/unlisted/lilly-machines/
105•Kiboneu•8h ago•59 comments

"I loved every minute of it, however hard it had been" [video]

https://www.youtube.com/watch?v=GS7CxAtV5Ks
8•jackdoe•2d ago•5 comments

Is it all just vapourware?

https://kirahowe.com/2026/aug/8/is-it-all-just-vapourware
58•Lyngbakr•56m ago•79 comments

I Made Tinnitus My Friend (Then It Disappeared)

https://mynoise.net/vlog.php?ep=20260803
21•gregsadetsky•3h ago•3 comments

Everything you do is being recorded

https://www.theatlantic.com/technology/2026/05/ai-wearable-surveillance-countermeasures/687203/
143•ike_usawa•10h ago•126 comments

Crickets as Pets

https://en.wikipedia.org/wiki/Crickets_as_pets
66•Michelangelo11•4d ago•30 comments

How Golden Is Silence, Actually?

https://www.newyorker.com/magazine/2026/08/10/silence-kate-mcloughlin-book-review
18•tintinnabula•3d ago•6 comments

Windows 11's built-in Weather app wastes more than 1 GB of RAM

https://www.notebookcheck.net/Windows-11-s-built-in-Weather-app-wastes-more-than-1-GB-of-RAM.1364...
265•akyuu•6h ago•218 comments

Show HN: A Project Oberon System version running on RISC-V instead of RISC-5

https://github.com/rochus-keller/OberonSystem/tree/op2-rv32
95•Rochus•9h ago•16 comments

Show HN: Alphabet Soup, a multiplayer game, build the longest word to win

https://alphabetsoup.club
10•johnchinjew•1h ago•6 comments

Two wheels, a few tradeoffs, and gas prices

https://blog.raed.dev/posts/motocycle/
8•Raed667•2h ago•2 comments

When Compilers Disagree About UTF‑8

https://nemanjatrifunovic.substack.com/p/when-compilers-disagree-about-utf8
15•rbanffy•4d ago•4 comments

Deletes all instances of Microsoft's GDID and prevents minting of new ones

https://github.com/yegors/deGDID
42•campuscodi•1h ago•29 comments

Ransomware gangs skip the CEO, head straight for the 40-something IT manager

https://www.theregister.com/security/2026/08/09/ransomware-gangs-skip-the-ceo-head-straight-for-t...
56•joebuckwilliams•2h ago•22 comments

There Are Magic Hexagons of Every Order

https://gukov.dev/math/2026/08/02/new-magic-hexagons.html
174•gukoff•14h ago•28 comments

Reviving a four year old reMarkable 2

https://oskrim.github.io/hardware/2026/08/09/remarkable-over-ssh.html
101•tremguy•10h ago•82 comments

Archival Resource Key (Ark) Alliance

https://arks.org/
3•cxr•1h ago•0 comments

Every fast write moves work somewhere else

https://www.shayon.dev/post/2026/220/every-fast-write-moves-work-somewhere-else/
52•shayonj•6h ago•19 comments