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

Comments

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

Discord will require a face scan or ID for full access next month

https://www.theverge.com/tech/875309/discord-age-verification-global-roll-out
1239•x01•11h ago•1240 comments

The shadowy world of abandoned oil tankers

https://www.bbc.com/news/articles/cddg885344do
70•1659447091•3h ago•16 comments

What Functional Programmers Get Wrong About Systems

https://www.iankduncan.com/engineering/2026-02-09-what-functional-programmers-get-wrong-about-sys...
54•subset•2h ago•21 comments

Converting a $3.88 analog clock from Walmart into a ESP8266-based Wi-Fi clock

https://github.com/jim11662418/ESP8266_WiFi_Analog_Clock
403•tokyobreakfast•9h ago•138 comments

Why is the sky blue?

https://explainers.blog/posts/why-is-the-sky-blue/
414•udit99•10h ago•158 comments

LiftKit – UI where "everything derives from the golden ratio"

https://www.chainlift.io/liftkit
63•peter_d_sherman•4h ago•26 comments

Hard-braking events as indicators of road segment crash risk

https://research.google/blog/hard-braking-events-as-indicators-of-road-segment-crash-risk/
212•aleyan•9h ago•318 comments

How I've run major projects (2025)

https://www.benkuhn.net/pjm/
102•thomascountz•6d ago•16 comments

Stop Using Icons in Data Tables

https://medium.com/@codythistleward/stop-using-icons-in-data-tables-7537af18ea0d
65•ctward•4d ago•21 comments

Richard F. Burton: On the English adventurer and writer

https://thelampmagazine.com/issues/issue-32/richard-f-burton
8•CrocodileStreet•5d ago•1 comments

Game Theory Patterns at Work (2016)

https://daeus.blog/2026/01/18/game-theory-patterns-at-work/
30•kurinikku•5h ago•1 comments

Everyone’s building “async agents,” but almost no one can define them

https://www.omnara.com/blog/what-is-an-async-agent-really
25•kmansm27•8h ago•20 comments

Sandboxels

https://neal.fun/sandboxels/
166•2sf5•10h ago•30 comments

UEFI Bindings for JavaScript

https://codeberg.org/smnx/promethee
202•ananas-dev•12h ago•100 comments

Game Boy Advance Audio Interpolation

https://jsgroth.dev/blog/posts/gba-audio-interpolation/
74•ibobev•8h ago•31 comments

Expansion Microscopy Has Transformed How We See the Cellular World

https://www.quantamagazine.org/expansion-microscopy-has-transformed-how-we-see-the-cellular-world...
50•sohkamyung•4d ago•3 comments

Rust implementation of Mistral's Voxtral Mini 4B Realtime runs in your browser

https://github.com/TrevorS/voxtral-mini-realtime-rs
4•Curiositry•59m ago•0 comments

F# 10

https://devblogs.microsoft.com/dotnet/introducing-fsharp-10/
85•tosh•5d ago•12 comments

Thoughts on Generating C

https://wingolog.org/archives/2026/02/09/six-thoughts-on-generating-c
200•ingve•12h ago•63 comments

Show HN: Algorithmically finding the longest line of sight on Earth

https://alltheviews.world
379•tombh•16h ago•153 comments

Information Is Beautiful

https://informationisbeautiful.net/
111•surprisetalk•6d ago•11 comments

Data exfil from agents in messaging apps

https://www.promptarmor.com/resources/llm-data-exfiltration-via-url-previews-(with-openclaw-examp...
15•sarelta•6h ago•4 comments

Sleeper Shells: Attackers Are Planting Dormant Backdoors in Ivanti EPMM

https://defusedcyber.com/ivanti-epmm-sleeper-shells-403jsp
128•waihtis•11h ago•47 comments

America has a tungsten problem

https://www.noleary.com/blog/posts/1
123•noleary•5h ago•123 comments

Ask HN: What are you working on? (February 2026)

261•david927•1d ago•882 comments

The Traffic Mimes of Bogotá

https://www.atlasobscura.com/articles/traffic-mimes-of-colombia
92•IgorPartola•4d ago•22 comments

Show HN: VillageSQL = MySQL and Extensions

https://github.com/villagesql/villagesql-server
12•metzby•4d ago•1 comments

Like Game-of-Life, but on Growing Graphs, with WASM and WebGL

https://znah.net/graphs/
171•znah•1d ago•24 comments

Another GitHub outage in the same day

https://www.githubstatus.com/incidents/lcw3tg2f6zsd
273•Nezteb•7h ago•203 comments

Pg-dev-container is a ready-to-run VS Code development container for PostgreSQL

https://github.com/jnidzwetzki/pg-dev-container
30•mariuz•4d ago•6 comments