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

Comments

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

Uber Torches 2026 AI Budget on Claude Code in Four Months

https://www.briefs.co/news/uber-torches-entire-2026-ai-budget-on-claude-code-in-four-months/
68•lwhsiao•46m ago•56 comments

Ask HN: Who is hiring? (May 2026)

97•whoishiring•1h ago•84 comments

whohas – Command-line utility for cross-distro, cross-repository package search

https://github.com/whohas/whohas
44•peter_d_sherman•1h ago•8 comments

Ask HN: Who wants to be hired? (May 2026)

46•whoishiring•1h ago•88 comments

Sally McKee, who coined the term "the memory wall", has died

https://www.online-tribute.com/SallyMcKee
44•deater•2h ago•5 comments

Police Have Used License Plate Readers at Least 14x to Stalk Romantic Interests

https://ij.org/police-have-reportedly-used-license-plate-readers-to-stalk-romantic-interests-at-l...
67•loteck•37m ago•23 comments

Running Adobe's 1991 PostScript Interpreter in the Browser

https://www.pagetable.com/?p=1854
83•ingve•4h ago•16 comments

Your Website Is Not for You

https://websmith.studio/blog/your-website-is-not-for-you/
201•pumbaa•5h ago•138 comments

I'm Peter Roberts, immigration attorney who does work for YC and startups. AMA

55•proberts•1h ago•70 comments

An open letter asking NHS England to keep its code open

https://keepthingsopen.com
60•tvararu•1h ago•4 comments

New copy of earliest poem in English, written 1,3k years ago, discovered in Rome

https://www.tcd.ie/news_events/articles/2026/caedmons-hymn-discovery/
167•giuliomagnifico•2d ago•101 comments

Advanced Quantization Algorithm for LLMs

https://github.com/intel/auto-round
66•lastdong•7h ago•13 comments

Pro-Iran crew turns DDoS into shakedown as Ubuntu.com stays down

https://www.theregister.com/2026/05/01/canonical_confirms_ubuntu_infrastructure_under/
34•ndsipa_pomu•1h ago•30 comments

Apple accidentally left Claude.md files Apple Support app

https://x.com/aaronp613/status/2049986504617820551
318•andruby•5h ago•237 comments

Show HN: Perfect Bluetooth MIDI for Windows

81•mayerwin•7h ago•21 comments

Grok 4.3

https://docs.x.ai/developers/models/grok-4.3
305•simianwords•8h ago•395 comments

Shai-Hulud Themed Malware Found in the PyTorch Lightning AI Training Library

https://semgrep.dev/blog/2026/malicious-dependency-in-pytorch-lightning-used-for-ai-training/
444•j12y•1d ago•164 comments

OpenWarp

https://openwarp.zerx.dev
159•zero-lab•14h ago•120 comments

Show HN: Loopsy, a way for terminals and AI agents on different machines to talk

https://github.com/leox255/loopsy
13•todience•6h ago•1 comments

Opus 4.7 knows the real Kelsey

https://www.theargumentmag.com/p/i-can-never-talk-to-an-ai-anonymously
422•ilamont•1d ago•230 comments

If I could make my own GitHub

https://matduggan.com/if-i-could-make-my-own-github/
102•matricaria•1d ago•123 comments

Show HN: WhatCable, a tiny menu bar app for inspecting USB-C cables

https://github.com/darrylmorley/whatcable
277•sleepingNomad•8h ago•105 comments

Softmax, can you derive the Jacobian? And should you care?

https://idlemachines.co.uk/essays/softmax
93•smaddrellmander•3d ago•39 comments

Maladaptive Frugality

https://herbertlui.net/maladaptive-frugality/
167•herbertl•2d ago•192 comments

How an oil refinery works

https://www.construction-physics.com/p/how-an-oil-refinery-works
496•chmaynard•1d ago•168 comments

Claude Code refuses requests or charges extra if your commits mention "OpenClaw"

https://twitter.com/theo/status/2049645973350363168
1266•elmean•1d ago•693 comments

I built a Game Boy emulator in F#

https://nickkossolapov.github.io/fame-boy/building-a-game-boy-emulator-in-fsharp/
321•elvis70•23h ago•72 comments

A Letter from Dijkstra on APL (1982)

https://www.jsoftware.com/papers/Dijkstra_Letter.htm
26•tosh•5h ago•22 comments

CPanel and WHM Authentication Bypass – CVE-2026-41940

https://labs.watchtowr.com/the-internet-is-falling-down-falling-down-falling-down-cpanel-whm-auth...
137•zikani_03•18h ago•51 comments

Our agent found a bug with WireGuard in Google Kubernetes Engine

https://lovable.dev/blog/hunting-networking-bugs-in-kubernetes
56•vikeri•8h ago•30 comments