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?

Claude Opus 5

https://www.anthropic.com/claude-opus-5-system-card
132•alvis•16m ago•49 comments

As of JDK 27, Oracle engineers will thus stop maintaining the macOS/x64 port

https://openjdk.org/jeps/541
23•pmg1991•21m ago•9 comments

My security camera shipped a GitHub admin token in its login page

https://hhh.hn/hanwha-github-token/
332•hhh•5h ago•126 comments

India's first privately-developed rocket reaches orbit on dramatic debut launch

https://arstechnica.com/space/2026/07/indias-first-privately-developed-rocket-reaches-orbit-on-dr...
282•sohkamyung•4d ago•74 comments

Apple won't let me show my app

https://wisedayplanner.com/blog/apple-wont-let-me-show-my-app/
12•codersfocus•32m ago•7 comments

Half-Life 2 running natively on HaikuOS

https://discuss.haiku-os.org/t/haiku-nvidia-porting-nvidia-driver-for-turing-gpus/16520?page=18
131•m0do1•4h ago•16 comments

The front end framework for correctness: built on Effect, architected like Elm

https://foldkit.dev/
38•plucafs•1h ago•20 comments

Online Historical Encyclopaedia of Programming Languages

https://hopl.info/
10•gregsadetsky•26m ago•1 comments

Flux 3 X Mimic: The Next Generation of Video-Action Models

https://bfl.ai/blog/flux-3-mimic
271•kensai•7h ago•44 comments

It's getting harder to focus every day

https://glyphack.com/attention/
538•peykar•8h ago•303 comments

Making Xen's dom0 I/O path NUMA aware

https://edera.dev/stories/numa-part-4-closing-the-xen-dom0-i-o-gap
13•virtio_vixen•2d ago•0 comments

The rise and fall of language diversity through the Holocene

https://www.science.org/doi/10.1126/science.adx4343
8•delichon•32m ago•1 comments

Government orders GitHub to remove Bluetooth-based chat app Bitchat: Jack Dorsey

https://www.thehindu.com/news/national/government-orders-github-to-remove-bluetooth-based-chat-ap...
179•rootkea•2h ago•108 comments

Plants vs. Zombies for PlayStation 2

https://github.com/OptiJuegos/pvz-ps2
35•Jotalea•3h ago•1 comments

Flux 3

https://bfl.ai/blog/flux-3
506•ThouYS•10h ago•121 comments

Unitree As2-W

https://www.unitree.com/As2-W/
11•MehrdadKhnzd•40m ago•4 comments

Micro-SaaS Is Dead. Service With A Software Replaces It

https://adriengonin.com/writing/service-with-a-software/
10•Adrig•45m ago•7 comments

WebGPU Unleashed: A Practical Tutorial

https://shi-yan.github.io/webgpuunleashed/
23•ibobev•3h ago•1 comments

3GPP Version 19

https://www.3gpp.org/specifications-technologies/releases/release-19
36•mlhpdx•2h ago•9 comments

Be skeptical of OpenAI's rogue hacker agent story

https://www.theguardian.com/technology/2026/jul/24/openai-rogue-hacker
34•rwmj•40m ago•10 comments

Codeberg Divides

https://lucumr.pocoo.org/2026/7/24/codeberg-divides/
43•ashdnazg•2h ago•34 comments

Proving a Human Wrote Something

https://gjtorikian.online/posts/proving-a-human-wrote-something/
7•gjtorikian•40m ago•4 comments

Em dashes are fucking amazing

https://psychotechnology.substack.com/p/em-dashes-are-fucking-amazing
236•surprisetalk•4h ago•215 comments

My Emacs Configuration (Dired)

https://eugene-andrienko.com/2026-07-05-my-emacs-configuration-dired.html
20•meysamazad•3h ago•2 comments

Co-Opting Linux Processes for High-Performance Network Simulation (2022)

https://www.usenix.org/conference/atc22/presentation/jansen
15•teleforce•2h ago•0 comments

Claude Cookbook

https://platform.claude.com/cookbook/
258•saikatsg•12h ago•132 comments

Buz – A fork of Bun using modern Zig, with sub-1s incremental builds

https://ziggit.dev/t/buz-a-drop-in-replacement-for-bun-using-modern-zig-with-sub-1s-incremental-b...
185•kristoff_it•7h ago•135 comments

Writing a Debugger from Scratch

https://www.timdbg.com/posts/writing-a-debugger-from-scratch-part-1/
24•ibobev•3h ago•5 comments

The IBM PC, Part 1: Arrival

https://technicshistory.com/2026/07/24/the-ibm-pc-part-1-arrival/
59•cfmcdonald•5h ago•19 comments

Claude Opus 5

https://www.anthropic.com/news/claude-opus-5
19•meetpateltech•18m ago•4 comments