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

Comments

bschwindHN•7mo 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•7mo 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•7mo 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?

The struggle of resizing windows on macOS Tahoe

https://noheger.at/blog/2026/01/11/the-struggle-of-resizing-windows-on-macos-tahoe/
1799•happosai•14h ago•742 comments

Lightpanda migrate DOM implementation to Zig

https://lightpanda.io/blog/posts/migrating-our-dom-to-zig
22•gearnode•1h ago•3 comments

JRR Tolkien reads from The Hobbit for 30 Minutes (1952)

https://www.openculture.com/2026/01/j-r-r-tolkien-reads-from-the-hobbit-for-30-minutes-1952.html
106•bookofjoe•4d ago•23 comments

CLI agents make self-hosting on a home server easier and fun

https://fulghum.io/self-hosting
559•websku•13h ago•369 comments

39c3: In-house electronics manufacturing from scratch: How hard can it be? [video]

https://media.ccc.de/v/39c3-in-house-electronics-manufacturing-from-scratch-how-hard-can-it-be
116•fried-gluttony•2d ago•46 comments

This game is a single 13 KiB file that runs on Windows, Linux and in the Browser

https://iczelia.net/posts/snake-polyglot/
212•snoofydude•12h ago•56 comments

iCloud Photos Downloader

https://github.com/icloud-photos-downloader/icloud_photos_downloader
463•reconnecting•15h ago•196 comments

Conbini Wars – map of Japanese convenience store ratios

https://conbini.kikkia.dev/
45•zdw•5d ago•19 comments

Ai, Japanese chimpanzee who counted and painted dies at 49

https://www.bbc.com/news/articles/cj9r3zl2ywyo
5•reconnecting•1h ago•0 comments

XMPP and Metadata

https://blog.mathieui.net/xmpp-and-metadata.html
15•todsacerdoti•5d ago•0 comments

I'm making a game engine based on dynamic signed distance fields (SDFs) [video]

https://www.youtube.com/watch?v=il-TXbn5iMA
323•imagiro•4d ago•45 comments

The next two years of software engineering

https://addyosmani.com/blog/next-two-years/
149•napolux•13h ago•122 comments

Uncrossy

https://uncrossy.com/
81•dgacmu•9h ago•23 comments

Sampling at negative temperature

https://cavendishlabs.org/blog/negative-temperature/
170•ag8•14h ago•50 comments

FUSE is All You Need – Giving agents access to anything via filesystems

https://jakobemmerling.de/posts/fuse-is-all-you-need/
143•jakobem•13h ago•51 comments

Perfectly Replicating Coca Cola [video]

https://www.youtube.com/watch?v=TDkH3EbWTYc
226•HansVanEijsden•3d ago•149 comments

Himalayas bare and rocky after reduced winter snowfall, scientists warn

https://www.bbc.com/news/articles/clyndv7zd20o
115•koolhead17•8h ago•84 comments

Insights into Claude Opus 4.5 from Pokémon

https://www.lesswrong.com/posts/u6Lacc7wx4yYkBQ3r/insights-into-claude-opus-4-5-from-pokemon
85•surprisetalk•5d ago•17 comments

Garbage collection is contrarian

https://trynova.dev/blog/garbage-collection-is-contrarian
49•aapoalas•2d ago•5 comments

Ask HN: What are you working on? (January 2026)

197•david927•18h ago•635 comments

Xfce is great

https://rubenerd.com/xfce-is-great/
216•mikece•6h ago•146 comments

Gadget Exposed a Spy Camera [video]

https://www.youtube.com/watch?v=1reman2waLs
52•rib3ye•10h ago•25 comments

Elo – A data expression language which compiles to JavaScript, Ruby, and SQL

https://elo-lang.org/
87•ravenical•4d ago•24 comments

Don't fall into the anti-AI hype

https://antirez.com/news/158
1026•todsacerdoti•1d ago•1206 comments

A set of Idiomatic prod-grade katas for experienced devs transitioning to Go

https://github.com/MedUnes/go-kata
130•medunes•4d ago•21 comments

Erich von Däniken has died

https://daniken.com/en/startseite-english/
91•Kaibeezy•15h ago•156 comments

Poison Fountain

https://rnsaffn.com/poison3/
202•atomic128•17h ago•122 comments

Show HN: An LLM-optimized programming language

https://github.com/ImJasonH/ImJasonH/blob/main/articles/llm-programming-language.md
35•ImJasonH•7h ago•21 comments

Show HN: Engineering Schizophrenia: Trusting yourself through Byzantine faults

84•rescrv•13h ago•13 comments

Show HN: Shellock, a real-time CLI flag explainer for fish shell

https://github.com/ibehnam/shellock
9•behnamoh•5d ago•4 comments