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•11mo ago

Comments

bschwindHN•11mo 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•11mo 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•11mo 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 bought Friendster for $30k – Here's what I'm doing with it

https://ca98am79.medium.com/i-bought-friendster-for-30k-heres-what-i-m-doing-with-it-d5e8ddb3991d
213•ca98am79•3h ago•117 comments

Fast16: High-precision software sabotage 5 years before Stuxnet

https://www.sentinelone.com/labs/fast16-mystery-shadowbrokers-reference-reveals-high-precision-so...
107•dd23•3h ago•33 comments

Sawe becomes first athlete to run a sub-two-hour marathon in a competitive race

https://www.bbc.com/sport/athletics/articles/crm1m7e0zwzo
181•berkeleyjunk•2h ago•121 comments

Butterflies are in decline across North America, a look at the Western Monarch

https://www.smithsonianmag.com/science-nature/butterflies-are-in-dramatic-decline-across-north-am...
82•1659447091•2h ago•23 comments

Two Athletes Break Sub-2-HR Marathon in Adizero Adios Pro Evo 3

https://news.adidas.com/running/two-adidas-athletes-sabastian-sawe-and-yomif-kejelcha-break-the-s...
34•canucker2016•2h ago•23 comments

AI should elevate your thinking, not replace it

https://www.koshyjohn.com/blog/ai-should-elevate-your-thinking-not-replace-it/
219•koshyjohn•3h ago•174 comments

Magic: The Gathering took me from N2 to Japanese fluency

https://www.tokyodev.com/articles/how-magic-the-gathering-took-me-from-n2-to-japanese-fluency
70•pwim•2d ago•19 comments

Show HN: AI memory with biological decay (52% recall)

https://github.com/sachitrafa/YourMemory
42•SachitRafa•2h ago•18 comments

SWE-bench Verified no longer measures frontier coding capabilities

https://openai.com/index/why-we-no-longer-evaluate-swe-bench-verified/
228•kmdupree•9h ago•135 comments

Box to Save Memory in Rust

https://dystroy.org/blog/box-to-save-memory/
20•emschwartz•3d ago•3 comments

Running Bare-Metal Rust Alongside ESP-IDF on the ESP32-S3's Second Core

https://tingouw.com/blog/embedded/esp32/run_rust_on_app_core
17•MrBuddyCasino•2d ago•1 comments

MoQ Boy

https://moq.dev/blog/moq-boy/
27•mmcclure•3h ago•3 comments

XOXO Festival Archive

https://xoxofest.com/
32•surprisetalk•2d ago•3 comments

Clay PCB Tutorial

https://feministhackerspaces.cargo.site/Clay-PCB-Tutorial
185•j0r0b0•7h ago•118 comments

The Visible Zorker: Zork 1

https://eblong.com/infocom/visi/zork1/
89•PLenz•7h ago•14 comments

The Last of the Lost Generation

https://porticoquarterly.com/book/the-last-of-the-lost-generation/
5•benbreen•1d ago•1 comments

The 1944 Warsaw Uprising, in Color

https://www.barwypowstania.pl/
106•keiferski•4h ago•42 comments

An AI agent deleted our production database. The agent's confession is below

https://twitter.com/lifeof_jer/status/2048103471019434248
379•jeremyccrane•7h ago•536 comments

Show HN: Free textbook on engineering thermodynamics

https://thermodynamicsbook.com/
93•2DcAf•8h ago•27 comments

Show HN: Startup Equity Adventure Game

https://options-game-polymathrobotics.pythonanywhere.com/
7•iliabara•1h ago•3 comments

Statecharts: hierarchical state machines

https://statecharts.dev/
268•sph•14h ago•76 comments

GoDaddy gave a domain to a stranger without any documentation

https://anchor.host/godaddy-gave-a-domain-to-a-stranger-without-any-documentation/
507•jamesponddotco•6h ago•198 comments

Show HN: Tiao, A two-player turn-based board game

https://playtiao.com
14•trebeljahr•2h ago•1 comments

Orinoco: Young Generation Garbage Collection

https://v8.dev/blog/orinoco-parallel-scavenger
31•plow-tycoon•3d ago•4 comments

Chernobyl Wildlife Forty Years On

https://www.bbc.com/future/article/20260424-chernobyl-wildlife-forty-years-on
20•reconnecting•4h ago•0 comments

Dear friend, you have built a Kubernetes (2024)

https://www.macchaffee.com/blog/2024/you-have-built-a-kubernetes/
63•Wingy•2d ago•102 comments

Dillo Browser Release 3.3.0

https://dillo-browser.org/release/3.3.0/
143•rodarima•6h ago•23 comments

Asahi Linux Progress Linux 7.0

https://asahilinux.org/2026/04/progress-report-7-0/
584•elisaado•12h ago•272 comments

Show HN: Turning a Gaussian Splat into a videogame

https://blog.playcanvas.com/turning-a-gaussian-splat-into-a-videogame/
200•yak32•3d ago•47 comments

Why has there been so little progress on Alzheimer's disease?

https://freakonomics.com/podcast/why-has-there-been-so-little-progress-on-alzheimers-disease/
403•chiefalchemist•23h ago•279 comments