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?

Show HN: Getting GLM 5.2 running on my slow computer

https://github.com/JustVugg/colibri
383•vforno•17h ago•101 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...
996•rapnie•14h ago•479 comments

GPT-5.6

https://openai.com/index/gpt-5-6/
1069•logickkk1•8h ago•780 comments

Show HN: 18 Words

https://18words.com/
825•pompomsheep•13h ago•284 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...
289•oumua_don17•4d ago•113 comments

Star Just Ate a Planet, and It's Not Done Yet

https://www.nytimes.com/2026/07/09/science/space/planetary-engulfment-hungry-star.html
6•wglb•35m ago•3 comments

Interview with Mitchell Hashimoto about Ghostty and Zig

https://alexalejandre.com/programming/interview-with-mitchell-hashimoto/
120•veqq•8h ago•47 comments

Hy3

https://hy.tencent.com/research/hy3
388•andai•10h ago•83 comments

My Story of 3D Realms / Apogee Part I (2020)

https://joesiegler.blog/2020/11/my-story-of-apogee-3dr/
29•Michelangelo11•1w ago•0 comments

Postgres rewritten in Rust, now passing 100% of the Postgres regression tests

https://github.com/malisper/pgrust
381•SweetSoftPillow•19h ago•395 comments

Triple Dragon Fractal (2020)

https://paulbourke.net/fractals/tripledragon/
12•nhatcher•3d ago•3 comments

Focus

https://boz.com/articles/focus
9•iacguy•1h ago•0 comments

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

https://datacenter.iers.org/data/latestVersion/bulletinC.txt
239•ChrisArchitect•11h ago•181 comments

Build your own vulnerability harness

https://blog.cloudflare.com/build-your-own-vulnerability-harness/
5•ianrahman•26m ago•0 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/
294•baud147258•12h ago•383 comments

A road to Lisp: Why Lisp

https://scotto.me/blog/2026-07-09-why-lisp/
114•silcoon•12h ago•109 comments

Girls just wanna have fast MPMC queues with bounded waiting

https://nahla.dev/blog/waitfree_queue/
137•EvgeniyZh•3d ago•31 comments

Launch HN: Context.dev (YC S26) – API to get structured data from any website

https://www.context.dev
72•TheYahiaBakour•10h ago•54 comments

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

https://www.ello.com/blog/teaching-a-child-in-1000-ms
38•catalinvoss•5h ago•53 comments

A possible future for Damn Interesting

https://www.damninteresting.com/a-possible-future/
233•mzur•10h ago•29 comments

Cache-Conscious Data Layout in Rust: Field Zoning, False Sharing, 128-Byte Rule

https://debasishg.github.io/blog/part1-cache-conscious-data-layout-in-rust/
5•eigenBasis•2d ago•0 comments

Why American ambulance rides are so expensive

https://davidoks.blog/p/why-american-ambulance-rides-are
92•jyunwai•3h ago•124 comments

Muse Spark 1.1

https://ai.meta.com/blog/introducing-muse-spark-meta-model-api/
325•ot•11h ago•171 comments

Wildcard (YC W25) Is Hiring a Founding Engineer

https://www.ycombinator.com/companies/wildcard/jobs/ZSLVaaU-founding-engineer
1•kaushikmahorker•8h ago

Patterncollider: Generate and explore quasiperiodic tiling patterns

https://github.com/aatishb/patterncollider
21•tobr•3d ago•1 comments

Buried Apple feature turns an iPhone into the perfect kids' dumb phone

https://www.wired.com/story/this-buried-apple-feature-turns-an-iphone-into-the-perfect-kids-dumb-...
270•PotatoNinja•3d ago•165 comments

GLM 5.2 is nearly as accurate as a human book keeper

https://toot-books.pages.dev/blog/glm-5-2-vat-benchmark
186•adamkurkiewicz•7h ago•111 comments

TLS certificates for internal services done right

https://tuxnet.dev/posts/tls-for-internal-services/
132•mrl5•10h ago•94 comments

SimPolitics: America’s quest to solve politics with computers

https://mitpress.mit.edu/9780262053198/simpolitics/
81•mckelveyf•11h ago•13 comments

Opinionated and easy Pi.dev configuration

https://lazypi.org/
109•lwhsiao•10h ago•61 comments