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?

CSSQuake

https://cssquake.com/
205•msalsas•4h ago•43 comments

I restarted a 10 year old Xeon 174 times to delete 12 flags and gain 4 tps

https://point.free/blog/delete-12-flags/
28•zdw•23h ago•3 comments

Bootimus – A Self-Contained PXE and HTTP Boot Server

https://bootimus.com
45•car•4h ago•12 comments

From PGP to Mythos: a brief history of export controls that didn't stop anyone

https://techcrunch.com/2026/06/19/encryption-spyware-and-now-mythos-history-shows-why-cyber-expor...
38•Brajeshwar•1h ago•11 comments

I Stored a Website in a Favicon

https://www.timwehrle.de/blog/i-stored-a-website-in-a-favicon/
230•theanonymousone•9h ago•80 comments

Where to Find the Colors Your Screen Can't Show You

https://moultano.wordpress.com/2026/06/19/where-to-find-the-colors-your-screen-cant-show-you/
286•moultano•11h ago•62 comments

The Cold War's Accidental Whale Observatory

https://thereader.mitpress.mit.edu/the-cold-wars-accidental-whale-observatory/
38•pseudolus•3d ago•13 comments

Lithuanian startup launches open-source network to detect Shahed-type drones

https://www.lrt.lt/en/news-in-english/19/2965205/lithuanian-startup-launches-open-source-network-...
57•giuliomagnifico•3h ago•36 comments

Can you see three trees?

https://www.not-ship.com/can-you-see-three-trees/
221•Pamar•2d ago•105 comments

Data Compression Explained (2012)

https://mattmahoney.net/dc/dce.html
165•mtdewcmu•3d ago•25 comments

Temporary Cloudflare Accounts for AI Agents

https://blog.cloudflare.com/temporary-accounts/
15•farhadhf•3h ago•7 comments

There are no instances in ATProto

https://overreacted.io/there-are-no-instances-in-atproto/
482•danabramov•23h ago•259 comments

Computed goto for efficient dispatch tables (2012)

https://eli.thegreenplace.net/2012/07/12/computed-goto-for-efficient-dispatch-tables
13•firephox•3d ago•4 comments

The Doctor Who Treats Patients with a Gaming Mouse

https://textexpander.com/blog/doctor-gaming-mouse
6•jcenters•4d ago•1 comments

Human Judgment as a Specification

https://blog.brownplt.org/2026/06/09/pick.html
21•surprisetalk•3d ago•3 comments

GPT-5.5 hallucinates 3x more than MIT-licensed GLM-5.2

https://arrowtsx.dev/bigger-models/
340•oshrimpton•22h ago•155 comments

Pong in S Favicon

https://pong-in-a-favicon.franzai.com/
8•theanonymousone•2h ago•0 comments

The discovery that changed how scientists think about memory

https://www.ibm.com/think/news/discovery-changed-how-scientists-think-about-memory-kavli-prize
90•rbanffy•3d ago•32 comments

LLMs Are Complicated Now

https://ianbarber.blog/2026/06/19/llms-are-complicated-now/
89•matt_d•13h ago•29 comments

A 1969 camera operators' strike created Upstairs Downstairs multiverse

https://ironicsans.ghost.io/the-color-strike/
57•ohjeez•3d ago•16 comments

Surprising economics of load-balanced systems

https://brooker.co.za/blog/2020/08/06/erlang.html
133•KraftyOne•18h ago•31 comments

How many of the 170k English words do you know?

https://vocabowl-870366514258.us-west1.run.app/
433•abnry•1d ago•524 comments

New (Old) 3D Golf: Porting PC-9801 and Virtual Boy to Mega Drive

https://blog.gingerbeardman.com/2026/06/19/new-old-3d-golf-porting-pc-9801-and-virtual-boy-to-meg...
5•msephton•2h ago•0 comments

Soccer Arcade Games Through the Years

https://arcadeheroes.com/2026/06/13/world-cup-2026-soccer-arcade/
36•speckx•4d ago•18 comments

Hyundai buys Boston Dynamics

https://startupfortune.com/hyundai-takes-full-control-of-boston-dynamics-as-softbank-exits-for-32...
890•ck2•22h ago•375 comments

Project Valhalla, Explained: How a Decade of Work Arrives in JDK 28

https://www.jvm-weekly.com/p/project-valhalla-explained-how-a
622•philonoist•1d ago•388 comments

Norway imposes near ban on AI in elementary school

https://www.reuters.com/technology/norway-imposes-near-ban-ai-elementary-school-2026-06-19/
749•ilreb•22h ago•516 comments

A Perceptron in Age of Empires II

https://adewynter.github.io/notes/aoe2-circuits
105•EvgeniyZh•2d ago•38 comments

Bobby Prince, composer for Doom, Wolfenstein 3D, and Duke Nukem 3D, has died

https://www.legacy.com/legacy/robert-bobby-prince-lll
428•pgrote•19h ago•49 comments

"Career coaches" are fear-farming the Stanford AI hiring study [debunk]

https://placementist.com/insights/fear-farming-the-stanford-ai-hiring-study-debunk
7•nikkotyze•6h ago•0 comments