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?

Old Bitly Links Are Being Hijacked

https://ransomnews.com/burger-king-tweet-bitly-link-hijack-2026/
76•hspeiser•1h ago•38 comments

Preserving 30 Years of Salon Journalism

https://blog.archive.org/2026/11/12/preserving-30-years-of-salon-journalism/
17•CharlesW•37m ago•3 comments

Protomaps: Self-hosting map tiles has gotten cheap and easy

https://bruceroettgers.eu/blog/protomaps/
103•bcye•4h ago•27 comments

A short explainer on how El Niño works [video]

https://www.youtube.com/watch?v=7_JF3etiAv8
144•nharada•5h ago•46 comments

Chemical spills into drainage ditch at SpaceXAI in Southaven

https://wreg.com/news/chemical-spills-into-drainage-ditch-at-spacexai-in-southaven/
8•mikhael•25m ago•1 comments

'Birdbrain' Is a Misnomer. Crows Make Decisions Faster Than We Can

https://www.nytimes.com/2026/11/15/science/birdbrain-crows-birds-research-decision.html
134•gumby•5h ago•99 comments

The MacBook Pro's OLED PWM problem

https://macanorak.com/the-macbook-pros-oled-pwm-problem-when-a-better-display-becomes-worse-to-use/
393•MacAnorak•10h ago•214 comments

Your Agent Will Pick the Hackable One

https://geoffstearns.com/blog/your-agent-will-pick-the-hackable-one/
64•tensafefrogs•2h ago•38 comments

WebGL Flight Simulator with seed generated terrain

https://baron.by.dai.studio/
52•ranger_danger•3h ago•8 comments

Handwriting, as a Font

https://ductus.sorenblank.com
76•coinfused•3h ago•17 comments

Show HN: The Last Complication, a Zachtronics-style watchmaking puzzle game

https://lastcomplication.com/
5•tdeangelis•49m ago•1 comments

Claude Code and Codex reverse engineered my 1994 Jeep's ECU over a $3 Arduino [video]

https://www.youtube.com/watch?v=WPj3aQ-xxpI
299•envoked•3d ago•154 comments

Eclipse Mosquitto – An open source MQTT broker

https://github.com/eclipse-mosquitto/mosquitto
55•gregsadetsky•5h ago•19 comments

Microsoft 365 outage leads to chlorine gas poisoning of 15 hotel guests

https://www1.wdr.de/nrw/rheinland/rhein-erft-kreis/technischer-defekt-chlor-phantasialand-100.html
317•DeepLogin•5h ago•158 comments

The Hofmann Wobble: Wikipedia and the problem of historical memory

https://harpers.org/archive/2023/12/the-hofmann-wobble-wikipedia-and-the-problem-of-historical-me...
7•lxm•1h ago•2 comments

Things That Turbo Pascal Is Smaller Than (2011)

https://prog21.dadgum.com/116.html
186•ksec•9h ago•89 comments

Clice v1.0 Released: Welcome to Modern C++

https://ykiko.me/en/articles/2105384023094834022/
78•molenzwiebel•6h ago•46 comments

Aspidistra: A British wartime radio transmitter used for MitM attacks

https://en.wikipedia.org/wiki/Aspidistra_(transmitter)
16•BoxOfRain•3d ago•3 comments

Understanding Positional Embeddings in Modern LLMs

https://magazine.sebastianraschka.com/p/understanding-positional-embeddings
190•vismit2000•11h ago•26 comments

Emacs Is My Browser

https://joshblais.com/blog/emacs-as-my-browser/
164•nyc111•8h ago•85 comments

Vulcan rocket fails during return-to-flight launch, 40 Amazon satellites lost

https://www.space.com/space-exploration/launches-spacecraft/ula-vulcan-centaur-return-to-flight-a...
84•jonbaer•3h ago•37 comments

Keylogger Detection and Containment [pdf]

https://www.cs.vu.nl/~ast/Theses/ortolani-thesis.pdf
10•movsx•1d ago•1 comments

Ask HN: Stripe closed us after one $1,500 invoice and never asked for evidence

84•snirgbs•3h ago•25 comments

Notes on Mathematics for Engineers (1959) [pdf]

https://websites.umich.edu/~ners311/CourseLibrary/MathNotes.pdf
64•the-mitr•4d ago•18 comments

Boeing-Lockheed rocket fails mid-flight, destroys payload of Amazon satellites

https://www.reuters.com/business/aerospace-defense/us-rocket-fails-after-launch-payload-amazon-in...
41•rexbee•1h ago•18 comments

Eval Awareness vs. Eval Paranoia

https://www.lesswrong.com/posts/mepsi7JNKYejq9wry/eval-awareness-vs-eval-paranoia
45•ezrasu•3d ago•18 comments

Jensen Huang might return to Nvidia as CEO

https://www.reuters.com/world/china/jensen-huang-discusses-comeback-nvidia-ceo-with-allies-ft-rep...
12•YakubYilmaz•13m ago•0 comments

Why did some Apollo missions carry a grenade launcher? (2019)

https://space.stackexchange.com/questions/37775
219•Skyfall106•14h ago•143 comments

All AI-generated code should be Open Source

https://jakub.jankiewicz.org/blog/ai-code-open-source/
1037•jcubic•8h ago•570 comments

A NES emulator written in Odin

https://lucypero.com/lucynes.html
103•frostbyte7•10h ago•38 comments