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

Inverse Parentheses

https://kellett.im/a/inverse-parentheses
12•mighty-fine•37m ago•8 comments

A guide to local coding models

https://www.aiforswes.com/p/you-dont-need-to-spend-100mo-on-claude
403•mpweiher•12h ago•199 comments

Deliberate Internet Shutdowns

https://www.schneier.com/blog/archives/2025/12/deliberate-internet-shutdowns.html
171•WaitWaitWha•3d ago•57 comments

Build Android apps using Rust and Iced

https://github.com/ibaryshnikov/android-iced-example
76•rekireki•6h ago•13 comments

Webb observes exoplanet that may have an exotic helium and carbon atmosphere

https://science.nasa.gov/missions/webb/nasas-webb-observes-exoplanet-whose-composition-defies-exp...
55•taubek•2d ago•11 comments

I'm just having fun

https://jyn.dev/i-m-just-having-fun/
330•lemper•5d ago•111 comments

Disney Imagineering Debuts Next-Generation Robotic Character, Olaf

https://disneyparksblog.com/disney-experiences/robotic-olaf-marks-new-era-of-disney-innovation/
187•ChrisArchitect•11h ago•74 comments

Show HN: Books mentioned on Hacker News in 2025

https://hackernews-readings-613604506318.us-west1.run.app
439•seinvak•16h ago•160 comments

How I protect my Forgejo instance from AI web crawlers

https://her.esy.fun/posts/0031-how-i-protect-my-forgejo-instance-from-ai-web-crawlers/index.html
15•todsacerdoti•18h ago•4 comments

Programming languages used for music

https://timthompson.com/plum/cgi/showlist.cgi?sort=name&concise=yes
13•ofalkaed•1d ago•1 comments

Kernighan's Lever

https://linusakesson.net/programming/kernighans-lever/index.php
54•xk3•2d ago•16 comments

Aliasing

https://xania.org/202512/15-aliasing-in-general
24•ibobev•5d ago•2 comments

Functional Flocking Quadtree in ClojureScript

https://www.lbjgruppen.com/en/posts/flocking-quadtrees
34•lbj•5d ago•2 comments

ONNX Runtime and CoreML May Silently Convert Your Model to FP16

https://ym2132.github.io/ONNX_MLProgram_NN_exploration
67•Two_hands•8h ago•8 comments

CO2 batteries that store grid energy take off globally

https://spectrum.ieee.org/co2-battery-energy-storage
232•rbanffy•17h ago•190 comments

Making the most of bit arrays in Gleam

https://gearsco.de/blog/bit-array-syntax/
19•crowdhailer•3d ago•0 comments

QBasic64 Phoenix 4.3.0 Released

https://qb64phoenix.com/forum/showthread.php?tid=4244
20•jandeboevrie•1h ago•4 comments

More on whether useful quantum computing is “imminent”

https://scottaaronson.blog/?p=9425
82•A_D_E_P_T•12h ago•58 comments

Single-Pass Huffman Coding

https://doisinkidney.com/posts/2018-02-17-single-pass-huffman.html
15•todsacerdoti•6d ago•0 comments

Show HN: Rust/WASM lighting data toolkit – parses legacy formats, generates SVGs

https://eulumdat.icu
22•holg•12h ago•0 comments

Cursed circuits #3: true mathematics

https://lcamtuf.substack.com/p/cursed-circuits-3-true-mathematics
16•zdw•4h ago•2 comments

Rue: Higher level than Rust, lower level than Go

https://rue-lang.dev/
128•ingve•12h ago•98 comments

Show HN: WalletWallet – create Apple passes from anything

https://walletwallet.alen.ro/
371•alentodorov•17h ago•102 comments

I announced my divorce on Instagram and then AI impersonated me

https://eiratansey.com/2025/12/20/i-announced-my-divorce-on-instagram-and-then-ai-impersonated-me/
3•robin_reala•1h ago•0 comments

I program on the subway

https://www.scd31.com/posts/programming-on-the-subway
218•evankhoury•5d ago•147 comments

Lightning: Real-time editing for tiled map data

https://felt.com/blog/lightning-tiles
7•hinting•5d ago•0 comments

Evaluating chain-of-thought monitorability

https://openai.com/index/evaluating-chain-of-thought-monitorability/
51•mfiguiere•3d ago•18 comments

Exploring Speculative JIT Compilation for Emacs Lisp with Java

https://kyo.iroiro.party/en/posts/juicemacs-exploring-jit-for-elisp/
24•gudzpoz•2d ago•1 comments

The Going Dark initiative or ProtectEU is a Chat Control 3.0 attempt

https://mastodon.online/@mullvadnet/115742530333573065
547•janandonly•14h ago•182 comments

The gift card accountability sink

https://www.bitsaboutmoney.com/archive/gift-card-accountability-sink/
89•walterbell•11h ago•72 comments