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?

Don't rent the cloud, own instead

https://blog.comma.ai/datacenter/
544•Torq_boi•8h ago•230 comments

Company as Code

https://blog.42futures.com/p/company-as-code
19•ahamez•1h ago•3 comments

When internal hostnames are leaked to the clown

https://rachelbythebay.com/w/2026/02/03/badnas/
277•zdw•8h ago•142 comments

CIA to Sunset the World Factbook

https://www.abc.net.au/news/2026-02-05/cia-closes-world-factbook-online-resource/106307724
66•kshahkshah•1h ago•32 comments

A Broken Heart

https://allenpike.com/2026/a-broken-heart/
42•memalign•4d ago•4 comments

Show HN: Micropolis/SimCity Clone in Emacs Lisp

https://github.com/vkazanov/elcity
65•vkazanov•5h ago•14 comments

The Missing Layer

https://yagmin.com/blog/the-missing-layer/
30•lubujackson•3h ago•27 comments

Simply Scheme: Introducing Computer Science (1999)

https://people.eecs.berkeley.edu/~bh/ss-toc2.html
24•AlexeyBrin•4d ago•3 comments

Making Ferrite Core Inductors at Home

https://danielmangum.com/posts/making-ferrite-core-inductors-home/
43•hasheddan•3d ago•8 comments

Freshpaint (YC S19) Is Hiring a Senior SWE, Data

https://www.freshpaint.io/about?ashby_jid=3a7926ba-cf51-4084-9196-4361a7e97761
1•malisper•2h ago

Wirth's Revenge

https://jmoiron.net/blog/wirths-revenge/
105•signa11•10h ago•31 comments

Sqldef: Idempotent schema management tool for MySQL, PostgreSQL, SQLite

https://sqldef.github.io/
206•Palmik•4d ago•42 comments

Battle-Testing Lynx at Allegro

https://blog.allegro.tech/2026/02/battle-testing-lynx-js-at-allegro.html
25•tgebarowski•4h ago•13 comments

Claude Code: connect to a local model when your quota runs out

https://boxc.net/blog/2026/claude-code-connecting-to-local-models-when-your-quota-runs-out/
324•fugu2•4d ago•164 comments

Top downloaded skill in ClawHub contains malware

https://1password.com/blog/from-magic-to-malware-how-openclaws-agent-skills-become-an-attack-surface
45•pelario•2h ago•16 comments

Improving Unnesting of Complex Queries [pdf]

https://15799.courses.cs.cmu.edu/spring2025/papers/11-unnesting/neumann-btw2025.pdf
6•todsacerdoti•4d ago•0 comments

A case study in PDF forensics: The Epstein PDFs

https://pdfa.org/a-case-study-in-pdf-forensics-the-epstein-pdfs/
346•DuffJohnson•23h ago•192 comments

AI is killing B2B SaaS

https://nmn.gl/blog/ai-killing-b2b-saas
398•namanyayg•21h ago•613 comments

Microsoft's Copilot chatbot is running into problems

https://www.wsj.com/tech/ai/microsofts-pivotal-ai-product-is-running-into-big-problems-ce235b28
248•fortran77•22h ago•296 comments

A few CPU hardware bugs

https://www.taricorp.net/2026/a-few-cpu-bugs/
76•signa11•10h ago•25 comments

Claude Code for Infrastructure

https://www.fluid.sh/
235•aspectrr•19h ago•159 comments

OpenClaw is what Apple intelligence should have been

https://www.jakequist.com/thoughts/openclaw-is-what-apple-intelligence-should-have-been
392•jakequist•13h ago•321 comments

Postgres Postmaster does not scale

https://www.recall.ai/blog/postgres-postmaster-does-not-scale
111•davidgu•21h ago•55 comments

Voxtral Transcribe 2

https://mistral.ai/news/voxtral-transcribe-2
926•meetpateltech•23h ago•228 comments

Remarkable Pro Colors

https://www.thregr.org/wavexx/rnd/20260201-remarkable_pro_colors/
115•ffaser5gxlsll•4d ago•46 comments

Building a 24-bit arcade CRT display adapter from scratch

https://www.scd31.com/posts/building-an-arcade-display-adapter
169•evakhoury•20h ago•47 comments

Why S7 Scheme? (2020)

https://iainctduncan.github.io/scheme-for-max-docs/s7.html
44•bmacho•5d ago•4 comments

An interactive version of Byrne's The Elements of Euclid (1847)

https://c82.net/euclid/
49•tzury•2d ago•9 comments

Listen to Understand

https://talk.bradwoods.io/blog/listen-to-understand/
87•bradwoodsio•4d ago•14 comments

Nanobot: Ultra-Lightweight Alternative to OpenClaw

https://github.com/HKUDS/nanobot
70•ms7892•4h ago•55 comments