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?

Flipdiscs

https://flipdisc.io
115•skogstokig•3d ago•22 comments

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
658•ca98am79•10h ago•361 comments

TurboQuant: A first-principles walkthrough

https://arkaung.github.io/interactive-turboquant/
94•kweezar•4h ago•12 comments

Self-updating screenshots

https://interblah.net/self-updating-screenshots
220•bjhess•23h ago•31 comments

Three constraints before I build anything

https://jordanlord.co.uk/blog/3-constraints/
157•nervous_north•1d ago•25 comments

Fast16: High-precision software sabotage 5 years before Stuxnet

https://www.sentinelone.com/labs/fast16-mystery-shadowbrokers-reference-reveals-high-precision-so...
213•dd23•10h ago•48 comments

EvanFlow – A TDD driven feedback loop for Claude Code

https://github.com/evanklem/evanflow
51•evanklem2004•4h ago•20 comments

When the cheap one is the cool one

https://arun.is/blog/cheap-cool/
83•ddrmaxgt37•1d ago•30 comments

The Prompt API

https://developer.chrome.com/docs/ai/prompt-api
75•gslin•4h ago•53 comments

AI should elevate your thinking, not replace it

https://www.koshyjohn.com/blog/ai-should-elevate-your-thinking-not-replace-it/
408•koshyjohn•10h ago•304 comments

Box to save memory in Rust

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

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

https://www.bbc.com/sport/athletics/articles/crm1m7e0zwzo
347•berkeleyjunk•9h ago•233 comments

FreeBSD Device Drivers Book

https://github.com/ebrandi/FDD-book
66•myth_drannon•7h ago•9 comments

SWE-bench Verified no longer measures frontier coding capabilities

https://openai.com/index/why-we-no-longer-evaluate-swe-bench-verified/
287•kmdupree•16h ago•160 comments

A Guide to CubeSat Mission and Bus Design

https://pressbooks-dev.oer.hawaii.edu/epet302/
8•o4c•1d ago•0 comments

Revocation of X.509 Certificates

https://blog.apnic.net/2026/04/24/revocation-of-x-509-certificates/
21•jandeboevrie•1d ago•3 comments

Mystery Cpuid Bit

http://www.os2museum.com/wp/mystery-cpuid-bit/
3•userbinator•2d ago•0 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...
189•1659447091•9h ago•57 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
61•MrBuddyCasino•3d ago•10 comments

Quirks of Human Anatomy

https://www.sdbonline.org/sites/fly/lewheldquirk/figlegq6.htm
122•gurjeet•2d ago•67 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
120•pwim•3d ago•44 comments

Chernobyl wildlife forty years on

https://www.bbc.com/future/article/20260424-chernobyl-wildlife-forty-years-on
81•reconnecting•11h ago•10 comments

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

https://twitter.com/lifeof_jer/status/2048103471019434248
610•jeremyccrane•14h ago•766 comments

Clay PCB Tutorial

https://feministhackerspaces.cargo.site/Clay-PCB-Tutorial
216•j0r0b0•14h ago•127 comments

MoQ Boy

https://moq.dev/blog/moq-boy/
53•mmcclure•10h ago•5 comments

The Visible Zorker: Zork 1

https://eblong.com/infocom/visi/zork1/
124•PLenz•14h ago•23 comments

Lessons from building multiplayer browsers

https://www.alejandro.pe/writing/sail-muddy-lessons
24•alejandrohacks•15h ago•10 comments

Show HN: Free textbook on engineering thermodynamics

https://thermodynamicsbook.com/
129•2DcAf•15h ago•30 comments

XOXO Festival Archive

https://xoxofest.com/
51•surprisetalk•3d ago•10 comments

The fastest Linux timestamps

https://www.hmpcabral.com/2026/04/26/the-fastest-linux-timestamps/
47•hmpc•17h ago•12 comments