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?

OpenShot 4.0: Record, Edit, and Color Like Never Before

https://www.openshot.org/blog/2026/08/30/openshot-40-record-edit-color-like-never-before/
278•metrofun•4h ago•78 comments

“I just chose words carefully”

https://unsung.aresluna.org/i-just-chose-words-carefully/
1006•zdw•15h ago•268 comments

Breaking Claude Code Opus 5 Auto Mode

https://embracethered.com/blog/posts/2026/breaking-claude-code-opus-5-and-automode/
200•Recursing•6h ago•63 comments

Agent Memory as a File Format

https://calpaterson.com/memoryfields.html
61•ingve•2h ago•37 comments

Malleable software = solid bases and custom code

https://www.mdubakov.me/malleable-software-solid-bases-custom-code/
35•tablet•3h ago•7 comments

uv: Deduplicate all files in the wheel cache

https://github.com/astral-sh/uv/pull/21327
119•tosh•8h ago•53 comments

My hobby of building miniatures and taking pretty pictures

https://sandyuraz.com/blogs/tiny-cafe/
241•thecsw•2d ago•43 comments

ReactOS 0.4.16

https://reactos.org/project-news/reactos-0416-released/
51•marttt•5h ago•7 comments

P99 0 ms* autocomplete for 240M domain names

https://ruurtjan.com/articles/p99-0ms-autocomplete-for-240-million-domain-names
177•dbalatero•10h ago•72 comments

Using floci to emulate Cloud platforms (GCP, AWS, Azure)

https://flowg.cloud/blog/using-floci-local-emulators
20•linkdd•3d ago•5 comments

Study: Blue light impairs the eye's ability to distinguish fine detail most

https://research.uga.edu/news/blue-light-has-a-surprising-effect-on-your-eyes-study-finds/
30•giuliomagnifico•5h ago•17 comments

Notes on Private Trackers

https://www.jenn.site/notes-on-private-trackers/
29•surprisetalk•4d ago•15 comments

The startling 1960s theory that Stonehenge was a prehistoric computer

https://www.bbc.com/culture/article/20260828-the-startling-1960s-theory-that-stonehenge-was-a-pre...
22•dabinat•4h ago•24 comments

The Art of Chip-8

http://beyondloom.com/blog/artofchip8.html
8•surprisetalk•1w ago•0 comments

A CVE Dispute

https://daniel.haxx.se/blog/2026/06/24/a-cve-dispute/
103•theanonymousone•2h ago•19 comments

The Universe as a Minified Bundle

https://andrewarrow.dev/2026/moons/2/day/9/the-universe-as-a-minified-bundle/
10•cs1996•2h ago•6 comments

A 12TB Steam "teraleak" spills more than a decade of lost PC gaming history

https://arstechnica.com/gaming/2026/08/a-12tb-steam-teraleak-spills-more-than-a-decade-of-lost-pc...
247•WithinReason•8h ago•42 comments

How to build a diffusion language model

https://kuleshov-group.github.io/blog/blog/2026/how-to-build-a-diffusion-language-model/
139•volodia•14h ago•17 comments

Matrox: Graphics for Professionals

https://www.abortretry.fail/p/matrox
152•BirAdam•14h ago•53 comments

What 2000 Buried Underpants Revealed About Where Soil Is Most Alive

https://studyfinds.com/what-2000-buried-underpants-revealed-about-where-soil-is-most-alive/
60•mdp2021•4d ago•10 comments

Show HN: SlideOps, slides from a repo that flag when they drift from the code

https://github.com/glukicov/slideops
5•lukicov•1h ago•2 comments

Understanding ChatGPT Work

https://simonwillison.net/2026/Aug/30/understanding-chatgpt-work/
248•gmays•12h ago•136 comments

Interviewing IBM's Christian Zoellin and Christian Jacobi

https://chipsandcheese.com/p/hot-chips-2026-interviewing-ibms
8•rbanffy•4h ago•0 comments

Creepy Crawlies

https://people.kernel.org/monsieuricon/creepy-crawlies
1272•zdw•1d ago•635 comments

Highlighting My Code Based on How Much I Care

https://hank.bond/posts/highlighting-my-code-based-on-how-much-i-care/
102•hankbond•2d ago•59 comments

Show HN: NFC Energy-Harvesting PCB Business Card with an MCU

https://wilsonharper.net/projects/businesscard/
200•WilsonHarper•3d ago•22 comments

State of the Map 2026: OpenStreetMap conference

https://povesham.wordpress.com/2026/08/30/state-of-the-map-2026-openstreetmap-conference/
11•altilunium•5h ago•0 comments

Cores in space: The core memory module from a 1980 Spacelab computer

https://www.righto.com/2026/08/spacelab-core-memory.html
123•pwg•18h ago•20 comments

Formalization of the Solution to the Hopf Problem

https://github.com/plby/HopfProblem
16•robinhouston•3d ago•12 comments

Sort branches by last commit date

https://ryangreenberg.com/til/git-branches-by-commit-date/
133•speckx•5d ago•46 comments