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?

Iroh 1.0

https://www.iroh.computer/blog/v1
509•chadfowler•3h ago•175 comments

TinyWind: A pixel pirate sailing game with real wind physics (380k+ kms sailed)

https://tinywind.io
198•tinywind•2h ago•45 comments

Ask HN: Has anyone replaced Claude/GPT with a local model for daily coding?

134•cloudking•3h ago•91 comments

My Homelab AI Dev Platform

https://rsgm.dev/post/ai-dev-platform/
99•rsgm•3h ago•28 comments

How TimescaleDB compresses time-series data

https://roszigit.com/en/blog/timescaledb-compression-hypercore
28•lkanwoqwp•56m ago•3 comments

Launch HN: Drafted (YC P26) – Models for residential architecture

24•PrimalNick•1h ago•22 comments

Memory safety CVEs differ between Rust and C/C++

https://kobzol.github.io/rust/2026/06/15/how-memory-safety-cves-differ-between-rust-and-c-cpp.html
45•nicoburns•2h ago•36 comments

Making glass-to-metal seals for home­made vacuum tubes

https://maurycyz.com/projects/glass/1/
73•zdw•1d ago•24 comments

Fox to buy Roku

https://www.wsj.com/business/deals/fox-roku-deal-f6e564f9
167•thm•5h ago•225 comments

Copper transport drug restores memory and clears toxic Alzheimer's proteins

https://www.monash.edu/news/articles/copper-drug-restores-memory-and-clears-toxic-alzheimers-prot...
143•bookofjoe•3h ago•52 comments

Hetzner Price Adjustment

https://docs.hetzner.com/general/infrastructure-and-availability/price-adjustment/#cloud-servers
112•tuhtah•5h ago•252 comments

Show HN: Fata – Spaced repetition to fight skill rot from AI coding

https://fata.dev
13•djoume•4d ago•6 comments

Boot Naked Linux

https://nick.zoic.org/art/boot-naked-linux/
26•abnercoimbre•2h ago•10 comments

CrankGPT

https://crankgpt.com
453•rishikeshs•5h ago•183 comments

Your ePub Is fine

https://andreklein.net/your-epub-is-fine-kobo-disagrees-blame-adobe/
839•sohkamyung•19h ago•282 comments

Apple Foundation Models

https://platform.claude.com/docs/en/cli-sdks-libraries/libraries/apple-foundation-models
411•MehrdadKhnzd•13h ago•195 comments

Show HN: machine0 – Persistent NixOS VMs You Control from the CLI

https://machine0.io
33•bwm•2h ago•10 comments

Game Engine White Papers Commander Keen

https://forgottenbytes.net/commander_keen.html
6•mfiguiere•32m ago•0 comments

Show HN: Exploiting Slack's video embeds to achieve E2EE communication

https://v1c.rocks/log/exploiting-slack-video/
19•victorio•2h ago•2 comments

Teenagers Stayed Overnight at Their School and Found Hidden Ancient Roman Ruins

https://www.smithsonianmag.com/smart-news/these-italian-teenagers-stayed-overnight-at-their-schoo...
135•thunderbong•4d ago•69 comments

Openrouter Fusion API

https://openrouter.ai/openrouter/fusion
173•tdchaitanya•11h ago•64 comments

Can Europe train a frontier AI model on the compute it owns?

https://github.com/sammysltd/euromesh
52•smashini•4h ago•63 comments

Building a plugin system without runtime, storage, or shared JavaScript context

https://tolgee.io/blog/building-a-plugin-system-for-tolgee-without-a-runtime-storage-or-shared-js...
4•jancizmar•3d ago•1 comments

Even more batteries included with Emacs

https://karthinks.com/software/even-more-batteries-included-with-emacs/
321•signa11•15h ago•113 comments

Typst 0.15.0

https://typst.app/docs/changelog/0.15.0/
8•schu•1h ago•0 comments

Improvement in advanced Alzheimer’s disease following high-dose psilocybin

https://www.frontiersin.org/journals/neuroscience/articles/10.3389/fnins.2026.1813281/full
149•cl3misch•11h ago•112 comments

Dalus (YC W25) Is Hiring a Senior Software Engineer in Germany

https://www.ycombinator.com/companies/dalus/jobs/5IDmKJt-senior-software-frontend-engineer-german...
1•sebastianvoelkl•11h ago

Ported my C game to WASM, here's every bug that I hit

http://ernesernesto.github.io/writes/portingmatchmorphosistowasm/
83•birdculture•3d ago•64 comments

Show HN: Kage – Shadow any website to a single binary for offline viewing

https://github.com/tamnd/kage
660•tamnd•1d ago•130 comments

Salesforce to Acquire Fin (formerly Intercom) for $3.6B

https://www.salesforce.com/news/press-releases/2026/06/15/salesforce-signs-definitive-agreement-t...
228•colesantiago•6h ago•181 comments