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?

Substack writers, you need a website

https://elizabethtai.com/2026/06/10/substack-writers-you-need-a-website/
219•speckx•3h ago•134 comments

Steel Bank Common Lisp version 2.6.7

https://sbcl.org/all-news.html?2.6.7
120•tmtvl•3h ago•38 comments

Kimi K3 Architecture Overview and Notes

https://sebastianraschka.com/blog/2026/kimi-k3-architecture-notes.html
175•ModelForge•4h ago•19 comments

MCP 2026-07-28 Specification: transport going stateless

https://blog.modelcontextprotocol.io/posts/2026-07-28/
51•Eldodi•2h ago•17 comments

Delayed Gratification – Proud to Be 'Last to Breaking News'

https://www.slow-journalism.com/
168•speerer•4h ago•87 comments

Zig's Incremental Compilation Internals

https://mlugg.co.uk/posts/incremental-compilation-internals/
135•garyhtou•4h ago•88 comments

Discovering Cryptographic Weaknesses with Claude

https://www.anthropic.com/research/discovering-cryptographic-weaknesses
102•gslin•3h ago•50 comments

The iPhone Upgrade Program is being replaced by Apple Upgrade

https://www.apple.com/shop/iphone/iphone-upgrade-program
58•lkurtz•2h ago•126 comments

How Do I Profile eBPF Code?

https://naveensrinivasan.com/posts/2026-07-22-how-do-i-profile-ebpf-code/
88•snaveen•4h ago•6 comments

Show HN: XY – A Fast, composable, GPU-accelerated interactive plotting library

https://github.com/reflex-dev/xy
83•apetuskey•4h ago•26 comments

The Fabled Flatbreads of Uzbekistan (2015)

https://www.aramcoworld.com/articles/2015/the-fabled-flatbreads-of-uzbekistan
20•jxub•4d ago•12 comments

New HIV vaccine shows unprecedented success in preclinical study

https://www.lji.org/news-events/news/post/new-hiv-vaccine-shows-unprecedented-success-in-preclini...
449•codebyaditya•7h ago•210 comments

Now Is the Time to Give LLMs Access to the ACM Digital Library

https://cacm.acm.org/opinion/now-is-the-time-to-give-llms-access-to-the-acm-digital-library/
81•rbanffy•5h ago•46 comments

Kimi Linear: An Expressive, Efficient Attention Architecture (2025)

https://arxiv.org/abs/2510.26692
247•ronfriedhaber•9h ago•106 comments

WOFF 1.0: a milestone on W3C's journey of fonts on the web

https://www.w3.org/blog/2026/woff-1-0-a-milestone-on-w3cs-journey-of-fonts-on-the-web/
44•hn_acker•3h ago•1 comments

Harmony Explained: Progress Towards a Scientific Theory of Music (2012)

https://arxiv.org/abs/1202.4212
71•surprisetalk•5h ago•53 comments

Uv 0.12.0

https://github.com/astral-sh/uv/releases/tag/0.12.0
53•hallvard•54m ago•27 comments

Anthropeum – Where in the world, and when, does this human artifact belong?

https://anthropeum.com/
113•bookofjoe•5h ago•31 comments

The most advanced robotic servicing satellite–that we know about

https://arstechnica.com/space/2026/07/this-is-the-worlds-most-advanced-robotic-servicing-satellit...
23•GlenTheMachine•4d ago•1 comments

How to survive boiling water

https://taxa.substack.com/p/how-to-survive-boiling-water
397•cainxinth•4d ago•86 comments

DMARC has been public since 2012 but most company domains still don't enforce it

https://ciphercue.com/blog/dmarc-enforcement-gap-rua-fragmentation-2026
156•adulion•10h ago•98 comments

Una GPS smart watch – Repairable, USB-C charging, developer-friendly

https://unawatch.com/
73•pimterry•5h ago•59 comments

A walk through of the DeltaNet family of linear attention variants

https://blog.doubleword.ai/you-could-have-come-up-with-kimi-delta-attention
269•AnhTho_FR•4h ago•110 comments

Stop Killing the Internet: No Digital ID and No Age Verification

https://citizens-initiative.europa.eu/initiatives/details/2026/000011_en
338•doener•5h ago•104 comments

Donate to GrapheneOS

https://grapheneos.org/donate
178•charliebwrites•1h ago•42 comments

So, you want to make a game engine (2023)

https://lisyarus.github.io/blog/posts/so-you-want-to-make-a-game-engine.html#part-3
45•kugurerdem•4h ago•27 comments

7.1 Earthquake in Japan

https://www.data.jma.go.jp/multi/quake/quake_detail.html?eventID=20260728163528&lang=en
748•krembo•12h ago•194 comments

Hulios: An eBPF-powered, transparent Tor gateway for Linux

https://github.com/ghaziwali/Hulios
5•ghaziwali•41m ago•0 comments

Deflock Casa Grande

https://deflockcg.com/
226•mooreds•1h ago•80 comments

VMs can't boot with Network Mode set to Bridged on Apple M5 Pro machines

https://github.com/utmapp/UTM/issues/7658
65•IndySun•7h ago•36 comments