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?

An entire Herculaneum scroll has been read for the first time

https://scrollprize.org/firstscroll
900•verditelabs•8h ago•202 comments

The 'papers, please' era of the internet will decimate your privacy

https://expression.fire.org/p/the-papers-please-era-of-the-internet
287•bilsbie•2h ago•129 comments

Un-0: Generating Images with Coupled Oscillators

https://unconv.ai/blog/introducing-un-0-generating-images-with-coupled-oscillators/
94•babelfish•3h ago•23 comments

A game where you're an OS and have to manage processes, memory and I/O events

https://github.com/plbrault/youre-the-os
65•exploraz•2d ago•15 comments

Oxide computer 3D rack guided tour

https://explorer.oxide.computer/
273•darthcloud•3d ago•115 comments

An oral history of Bank Python (2021)

https://calpaterson.com/bank-python.html
58•tosh•4h ago•15 comments

IBM debuts sub-1 nanometer chip technology

https://newsroom.ibm.com/2026-06-25-ibm-debuts-worlds-first-sub-1-nanometer-chip-technology
249•porridgeraisin•8h ago•144 comments

Show HN: OpenKnowledge – open source AI-first alternative to Obsidian/Notion

https://github.com/inkeep/open-knowledge
182•engomez•8h ago•80 comments

The Garbage Collection Handbook: The Art of Automatic Memory Management (2nd Ed)

https://gchandbook.org/
12•teleforce•1h ago•1 comments

Om Malik has died

https://om.co/2026/06/24/1966-2026/
299•minimaxir•3h ago•30 comments

Migrating from Proxmox to NixOS and Incus

https://www.nijho.lt/post/proxmox-to-nixos/
34•wasting_time•2h ago•14 comments

Parallel Parentheses Matching

https://williamdue.github.io/blog/parallel-parentheses-matching
43•Athas•4h ago•7 comments

Show HN: Chess-Inspired Roguelike

https://princechazz.com
200•cowboy_henk•4d ago•68 comments

The Doorman's Fallacy in action

https://rozumem.xyz/posts/17
39•rozumem•4h ago•60 comments

Zig's new bitCast semantics and LLVM back end improvements

https://ziglang.org/devlog/2026/#2026-06-25
208•kouosi•9h ago•79 comments

OS9Map

https://yllan.org/software/OS9Map/
173•LaSombra•9h ago•25 comments

Apple raises prices of MacBooks, iPads

https://www.reuters.com/world/asia-pacific/apple-raises-prices-macbooks-ipads-memory-costs-skyroc...
604•virgildotcodes•11h ago•868 comments

The last Romans are still around

https://signoregalilei.com/2026/06/20/the-last-romans-are-still-around/
31•surprisetalk•3d ago•54 comments

Military branches restore flu shot requirement after virus swept through base

https://arstechnica.com/health/2026/06/military-branches-restore-flu-shot-requirement-after-virus...
63•tzs•1h ago•25 comments

What is the mechanical world picture?

http://edwardfeser.blogspot.com/2026/06/what-is-mechanical-world-picture.html
4•danielam•2d ago•0 comments

Besimple AI (YC P25) Is Hiring

https://www.ycombinator.com/companies/besimple-ai/jobs/yWfhhOR-strategic-projects-lead-audio-data
1•yzhong94•7h ago

The annotated PyTorch training loop

https://idlemachines.co.uk/essays/pytorch-training-loop
55•smaddrellmander•3d ago•10 comments

You can't unit test for taste

https://dev.karltryggvason.com/you-cant-unit-test-for-taste/
238•kalli•1d ago•116 comments

GloriousEggroll's Proton has been rebased on Proton 11

https://github.com/GloriousEggroll/proton-ge-custom/releases/tag/GE-Proton11-1
49•d3Xt3r•1d ago•20 comments

Advanced Nintendo Entertainment System (ANES) – NES Modded to Use 2 PPUs

https://github.com/decrazyo/anes
92•zdw•2d ago•31 comments

RRB-Trees: Efficient Immutable Vectors (2012) [pdf]

https://infoscience.epfl.ch/server/api/core/bitstreams/e5d662ea-1e8d-4dda-b917-8cbb8bb40bf9/content
32•azhenley•1d ago•7 comments

The disappearance of Japan's animators

https://economist.com/interactive/1843/2026/06/19/the-strange-disappearance-of-japans-animators
139•andsoitis•4d ago•114 comments

OpenAI Leans Toward Waiting Until Next Year for IPO

https://www.nytimes.com/2026/06/25/technology/openai-ipo-artificial-intelligence.html
92•mfiguiere•3h ago•63 comments

Political bias in AI: Where the AI models stand

https://trakkr.ai/bias
109•mektrik•11h ago•218 comments

Show HN: I made Google Trends for Hacker News by indexing 18 years of comments

https://hackernewstrends.com
641•ytkimirti•10h ago•143 comments