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?

The Future of CSS

https://www.joshwcomeau.com/css/interop-2027/
205•soheilpro•4h ago•77 comments

Alibaba hikes DeepSeek V4 Flash 0731 output prices by 230%

https://www.stork.ai/newsletter/2026-10-20-alibaba-quietly-tripled-deepseek-prices#lead
21•GloVin•1h ago•15 comments

Show HN: SimCity, but with Permits

https://permit.petercai.com/
703•pcai•12h ago•354 comments

Battlezone Online: BZFlag in the Browser

https://github.com/timriker/bzo
18•indigodaddy•1h ago•8 comments

Feds suspect ransom negotiator ran ShinyHunters extortion site

https://krebsonsecurity.com/2026/10/feds-suspect-ransom-negotiator-ran-shinyhunters-extortion-site/
170•Bender•8h ago•68 comments

In Hilbert space, all things are quantumly possible

https://www.quantamagazine.org/in-hilbert-space-all-things-are-quantumly-possible-20260826/
61•unprovable•4h ago•28 comments

Voxtral 3

https://mistral.ai/news/voxtral-3/
600•ilreb•14h ago•152 comments

eMudhra intermediate CA compromise

https://emudhra.we-have-a-problem.com/
814•galadran•16h ago•368 comments

Muse exposes users' personal and business secrets when they share conversations

https://arstechnica.com/security/2026/10/meta-muse-exposes-users-personal-and-business-secrets-wh...
76•gumby•5h ago•15 comments

Pillowfort Is Closing

https://www.pillowfort.social/posts/8413273
22•BrenBarn•1h ago•10 comments

The Other Epidemic: Trying to get off benzodiazepines

https://www.thebeliever.net/the-other-epidemic/
154•gaplong•7h ago•104 comments

Ship Your Interpreter

https://www.basis.ai/blog/ship-your-interpreters/
9•gopiandcode•1d ago•1 comments

Four Years with Decker

https://beyondloom.com/blog/fouryearsdecker.html
19•ibobev•18h ago•1 comments

Good type against all odds

https://unsung.aresluna.org/good-type-against-all-odds/
80•firloop•4h ago•10 comments

Borrow Checking Zero-Cost Cyclic Mutability

https://antelang.org/blog/safe_cyclic_mutability/
25•jfecher•1d ago•2 comments

PHP session.upload_progress heap UAF (CVE-2026-109618 / -109619)

https://jackalsyn.com/posts/php-up-2026.html
144•rfarley04•2h ago•43 comments

ZX Spectrum Next Laptop

https://www.dorchester3d.com/printing/blog/2020/11/zx-spectrum-next-laptop-version-2
38•utopcell•2d ago•4 comments

Google open-sources TorchTPU, a native PyTorch back end for TPUs

https://github.com/google-pytorch/torch_tpu
319•ilreb•13h ago•71 comments

Setting Up SSH Keys on macOS with Touch ID

https://nmattia.com/posts/2026-10-19-setting-up-ssh-keys-touch-id/
19•civilchaos•2h ago•12 comments

SlopCodeBench 10/2026 – Opus 5.5, Astra wins overall, xhigh considered harmful

https://github.com/humanlayer/advanced-context-engineering-for-coding-agents/blob/main/benchmarki...
235•dhorthy•5d ago•88 comments

What shall I teach my son?

https://stevekrouse.com/ends
347•Curiositry•13h ago•412 comments

Using Claude to reduce the attack surface of code

https://www.anthropic.com/research/attack-surface-reduction
12•dnw•2h ago•0 comments

Apple broke an essential presentation feature of iPads

https://teddysvoronos.com/2026-10-19-apple-broke-an-essential-presentation-feature-of-ipads/
538•evanb•18h ago•268 comments

DeepInfer: High-performance inference framework for DeepSeek models

https://github.com/deepseek-ai/DeepInfer
2206•ggcr•21h ago•850 comments

Ofcom concedes defeat in 4chan case

https://prestonbyrne.com/2026/10/20/ofcom-concedes-defeat/
370•iamnothere•16h ago•279 comments

Upcoming critical PHP security release

https://news-web.php.net/php.announce/509
452•xd•10h ago•164 comments

To Make, or to Buy: The Economics of Decision Models

https://pncnmnp.github.io/blogs/economics-decision-models.html
34•pncnmnp•2d ago•1 comments

Sixteen years after Deepwater Horizon, deep sea life shows few signs of recovery

https://e360.yale.edu/digest/deepwater-horizon-deep-sea-recovery
242•speckx•14h ago•147 comments

Tsrs: A Port of TypeScript to Rust

https://blog.cloudflare.com/typescript-rust-port/
384•hnisjafx40•17h ago•189 comments

Nexus-CLI – Pure Go Bridge to DeepSeek R1/V3 with Claude Code and Ollama Support

https://github.com/xamrayev/nexus-cli
7•xamrayev•1h ago•1 comments