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?

Kaiser nurses say AI, workplace surveillance are making their jobs, care worse

https://localnewsmatters.org/2026/07/15/kaiser-nurses-say-ai-workplace-surveillance-are-making-th...
383•gnabgib•6h ago•261 comments

AWS: Inaccurate Estimated Billing Data – $1.7 billion

1096•nprateem•18h ago•661 comments

Thanks HN for 15 years of support and helping me find my life's work

441•nicholasjbs•11h ago•48 comments

Reviving a 15-year-old netbook with Arch Linux

https://parksb.github.io/en/article/41.html
12•parksb•3d ago•1 comments

The Zilog Z80 has turned 50

https://goliath32.com/blog/z80.html
186•st_goliath•8h ago•56 comments

First atmosphere found on Earth-like planet in habitable zone of distant star

https://www.bbc.com/news/articles/cy4kdd1e0ejo
401•neversaydie•14h ago•247 comments

Moonstone: Modern, cross-platform Lua runtime and package manager written in Zig

https://moonstone.sh/
23•ksymph•3h ago•5 comments

TP-Link Kasa cameras leaked home GPS via unauthenticated UDP for 6 years

https://github.com/BadChemical/IoT-Vulnerability-Research-Public/blob/main/TP-Link_Kasa_EC71/Kasa...
63•BadChemical•6h ago•15 comments

I Started a "Dirt Notebook"

https://pinewind.bearblog.dev/i-started-a-dirt-notebook/
32•herbertl•3h ago•25 comments

The Isomorphic Labs Drug Design Engine unlocks a new frontier beyond AlphaFold

https://www.isomorphiclabs.com/articles/the-isomorphic-labs-drug-design-engine-unlocks-a-new-fron...
52•andsoitis•5h ago•5 comments

Shipping OpenStrike: A Counter-Strike-Shaped FPS on a 2004 Handheld

https://pocketjs.dev/blog/shipping-openstrike/
12•itvision•6d ago•4 comments

Learning a few things about running SQLite

https://jvns.ca/blog/2026/07/17/learning-about-running-sqlite/
196•surprisetalk•10h ago•50 comments

Vāgdhenu: A Sanskrit Chanting TTS System

https://prathosh.in/vagdhenu/
105•subinalex•4d ago•9 comments

DrDroid (YC W23) Is Hiring

https://www.ycombinator.com/companies/drdroid/jobs/w45QcNV-product-engineer-assignment-mandatory
1•TheBengaluruGuy•3h ago

An Update on Igalia's Layer Based SVG Engine in WebKit (Reducing Layer Overhead)

https://blogs.igalia.com/nzimmermann/posts/2026-07-14-lbse-conditional-layers/
21•bkardell•3d ago•0 comments

Kimi K3, and what we can still learn from the pelican benchmark

https://simonwillison.net/2026/Jul/16/kimi-k3/
295•droidjj•14h ago•156 comments

Stenchill: 3D Printable Solder Paste Stencil Generator

https://www.stenchill.com/en/
21•radeeyate•3h ago•3 comments

Static search trees: 40x faster than binary search (2024)

https://curiouscoding.nl/posts/static-search-tree/
70•lalitmaganti•8h ago•3 comments

Painting the sides of railroad rails white to reduce derailment

https://www.up.com/news/safety/Tracking-Rail-Heat-260608
66•zdw•8h ago•35 comments

Open Book Touch: open-source e-reader

https://www.crowdsupply.com/oddly-specific-objects/open-book-touch
78•surprisetalk•7h ago•22 comments

Lego building instructions through time

https://www.lego.com/en-us/history/articles/d-lego-building-instructions-through-time
86•NaOH•10h ago•15 comments

Topcoat: The full full-stack framework for Rust

https://github.com/tokio-rs/topcoat
56•wertyk•7h ago•37 comments

Show HN: A zoomable timeline of 4M Wikipedia events

https://app.everything.diena.co/
69•lortex•10h ago•30 comments

The state of open source AI

https://stateofopensource.ai/
398•rellem•14h ago•293 comments

Frank Lloyd Wright’s first home

https://www.architecturaldigest.com/story/frank-lloyd-wright-home-and-studio-everything-you-need-...
92•NaOH•5d ago•45 comments

Three ways people respond to a problem (other than solving it)

https://improvesomething.today/responses-to-problems/
215•surprisetalk•14h ago•117 comments

FAA lets Boeing sign off on 737 MAX, 787 airworthiness certificates again

https://www.cnbc.com/2026/07/17/faa-boeing-737-max-787.html
149•hmm37•7h ago•78 comments

Show HN: Watch bots interact with an SSH honeypot in real time

https://honeypotlive.cc/
149•tusksm•14h ago•53 comments

MoonBASIC: A modern BASIC for building 2D and 3D games

https://github.com/CharmingBlaze/moonbasic
58•klaussilveira•3d ago•18 comments

Mac gaming is finally getting the overpowered upgrade it deserves

https://www.macworld.com/article/3189951/apples-latest-game-porting-toolkit-beta-changed-how-i-th...
5•kristianp•24m ago•0 comments