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?

Write code like a human will maintain it

https://unstack.io/write-code-like-a-human-will-maintain-it
47•ScottWRobinson•41m ago•34 comments

Late Bronze Age Collapse

https://acoup.blog/2026/01/30/collections-the-late-bronze-age-collapse-a-very-brief-introduction/
85•dmonay•2h ago•27 comments

Punk, or why I don't stream anymore

https://geohot.github.io//blog/jekyll/update/2026/05/03/punk-or-why-i-dont-stream.html
41•surprisetalk•43m ago•11 comments

Successful Companies Go Blind

https://ianreppel.org/how-successful-companies-go-blind/
10•speckx•42m ago•0 comments

Good Tools Are Invisible

https://www.gingerbill.org/article/2026/07/10/good-tools-are-invisible/
95•theanonymousone•3h ago•65 comments

Scarf has moved away from Haskell

https://avi.press/posts/2026-07-10-after-7-years-in-production-scarf-has-reluctantly-moved-away-f...
15•aviaviavi•43m ago•6 comments

GPT-5.6

https://openai.com/index/gpt-5-6/
1408•logickkk1•21h ago•986 comments

In Emacs, Everything Looks Like a Service

http://yummymelon.com/devnull/in-emacs-everything-looks-like-a-service.html
94•kickingvegas•5h ago•52 comments

The mathematical secrets of Barcelona's Sagrada Familia

https://mappingignorance.org/2026/06/30/sagrada-familia/
43•Gedxx•1w ago•8 comments

Laylo (YC S20) Is Hiring a Head of Finance

https://www.ycombinator.com/companies/laylo/jobs/qce41D2-head-of-finance
1•amellin794•2h ago

Show HN: Getting GLM 5.2 running on my slow computer

https://github.com/JustVugg/colibri
769•vforno•1d ago•191 comments

EU Commission: addictive design Instagram and Facebook in breach of the DSA

https://ec.europa.eu/commission/presscorner/home/en
113•jeroenhd•3h ago•83 comments

Train sim created by just one person is being called the best ever made

https://kotaku.com/a-train-sim-created-by-just-one-person-is-being-called-the-best-ever-made-2000...
721•oumua_don17•5d ago•270 comments

Show HN: Runloom – Go-style coroutines for Python free-threaded

https://github.com/robertsdotpm/runloom
5•Uptrenda•1h ago•0 comments

How do you use Vim in the era of AI?

19•rstagi•1h ago•27 comments

Apple Silicon Exec Explains Mac Mini AI Demand and On-Device Future

https://www.macrumors.com/2026/07/06/apple-silicon-exec-explains-mac-mini-ai-demand/
132•tosh•3d ago•179 comments

Ditching Vagrant: VMs with KVM and Virsh on Debian

https://benjamintoll.com/2026/06/29/on-ditching-vagrant/
47•fanf2•3d ago•17 comments

AI-generated videos to maximally drive a target brain region

https://nevo-project.epfl.ch/
149•smusamashah•6h ago•153 comments

ActivityPub over ATProto

https://berjon.com/ap-at/
8•albuic•34m ago•2 comments

Ancient Coins: What About Spartan Coins?

https://coinweek.com/ancient-spartan-coins/
5•thunderbong•5d ago•0 comments

Interview with Mitchell Hashimoto about Ghostty and Zig

https://alexalejandre.com/programming/interview-with-mitchell-hashimoto/
302•veqq•20h ago•153 comments

Proton AG Services is currently experiencing some issues

https://status.proton.me/incidents/01lxtcq155lc
11•exploraz•37m ago•6 comments

Hy3

https://hy.tencent.com/research/hy3
521•andai•22h ago•106 comments

EU Parliament greenlights Chat Control 1.0

https://www.patrick-breyer.de/en/eu-parliament-greenlights-chat-control-1-0-breyer-our-children-l...
1509•rapnie•1d ago•749 comments

Ryanair Passenger Sucked Toward Broken Window After Midair Engine Failure

https://simpleflying.com/ryanair-thessaloniki-diversion-window-damage/
25•amelius•1h ago•19 comments

The glass backbone: Why the Army's logistics will break in the next war

https://mwi.westpoint.edu/the-glass-backbone-why-the-armys-logistics-will-break-in-the-next-war/
416•baud147258•1d ago•552 comments

A road to Lisp: Why Lisp

https://scotto.me/blog/2026-07-09-why-lisp/
267•silcoon•1d ago•239 comments

No leap second will be introduced at the end of December 2026

https://datacenter.iers.org/data/latestVersion/bulletinC.txt
301•ChrisArchitect•23h ago•231 comments

Building a real-time AI tutor for 5-year-olds

https://www.ello.com/blog/teaching-a-child-in-1000-ms
113•catalinvoss•17h ago•225 comments

Common prefix skipping, adaptive sort

http://smalldatum.blogspot.com/2026/01/common-prefix-skipping-adaptive-sort.html
38•theanonymousone•3d ago•4 comments