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?

Show HN: 18 Words

https://18words.com/
126•pompomsheep•1h ago•62 comments

The Glass Backbone: Why the Army's Logistics Will Break in the Next War

https://mwi.westpoint.edu/the-glass-backbone-why-the-armys-logistics-will-break-in-the-next-war/
35•baud147258•32m ago•9 comments

John Deere owners will get the right to repair equipment under FTC settlement

https://apnews.com/article/john-deere-right-to-repair-agriculture-equipment-cb7514ffedb95c130a976...
1118•djoldman•14h ago•223 comments

Bonnie Tyler, singer of Total Eclipse of the Heart, dies aged 75

https://www.bbc.com/news/articles/cg5pd9z2487o
185•theanonymousone•3h ago•70 comments

Show HN: FableCut – A browser video editor AI agents can drive (zero deps)

https://github.com/ronak-create/FableCut
17•ronak_parmar•33m ago•5 comments

Meta reuses old RAM in new servers with custom bridge chip

https://www.networkworld.com/article/4192827/meta-reuses-old-ram-in-new-servers-with-custom-bridg...
156•ihsw•5d ago•65 comments

EU Parliament greenlights Chat Control 1.0 – Breyer: "Our children lose out"

https://www.patrick-breyer.de/en/eu-parliament-greenlights-chat-control-1-0-breyer-our-children-l...
273•rapnie•2h ago•128 comments

Spider venom kills varroa mites without harming honeybees

https://connectsci.au/news/news-parent/9703/Spider-venom-kills-varroa-mites-without-harming
215•Jedd•8h ago•84 comments

AI builders outnumber AI governance hires 7:1 in Europe

https://axipro.co/eu-ai-act-hiring-gap-study/
9•pmoorcraft•41m ago•9 comments

TrueBiz (YC S22) – Senior Software Engineer – Remote (US) – Full-Time

1•dannyhak•1h ago

Is It Safe to Host HTML That Runs Its Own JavaScript?

https://sharemypage.app/blog/is-it-safe-to-host-html-that-runs-javascript
6•HenningWitzel•24m ago•0 comments

US seeks cheaper hunter-killer drones after Iran destroys $1B worth of Reapers

https://arstechnica.com/gadgets/2026/07/us-seeks-cheaper-hunter-killer-drones-after-iran-destroys...
24•rbanffy•27m ago•3 comments

How Version Control Will Evolve for the Agent Boom

https://entire.io/blog/how-version-control-will-evolve-for-the-agent-boom
20•tapanjk•1h ago•8 comments

Syria's solar boom is redefining Middle East's energy model

https://www.thenationalnews.com/business/energy/2026/07/06/syrias-solar-boom-is-redefining-middle...
14•littlexsparkee•29m ago•0 comments

Show HN: Arcaide – Explore code with multi-level call graphs

https://arcaide.foo
7•aqula•57m ago•2 comments

In-browser programmable robot simulator

https://bittlex-sim.petoi.com/
61•lijay•5d ago•2 comments

I Built the Only 2026 WWII Jeep

https://www.theautopian.com/i-bet-my-company-on-an-impossible-jeep-build-then-a-miracle-happened/
105•martey•2d ago•34 comments

Why developers are ditching GitHub for Codeberg and self-hosting alternatives

https://www.howtogeek.com/why-developers-are-ditching-github-for-codeberg-and-self-hosting-altern...
259•Gedxx•5h ago•177 comments

Lead Mines of Galena, Kansas

https://dustbowlhighway.com/kansas/lead-mines/
13•saltdoo•5d ago•3 comments

Vacuum at the Page Level

https://boringsql.com/posts/vacuum-at-the-page-level/
12•radimm•3d ago•2 comments

Cargo-nextest: 3x faster than cargo test, per-test isolation, first-class CI

https://nexte.st/
147•nateb2022•3d ago•39 comments

How Donkey Kong Toppled Atari

https://dfarq.homeip.net/how-donkey-kong-toppled-atari/
55•giuliomagnifico•8h ago•20 comments

Grok 4.5

https://x.ai/news/grok-4-5
717•BoumTAC•19h ago•1250 comments

Cloudflare Drop

https://www.cloudflare.com/drop/
492•coloneltcb•18h ago•268 comments

Show HN: Microsoft releases Flint, a visualization language for AI agents

https://microsoft.github.io/flint-chart/#/
324•chenglong-hn•20h ago•118 comments

Separating signal from noise in coding evaluations

https://openai.com/index/separating-signal-from-noise-coding-evaluations/
230•sk4rekr0w•16h ago•83 comments

Show HN: Yamanote.fun – A complete soundscape for Tokyo's Yamanote line

https://www.yamanote.fun/
216•madebymagnolia•2d ago•46 comments

Turning a pile of documents into a searchable useable knowledge base

https://github.com/linuxrebel/DocuBrowser
175•linuxrebe1•17h ago•36 comments

Benchmarking coding agents on Databricks' multi-million line codebase

https://www.databricks.com/blog/benchmarking-coding-agents-databricks-multi-million-line-codebase
129•tanelpoder•16h ago•57 comments

New Sweden: the US's long-lost 'secret' colony

https://www.bbc.com/travel/article/20260629-new-sweden-the-uss-long-lost-secret-colony
158•bookofjoe•18h ago•55 comments