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: Homebrew 6.0.0

https://brew.sh/2026/06/11/homebrew-6.0.0/
797•mikemcquaid•8h ago•190 comments

MiMo Code is now released and open-source

https://mimo.xiaomi.com/mimocode
379•apeters•7h ago•209 comments

Show HN: FablePool – pool money behind a prompt, and Fable builds it in public

https://fablepool.com
25•matthewbarras•47m ago•9 comments

Shall we play a game? – LLMs use tactical nukes in 95% of simulations

https://www.kennethpayne.uk/p/shall-we-play-a-game
84•nick238•2h ago•71 comments

Petition to Withdraw Canada's Bill C-22

https://www.ourcommons.ca/petitions/en/Petition/Sign/e-7416
282•hmokiguess•6h ago•99 comments

The RCE that AMD wouldn't fix

https://mrbruh.com/amd2/
183•MrBruh•6h ago•68 comments

Emacs appearances in pop culture

https://ianyepan.github.io/posts/emacs-in-pop-culture/
197•ggcr•1d ago•38 comments

Travel Locally, Where You Are

https://www.ssp.sh/brain/travel-where-you-are/
47•zazuke•1h ago•24 comments

Software Is Made Between Commits

https://zed.dev/blog/introducing-deltadb
170•jeremy_k•5h ago•107 comments

Show HN: Boo – screen-style terminal multiplexer built on libghostty

https://github.com/coder/boo
17•kylecarbs•1h ago•1 comments

Waymo Premier

https://waymo.com/blog/2026/06/waymo-premier/
121•boulos•5h ago•314 comments

Ear Training Practice Exercises

https://tonedear.com/
91•mattbit•3d ago•61 comments

Developer gets Half-Life running at 30 FPS on a Nokia N95

https://www.tomshardware.com/video-games/handheld-gaming/developer-gets-half-life-running-at-30-f...
174•ljf•3d ago•47 comments

macOS 27 Beta breaks the ability to boot Asahi Linux

https://www.phoronix.com/news/macOS-27-Beta-Breaks-Asahi
181•josephcsible•2d ago•83 comments

Pokémon Go Scans Trained the Navigation Tech for Military Drones

https://dronexl.co/2026/06/09/pokemon-go-scans-niantic-vantor-military-drone-navigation/
669•vrganj•15h ago•303 comments

Open Reproduction of DeepSeek-R1

https://github.com/huggingface/open-r1
178•yogthos•8h ago•16 comments

Claude Fable 5: mid-tier results on coding tasks

https://www.endorlabs.com/learn/claude-fable-5-mythos-grade-hype
146•bugvader•6h ago•53 comments

Lines of code got a better publicist

https://curlewis.co.nz/posts/lines-of-code-got-a-better-publicist/
331•RyeCombinator•9h ago•234 comments

Apple didn't revolutionize power supplies; new transistors did (2012)

https://www.righto.com/2012/02/apple-didnt-revolutionize-power.html
45•geerlingguy•4h ago•4 comments

Solar generates more energy in US than coal for first time

https://www.theguardian.com/us-news/2026/jun/11/solar-energy-us-coal
364•neilfrndes•5h ago•176 comments

Discovery of Cold War-era rare Eastern Bloc computers in a German hangar

https://computerhistory.org/stories/explorers-of-the-lost-computers/
85•andrewstuart•5d ago•19 comments

Who Runs the Ransomware Group 'The Gentlemen?'

https://krebsonsecurity.com/2026/06/who-runs-the-ransomware-group-the-gentlemen/
36•Bender•2h ago•2 comments

FPS.cob: A first person shooter in COBOL

https://github.com/icitry/FPS.cob
86•MBCook•6h ago•53 comments

Programming a GBA Game on an iPhone

https://blog.adamledoux.net/posts/2026-06-08-programming-a-gba-game-on-an-iphone.html
35•akkartik•1d ago•5 comments

Fully autonomous drones have killed human soldiers for the first time

https://www.newscientist.com/article/2529849-fully-autonomous-drones-have-killed-human-soldiers-f...
170•deadgopher•1d ago•139 comments

Doing nothing at work

https://www.seangoedecke.com/doing-nothing-at-work/
309•Sukram21•3d ago•110 comments

Show HN: Claw Patrol, a security firewall for agents

https://github.com/denoland/clawpatrol
73•rough-sea•2d ago•24 comments

A new era for software testing

https://antirez.com/news/168
97•Chrisszz•4d ago•35 comments

Why I'm Forced to Say Farewell: Google Management Has Lost Its Moral Compass

https://www.mayrhofer.eu.org/post/leaving-google/
27•timedude•59m ago•4 comments

Pozzo: A Fast Lucky Number Checker

https://github.com/Robert-Cunningham/pozzo
13•robertvc•3d ago•1 comments