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

Comments

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

Filing the corners off my MacBooks

https://kentwalters.com/posts/corners/
765•normanvalentine•10h ago•385 comments

Starfling: A one-tap endless orbital slingshot game in a single HTML file

https://playstarfling.com
142•iceberger2001•2d ago•43 comments

1D Chess

https://rowan441.github.io/1dchess/chess.html
798•burnt-resistor•17h ago•142 comments

Artemis II safely splashes down

https://www.cbsnews.com/live-updates/artemis-ii-splashdown-return/
863•areoform•8h ago•275 comments

Installing every* Firefox extension

https://jack.cab/blog/every-firefox-extension
374•RohanAdwankar•11h ago•45 comments

Chimpanzees in Uganda locked in eight-year 'civil war', say researchers

https://www.bbc.com/news/articles/cr71lkzv49po
326•neversaydie•13h ago•183 comments

Volunteers turn a fan's recordings of 10K concerts into an online treasure trove

https://apnews.com/article/aadam-jacobs-collection-concerts-internet-archive-chicago-b1c9c4466a2d...
42•geox•2d ago•1 comments

Optimal Strategy for Connect 4

https://2swap.github.io/WeakC4/explanation/
7•marvinborner•2d ago•2 comments

Great at gaming? US air traffic control wants you to apply

https://www.bbc.com/news/articles/ce84rvx0e6do
31•1659447091•3h ago•38 comments

AI assistance when contributing to the Linux kernel

https://github.com/torvalds/linux/blob/master/Documentation/process/coding-assistants.rst
311•hmokiguess•14h ago•204 comments

WireGuard makes new Windows release following Microsoft signing resolution

https://lists.zx2c4.com/pipermail/wireguard/2026-April/009561.html
470•zx2c4•17h ago•136 comments

20 years on AWS and never not my job

https://www.daemonology.net/blog/2026-04-11-20-years-on-AWS-and-never-not-my-job.html
132•cperciva•3h ago•19 comments

Industrial design files for Keychron keyboards and mice

https://github.com/Keychron/Keychron-Keyboards-Hardware-Design
369•stingraycharles•16h ago•111 comments

Bevy game development tutorials and in-depth resources

https://taintedcoders.com/
79•GenericCanadian•2d ago•14 comments

Flashback to a time when government reports were works of art

https://www.chicagotribune.com/2026/04/08/transportation-library-northwestern/
19•NaOH•2d ago•5 comments

Productive Procrastination

https://www.maxvanijsselmuiden.nl/blog/productive-procrastination/
16•maxvij•3h ago•6 comments

The Seasons Are Wrong

https://kentwalters.com/posts/seasons/
22•NikxDa•4h ago•27 comments

A practical guide for setting up Zettelkasten method in Obsidian

https://desktopcommander.app/blog/zettelkasten-obsidian/
49•rkrizanovskis•2d ago•23 comments

CPU-Z and HWMonitor compromised

https://www.theregister.com/2026/04/10/cpuid_site_hijacked/
321•pashadee•19h ago•91 comments

JSON formatter Chrome plugin now closed and injecting adware

https://github.com/callumlocke/json-formatter
214•jkl5xx•14h ago•109 comments

Quien – A better WHOIS lookup tool

https://github.com/retlehs/quien/
41•bretthopper•5h ago•11 comments

Helium is hard to replace

https://www.construction-physics.com/p/helium-is-hard-to-replace
307•JumpCrisscross•17h ago•211 comments

Moooooonitoring the Cow.txt Herd

https://moooo.farm/
7•pabs3•2h ago•1 comments

The Bra-and-Girdle Maker That Fashioned the Impossible for NASA

https://thereader.mitpress.mit.edu/the-bra-and-girdle-maker-that-fashioned-the-impossible-for-nasa/
87•sohkamyung•1d ago•4 comments

Italo Calvino: A traveller in a world of uncertainty

https://www.historytoday.com/archive/portrait-author-historian/italo-calvino-traveller-world-unce...
71•lermontov•9h ago•14 comments

Watgo – A WebAssembly Toolkit for Go

https://eli.thegreenplace.net/2026/watgo-a-webassembly-toolkit-for-go/
95•ibobev•13h ago•7 comments

Investigating Split Locks on x86-64

https://chipsandcheese.com/p/investigating-split-locks-on-x86
54•ingve•3d ago•18 comments

What is RISC-V and why it matters to Canonical

https://ubuntu.com/blog/risc-v-101-what-is-it-and-what-does-it-mean-for-canonical
129•fork-bomber•2d ago•89 comments

Launch HN: Twill.ai (YC S25) – Delegate to cloud agents, get back PRs

https://twill.ai
67•danoandco•16h ago•63 comments

A compelling title that is cryptic enough to get you to take action on it

https://ericwbailey.website/published/a-compelling-title-that-is-cryptic-enough-to-get-you-to-tak...
226•mooreds•16h ago•122 comments