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?

Binance-hacker-1029 – $5.6B stolen from Binance

https://arkm.com/explorer/entity/21a94755-f604-45e5-9501-6542e23005e8
1237•Tiberium•10h ago•761 comments

We're releasing the weights of Mistral Large 4

https://mistral.ai/news/mistral-large-4-oss/
1410•kuberwastaken•18h ago•381 comments

Cuis: The Modern Smalltalk-80

https://cuis.st/
93•theanonymousone•3d ago•14 comments

I'm so bad at billiards that I ended up in the hyperbolic plane [video]

https://www.youtube.com/watch?v=kL9BTbIGxLg
108•surprisetalk•1d ago•9 comments

Astroterm: A Planetarium for Your Terminal

https://github.com/da-luce/astroterm
111•nvmdbljstm•1d ago•9 comments

Herdr has released native app

https://github.com/herdrdev/herdr-app
164•cherioo•7h ago•99 comments

We ran AI agent swarms in Minecraft and Mindustry

https://labs.ycombinator.com/projects/games/index.html
265•sandslash•10h ago•91 comments

A tiny world model running games on a Raspberry Pi Pico 2 W

https://github.com/SheepSeb/tinyworldformer
195•airinei•11h ago•13 comments

Wasmer (YC S19) Is Hiring OS/Hypervisor Experts in Europe

https://www.workatastartup.com/jobs/98722
1•syrusakbary•1h ago

H.264 Is Magic (2016)

https://sidbala.com/h-264-is-magic/
407•ea016•16h ago•148 comments

Show HN: I Turned DOOM into a Transformer

https://github.com/mottopanikeiku/doomformer
82•falperc•9h ago•24 comments

LLM Voice

https://martinfowler.com/bliki/LLM-Voice.html
455•ibobev•17h ago•244 comments

Python on My Wrist

https://tildeweb.nl/~michiel/python-on-my-wrist.html
38•roywashere•3d ago•4 comments

A Pig, the State, and War: Porco Rosso (Kurenai No Buta) (2014)

https://journal.animationstudies.org/article/id/66/
111•simonebrunozzi•10h ago•26 comments

Gilgamesh by Simon Armitage review – an ancient epic is brilliantly translated

https://www.theguardian.com/books/2026/oct/20/gilgamesh-by-simon-armitage-review-an-ancient-epic-...
6•benbreen•2d ago•0 comments

Pico CSS is no longer maintained

https://github.com/picocss/pico/discussions/754
115•henrid•6h ago•44 comments

Launch HN: Simantic (YC F26) – Firmware Simulation for AI Agents

66•shong0504•16h ago•20 comments

Patrick Stewart has died

https://www.nytimes.com/2026/10/29/arts/television/patrick-stewart-dead.html
2876•j4mie•12h ago•611 comments

The Great American Rascal: Tom Sawyer at 150

https://claremontreviewofbooks.com/the-great-american-rascal/
67•beatstop•10h ago•34 comments

If IPv4 were land

https://iptrust.co/blog/if-ipv4-were-land
279•rokostik•20h ago•386 comments

Show HN: Auto Dismiss Mac OS "Allow <app> to find devices on local networks?"

https://github.com/johncassil/dontallow
131•johncassil•13h ago•97 comments

An illustrated online book on Hewlett-Packard equipment

https://blog.adafruit.com/2026/10/27/an-illustrated-online-book-on-hewlett-packard-equipment/
13•sohkamyung•2d ago•3 comments

Solving Postgres' Count Problem

https://www.paradedb.com/blog/opening-a-closed-tin-part-2
28•philippemnoel•2d ago•3 comments

What we know so far about Spain train crash

https://www.bbc.com/news/articles/cm8xz7pkd0jjo
186•ZeljkoS•23h ago•357 comments

Sylphide OS: a general-purpose OS for microcontroller-based computers

https://projects.freehackers.org/sylphide-os/
64•iamnothere•11h ago•16 comments

Historical Scientific Instruments

https://nealstephenson.substack.com/p/historical-scientific-instruments
37•peteforde•2d ago•2 comments

Should a medical diagnosis reshape the past? (2025)

https://chengela.substack.com/p/should-a-medical-diagnosis-reshape
35•wyndham•10h ago•4 comments

ElementaryUI – Swift, in the Browser

https://elementary.codes
96•frizlab•11h ago•22 comments

Iterating Backwards in C

https://www.davidpriver.com/Iterating-backwards-in-C.html
99•cremno•3d ago•58 comments

16colo.rs – ANSI/ASCII art archive

https://16colo.rs/
112•memalign•16h ago•8 comments