frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

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•7mo ago

Comments

bschwindHN•6mo 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•6mo 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•6mo 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?

AI and the ironies of automation – Part 2

https://www.ufried.com/blog/ironies_of_ai_2/
71•BinaryIgor•2h ago•14 comments

Apple Maps claims it's 29,905 miles away

https://mathstodon.xyz/@dpiponi/115651419771418748
68•ColinWright•2h ago•40 comments

Europeans' health data sold to US firm run by ex-Israeli spies

https://www.ftm.eu/articles/europe-health-data-us-firm-israel-spies
257•Fnoord•3h ago•109 comments

Illuminating the processor core with LLVM-mca

https://abseil.io/fast/99
3•ckennelly•41m ago•0 comments

Linux Sandboxes and Fil-C

https://fil-c.org/seccomp
291•pizlonator•16h ago•91 comments

Shai-Hulud compromised a dev machine and raided GitHub org access: a post-mortem

https://trigger.dev/blog/shai-hulud-postmortem
38•nkko•5h ago•24 comments

Kimi K2 1T model runs on 2 512GB M3 Ultras

https://twitter.com/awnihannun/status/1943723599971443134
66•jeudesprits•2h ago•35 comments

Dagger: Define software delivery workflows and dev environments

https://dagger.io/
52•ahamez•5d ago•33 comments

Efficient Basic Coding for the ZX Spectrum

https://blog.jafma.net/2020/02/24/efficient-basic-coding-for-the-zx-spectrum/
13•rcarmo•3h ago•2 comments

Compiler Engineering in Practice

https://chisophugis.github.io/2025/12/08/compiler-engineering-in-practice-part-1-what-is-a-compil...
45•dhruv3006•8h ago•7 comments

Using e-ink tablet as monitor for Linux

https://alavi.me/blog/e-ink-tablet-as-monitor-linux/
200•yolkedgeek•5d ago•79 comments

I fed 24 years of my blog posts to a Markov model

https://susam.net/fed-24-years-of-posts-to-markov-model.html
243•zdw•19h ago•97 comments

Building a Modern C64 Assembly AI Toolchain

https://medium.com/@gianlucabailo/building-a-modern-c64-assembly-ai-toolchain-using-google-gemini...
17•094459•5d ago•1 comments

Recovering Anthony Bourdain's Li.st's

https://sandyuraz.com/blogs/bourdain/
249•thecsw•18h ago•118 comments

Cat Gap

https://en.wikipedia.org/wiki/Cat_gap
150•Petiver•4d ago•35 comments

I tried Gleam for Advent of Code

https://blog.tymscar.com/posts/gleamaoc2025/
315•tymscar•22h ago•180 comments

Show HN: Cargo-rail: graph-aware monorepo tooling for Rust; 11 deps

https://github.com/loadingalias/cargo-rail
18•LoadingALIAS•3d ago•1 comments

Vacuum Is a Lie: About Your Indexes

https://boringsql.com/posts/vacuum-is-lie/
4•birdculture•2h ago•2 comments

The Gorman Paradox: Where Are All the AI-Generated Apps?

https://codemanship.wordpress.com/2025/12/14/the-gorman-paradox-where-are-all-the-ai-generated-apps/
67•ArmageddonIt•3h ago•94 comments

Getting into Public Speaking

https://james.brooks.page/blog/getting-into-public-speaking
28•jbrooksuk•4d ago•20 comments

Lean theorem prover mathlib

https://github.com/leanprover-community/mathlib4
64•downboots•13h ago•3 comments

Baumol's Cost Disease

https://en.wikipedia.org/wiki/Baumol_effect
24•drra•3h ago•18 comments

An Implementation of J (1992)

https://www.jsoftware.com/ioj/ioj.htm
72•ofalkaed•15h ago•26 comments

Create a Markdown Editor in Ruby on Rails

https://blog.appsignal.com/2025/12/10/create-a-markdown-editor-in-ruby-on-rails.html
32•amalinovic•4d ago•4 comments

Closures as Win32 Window Procedures

https://nullprogram.com/blog/2025/12/12/
83•ibobev•16h ago•16 comments

An off-grid, flat-packable washing machine

https://www.positive.news/society/flat-pack-washing-machine-spins-a-fairer-future/
157•ohjeez•17h ago•80 comments

Mystery Science Theater 3000: The Definitive Oral History of a TV Masterpiece

https://www.wired.com/2014/04/mst3k-oral-history/
79•indigodaddy•6d ago•21 comments

Useful patterns for building HTML tools

https://simonwillison.net/2025/Dec/10/html-tools/
321•simonw•3d ago•90 comments

No-Tifier (2017)

https://subject.space/projects/no-tifier/
31•aebtebeten•3d ago•9 comments

Willison on Merchant's "Copywriters reveal how AI has decimated their industry"

https://simonwillison.net/2025/Dec/14/copywriters-reveal-how-ai-has-decimated-their-industry/
17•planckscnst•5h ago•7 comments