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?

Animated AI

https://animatedai.github.io/
157•frozenseven•4d ago•14 comments

A faster heart for F-Droid

https://f-droid.org/2025/12/30/a-faster-heart-for-f-droid.html
383•kasabali•14h ago•159 comments

FediMeteo: A €4 FreeBSD VPS Became a Global Weather Service

https://it-notes.dragas.net/2025/02/26/fedimeteo-how-a-tiny-freebsd-vps-became-a-global-weather-s...
290•birdculture•13h ago•66 comments

Readings in Database Systems (5th Edition)

http://www.redbook.io/
87•teleforce•6h ago•8 comments

Show HN: 22 GB of Hacker News in SQLite

https://hackerbook.dosaygo.com
496•keepamovin•15h ago•162 comments

Odin: Moving Towards a New "core:OS"

https://odin-lang.org/news/moving-towards-a-new-core-os/
43•ksec•5d ago•10 comments

A Vulnerability in Libsodium

https://00f.net/2025/12/30/libsodium-vulnerability/
269•raggi•15h ago•34 comments

Honey's Dieselgate: Detecting and tricking testers

https://vptdigital.com/blog/honey-detecting-testers/
207•AkshatJ27•10h ago•64 comments

Tixl: Open-source realtime motion graphics

https://github.com/tixl3d/tixl
11•nateb2022•4d ago•0 comments

Google Opal

https://opal.google/landing/
121•gmays•5h ago•68 comments

Loss32: Let's Build a Win32/Linux

https://loss32.org/
277•akka47•1d ago•357 comments

OpenAI's cash burn will be one of the big bubble questions of 2026

https://www.economist.com/leaders/2025/12/30/openais-cash-burn-will-be-one-of-the-big-bubble-ques...
330•1vuio0pswjnm7•11h ago•453 comments

What If Heavy Files Felt Heavy?

https://www.shiveesh.com/thoughts-and-ideas/what-if-heavy-files-actually-felt-heavy
49•shiveeshfotedar•5d ago•28 comments

Electrolysis can solve one of our biggest contamination problems

https://ethz.ch/en/news-and-events/eth-news/news/2025/11/electrolysis-can-solve-one-of-our-bigges...
149•PaulHoule•14h ago•43 comments

Sabotaging Bitcoin

https://blog.dshr.org/2025/12/sabotaging-bitcoin.html
141•zdw•12h ago•96 comments

Zpdf: PDF text extraction in Zig

https://github.com/Lulzx/zpdf
175•lulzx•12h ago•70 comments

Non-Zero-Sum Games

https://nonzerosum.games/
370•8organicbits•21h ago•178 comments

Toro: Deploy Applications as Unikernels

https://github.com/torokernel/torokernel
130•ignoramous•15h ago•114 comments

No strcpy either

https://daniel.haxx.se/blog/2025/12/29/no-strcpy-either/
196•firesteelrain•19h ago•108 comments

Mitsubishi Diatone D-160 (1985)

https://audio-database.com/MITSUBISHI-DIATONE/diatonesp/d-160-e.html
43•anigbrowl•2d ago•17 comments

Escaping containment: A security analysis of FreeBSD jails [video]

https://media.ccc.de/v/39c3-escaping-containment-a-security-analysis-of-freebsd-jails
91•todsacerdoti•13h ago•3 comments

LLVM AI tool policy: human in the loop

https://discourse.llvm.org/t/rfc-llvm-ai-tool-policy-human-in-the-loop/89159
182•pertymcpert•5h ago•82 comments

Times New American: A Tale of Two Fonts

https://hsu.cy/2025/12/times-new-american/
255•firexcy•19h ago•145 comments

The British empire's resilient subsea telegraph network

https://subseacables.blogspot.com/2025/12/the-british-empires-resilient-subsea.html
194•giuliomagnifico•19h ago•47 comments

Five Years of Tinygrad

https://geohot.github.io//blog/jekyll/update/2025/12/29/five-years-of-tinygrad.html
225•iyaja•1d ago•112 comments

L1TF Reloaded

https://github.com/ThijsRay/l1tf_reloaded
25•Fnoord•6h ago•0 comments

Professional software developers don't vibe, they control

https://arxiv.org/abs/2512.14012
164•dpflan•12h ago•191 comments

Git analytics that works across GitHub, GitLab, and Bitbucket

16•akhnid•1d ago•9 comments

Approachable Swift Concurrency

https://fuckingapproachableswiftconcurrency.com/en/
168•wrxd•19h ago•86 comments

UK company sends factory with 1,000C furnace into space

https://www.bbc.co.uk/news/articles/c62vx0pgyrgo
6•vekerdyb•50m ago•0 comments