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

On The <dl>

https://benmyers.dev/blog/on-the-dl/
102•ravenical•2h ago•34 comments

80386 Microcode Disassembled

https://www.reenigne.org/blog/80386-microcode-disassembled/
109•nand2mario•3h ago•19 comments

Oura says it gets government demands for user data. Will it share how many?

https://this.weekinsecurity.com/oura-says-it-gets-government-demands-for-user-data-will-it-share-...
35•donohoe•1h ago•10 comments

Making Deep Learning Go Brrrr from First Principles

https://horace.io/brrr_intro.html
61•tosh•3h ago•26 comments

I Miss Terry Pratchett

https://www.mahl.me/blog/the-spell-that-wouldnt-leave/
188•gorgmah•2h ago•143 comments

z386: An Open-Source 80386 Built Around Original Microcode

https://nand2mario.github.io/posts/2026/z386/
10•wicket•1h ago•1 comments

Solving the "Zork" Mystery

https://www.dpolakovic.space/blogs/zork-part2
20•dpola•3d ago•10 comments

Lisp in Vim (2019)

https://susam.net/lisp-in-vim.html
4•whent•30m ago•1 comments

Rubish: A Unix shell written in pure Ruby

https://github.com/amatsuda/rubish
111•winebarrel•8h ago•64 comments

Highest Random Weight in Elixir

https://jola.dev/posts/highest-random-weight-in-elixir
13•shintoist•2d ago•0 comments

Shipping a laptop to a refugee camp in Uganda

https://notesbylex.com/shipping-a-laptop-to-a-refugee-camp-in-uganda
583•lexandstuff•17h ago•206 comments

Improving C# Memory Safety

https://devblogs.microsoft.com/dotnet/improving-csharp-memory-safety/
85•soheilpro•1d ago•9 comments

Why Japanese companies do so many different things

https://davidoks.blog/p/why-japanese-companies-do-so-many
774•d0ks•1d ago•364 comments

BambuStudio has been violating PrusaSlicer AGPL license since their fork

https://xcancel.com/josefprusa/status/2054602354851254330
272•Tomte•7h ago•104 comments

The quadratic sandwich

https://fedemagnani.github.io/math/2026/04/08/the-quadratic-sandwich.html
97•cpp_frog•3d ago•7 comments

The FBI Wants 'Near Real-Time' Access to US License Plate Readers

https://www.wired.com/story/security-news-this-week-fbi-license-plate-reader-real-time-access/
21•Brajeshwar•1h ago•2 comments

US tech firms share Dutch regulator officials' names with Senate

https://www.dutchnews.nl/2026/05/us-tech-firms-share-dutch-regulator-officials-names-with-senate/
145•zqna•4h ago•103 comments

A 1955 Los Alamos computer experiment changed our understanding of chaos

https://www.lanl.gov/media/publications/1663/science-of-unpredictability
22•LAsteNERD•3d ago•3 comments

Microsoft starts canceling Claude Code licenses

https://www.theverge.com/tech/930447/microsoft-claude-code-discontinued-notepad
378•robertkarl•21h ago•355 comments

The Art of Money Getting

https://kk.org/cooltools/book-freak-210-the-art-of-money-getting/
7•dxs•2h ago•0 comments

ArcBrush – Node-based 2D image editor

https://arcbrush.com/
49•NatKarmios•2d ago•15 comments

Project Glasswing: An Initial Update

https://www.anthropic.com/research/glasswing-initial-update
476•louiereederson•19h ago•285 comments

Fast Factorial Algorithms

http://www.luschny.de/math/factorial/FastFactorialFunctions.htm
27•nill0•3d ago•7 comments

Yeunjoo Choi from Igalia on Chromium

https://theconsensus.dev/p/2026/05/20/yeunjoo-choi-from-igalia-on-chromium.html
46•eatonphil•3d ago•10 comments

- -dangerously-skip-reading-code – olano.dev

https://olano.dev/blog/dangerously-skip/
18•fagnerbrack•5h ago•11 comments

Electrobun 2.0 will be decoupled from Bun due to the rust rewrite

https://twitter.com/i/status/2058064720553222567
56•bundie•3h ago•45 comments

CISA tries to contain data leak

https://krebsonsecurity.com/2026/05/lawmakers-demand-answers-as-cisa-tries-to-contain-data-leak/
233•speckx•22h ago•54 comments

Blood Pumping Mechanism of the Hoof (2020)

https://horses.extension.org/blood-pumping-mechanism-of-the-hoof/
104•thunderbong•3d ago•38 comments

Sleep research led to a new sleep apnea drug

https://temertymedicine.utoronto.ca/news/how-decades-sleep-research-led-new-sleep-apnea-drug
200•colinprince•17h ago•118 comments

Deno 2.8

https://deno.com/blog/v2.8
391•roflcopter69•1d ago•161 comments