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: Shitty – fast terminal. Memory-unsafe and faster than yours

https://github.com/pg83/shitty
65•pshirshov•1h ago•30 comments

Karpathy’s Pelican

https://twitter.com/karpathy/status/2083749667410727319
417•delichon•20h ago•330 comments

Autoregressive Language Model on the 6502 Processor

https://mattbeton.com/blog/bitnet-6502.html
48•nmstoker•2d ago•4 comments

The Computational Theory of Mind (2015)

https://plato.stanford.edu/entries/computational-mind/
20•cyanregiment•2h ago•8 comments

Show HN: Kakehashi – Experimental userspace to run macOS binaries on Linux ARM

https://github.com/wie-project/kakehashi
171•vlad_kalinkin•8h ago•35 comments

Note-Taking and Personal Knowledge Management

https://unattributed.cc/note-taking-and-personal-knowledge-management
117•surprisetalk•5d ago•32 comments

Why Book Corners won't sync contributions back to OpenStreetMap

https://www.andreagrandi.it/posts/why-book-corners-wont-sync-contributions-back-to-openstreetmap/
6•pizzaiolo•41m ago•2 comments

Developers are attached to tools because tools encode trust

https://stackoverflow.blog/2026/07/29/developers-are-attached-to-tools-because-tools-encode-trust/
142•HieronymusBosch•4d ago•67 comments

Read the Novels and Forget Everything Else

https://hedgehogreview.com/web-features/thr/posts/read-the-novels-and-forget-everything-else
45•samclemens•2d ago•17 comments

Show HN: Mu – Tools for Agents

https://github.com/micro/mu
22•asim•2h ago•5 comments

Show HN: Make your Framework 12 sound like a creaky door

https://github.com/ArcaEge/creakwork12
44•arcaege•4h ago•4 comments

Playing with Georgia

https://mighil.com/playing-with-georgia
4•surprisetalk•4d ago•1 comments

Show HN: NixOS-DGX-Spark – Nix and NixOS on the DGX Spark

https://github.com/graham33/nixos-dgx-spark
90•graham33•7h ago•26 comments

TinyNES Review – A Super Niche NES Console

https://blog.lon.tv/2023/02/05/tinynes-review-a-super-niche-nes-console/
27•throwoutway•4h ago•4 comments

Californians' data deletion requests, DROP, become enforceable Aug. 1

https://www.nbcsandiego.com/nbc-7-responds-2/californians-data-deletion-requests-drop-become-enfo...
67•MilnerRoute•2h ago•25 comments

F*: A general-purpose proof-oriented programming language

https://fstar-lang.org/
150•ducktective•12h ago•65 comments

Twenty Years of RISC OS Open

https://www.riscosopen.org/news/articles/2026/06/20/twenty-years-of-risc-os-open
150•AlexeyBrin•12h ago•28 comments

EU Age Verification Project Mandates Hardware-Bound Attestation

https://linuxiac.com/eu-age-verification-project-mandates-hardware-bound-attestation/
135•RobotToaster•4h ago•81 comments

Sharing an X11 Server Across Hosts with FamilyWild

https://dobrowolski.dev/article/sharing-an-x-server-across-hosts-with-familywild/
33•shirozuki•4h ago•9 comments

The Myth of Snow Leopard

https://www.rubenerd.au/the-myth-of-snow-leopard/
41•speckx•6h ago•36 comments

When transit passes were designed by hand (2022)

https://letterformarchive.org/news/milwaukee-transit-passes/
95•nate•2d ago•28 comments

'Crush this lady': how eBay harassment campaign led to $56M payout

https://www.ft.com/content/06ec1b03-d4af-40cf-b12a-4ba5a410f6d2
166•JumpCrisscross•5h ago•74 comments

Rooting, firmware analysis and persistent credentials of TP-Link TL-841N

https://blog.juni-mp4.com/posts/42/rooting-the-tplink-tl841n-pt1/
77•mindracer•8h ago•14 comments

My personal AI benchmark: "Generate an SVG of a frog with a Habsburg jaw."

https://frogs.vaguespac.es/
91•thebigship•5h ago•43 comments

Fasttracker II clone in C using SDL 2

https://16-bits.org/ft2.php
115•andsoitis•4d ago•44 comments

Folding Paper Globes

https://foldingglobes.com/globes
142•dango2506•4d ago•29 comments

A tool for finding the causes of unstable Python tests

https://github.com/mgaitan/pytest-leak-finder
8•pomponchik•3d ago•0 comments

Flock – Chilling Effects: Long Island's Emerging Open-Air Prison

https://www.11971.com/
21•mediaeater•3h ago•3 comments

Meshdiff – visually compare two STL versions in the browser, client-side

https://meshdiff.com/
175•projscope•13h ago•18 comments

Great Question (YC W21) Is Hiring Senior Demand Gen Manager

https://www.ycombinator.com/companies/great-question/jobs/YutDxyf-senior-demand-generation-manager
1•nedwin•12h ago