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?

Why are European countries moving their gold out of North America?

https://www.bbc.com/news/articles/cvgyn8q8gqxo
40•ranit•29m ago•17 comments

Actively exploited sandbox RCE in all Chromium versions

https://nvd.nist.gov/vuln/detail/cve-2026-85046
406•negura•8h ago•228 comments

Discovery of a new OpenAI agent message board

https://collusion.wiki/
1606•moultano•18h ago•1270 comments

Formalizing Fermat's Last Theorem

https://www.anthropic.com/research/formalizing-fermats-last-theorem
570•jlebar•11h ago•353 comments

Statichost.eu – European static site hosting

https://www.statichost.eu/
223•p4bl0•9h ago•69 comments

GPT-6 Astra on OpenRouter

https://openrouter.ai/openai/gpt-6-astra
183•Topfi•8h ago•94 comments

Nitter has more working instances than before the takedowns

https://codeberg.org/mv12star/shitter/wiki/Instances
102•Cider9986•6h ago•30 comments

Can AI design circuit boards yet?

https://eebench.org/blog/can-ai-design-circuit-boards-yet/
223•iopapa•10h ago•138 comments

Git Submodules as a Package Manager

https://nesbitt.io/2026/09/01/git-submodules-as-a-package-manager.html
34•ErenayDev•3d ago•4 comments

Artificial Analysis Intelligence Index v4.2

https://artificialanalysis.ai/articles/artificial-analysis-intelligence-index-v4-2
97•nojs•6h ago•34 comments

Shutting down our public encrypted DNS

https://mullvad.net/en/blog/shutting-down-our-public-encrypted-dns-servers-and-sponsoring-quad9-i...
311•mywacaday•11h ago•138 comments

Portal by Spotify cut my Claude Code token usage by 90%

https://engineering.atspotify.com/2026/9/portal-by-spotify-cut-my-claude-code-token-usage-by-90
85•cebert•6h ago•44 comments

Can guitar frets perform multiplication?

https://www.charlespetzold.com/blog/2026/09/Can-Guitar-Frets-Perform-Multiplication.html
58•wibbily•7h ago•16 comments

Show HN: Open-Source eInk Bike Computer

https://opentrailpaper.com
265•stingrae•13h ago•95 comments

RSA-260 Factorized

https://twitter.com/penlume/status/2095372672356212876
99•samyok•2d ago•43 comments

GPT-6 Astra in code review: Gains, privacy, and cost

https://www.coderabbit.ai/blog/gpt-6-astra-code-review-evaluation
9•cebert•2h ago•2 comments

The Highest Point in the Netherlands

https://ipv6.hanazo.no/posts/anniversary-personal/
14•haasted•2d ago•11 comments

Ask HN: Resources to get good at soldering?

98•tosmatos•2d ago•63 comments

Fermat's Last Theorem in Lean 4

https://github.com/anthropics/fermats-last-theorem
87•aaraujo002•11h ago•17 comments

Praearcturus gigas: giant scorpion from Lower Devonian (Lochkovian) of Britain

https://onlinelibrary.wiley.com/doi/10.1111/pala.70064
14•bryanrasmussen•3d ago•8 comments

IBM Bob

https://bob.ibm.com/
250•artpar•17h ago•280 comments

An open DNS recursive service for free security and high privacy

https://quad9.net/
80•mooreds•10h ago•21 comments

The Rust React Compiler is now native in Vite

https://blog.master.dev/react-now-rusted-all-the-way-out/
132•acusti•12h ago•27 comments

Government Rails Site Hit Hours After CVE Patch

https://rietta.com/blog/ruby-on-rails-cve-exploited-hours-after-patch/
85•rietta•11h ago•25 comments

Decompiler Explorer

https://dogbolt.org
62•tripdout•3d ago•1 comments

Show HN: TERMy – A fast terminal assistant that does not use LLMs

https://github.com/gioblu/NPC-Forge/blob/main/docs/development.md
111•gioscarab•21h ago•30 comments

Record-High 89% in U.S. Say Government Corruption Widespread

https://news.gallup.com/poll/713933/record-high-say-government-corruption-widespread.aspx
336•karakoram•8h ago•254 comments

Icons as a Service

https://nravic.com/blog/images/
36•nravic•8h ago•2 comments

Connecting every app to every other app

https://blog.val.town/connectors
30•Chidiebere229•7h ago•2 comments

deSEC – Free Secure DNS

https://desec.io/
123•gurjeet•14h ago•42 comments