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?

The Git Commands I Run Before Reading Any Code

https://piechowski.io/post/git-commands-before-reading-code/
195•grepsedawk•2h ago•42 comments

Veracrypt Project Update

https://sourceforge.net/p/veracrypt/discussion/general/thread/9620d7a4b3/
389•super256•4h ago•108 comments

I've Sold Out

https://mariozechner.at/posts/2026-04-08-ive-sold-out/
68•doppp•2h ago•31 comments

Revision Demoparty 2026: Razor1911 [video]

https://www.youtube.com/watch?v=Lw4W9V57SKs&t=5716s
203•tetrisgm•5h ago•75 comments

Project Glasswing: Securing critical software for the AI era

https://www.anthropic.com/glasswing
1321•Ryan5453•17h ago•662 comments

Show HN: We built a camera only robot vacuum for less than 300$ (Well almost)

https://indraneelpatil.github.io/blog/2026/robot-vacuum/
42•indraneelpatil•2d ago•7 comments

Lunar Flyby

https://www.nasa.gov/gallery/lunar-flyby/
750•kipi•20h ago•183 comments

Your File System Is Already A Graph Database

https://rumproarious.com/2026/04/04/your-file-system-is-already-a-graph-database/
25•alxndr•2d ago•3 comments

Audio Reactive LED Strips Are Diabolically Hard

https://scottlawsonbc.com/post/audio-led
9•surprisetalk•21h ago•0 comments

Protect your shed

https://dylanbutler.dev/blog/protect-your-shed/
183•baely•8h ago•52 comments

System Card: Claude Mythos Preview [pdf]

https://www-cdn.anthropic.com/53566bf5440a10affd749724787c8913a2ae0841.pdf
721•be7a•17h ago•521 comments

Native Americans had dice 12k years ago

https://www.nbcnews.com/science/science-news/native-americans-dice-games-probability-study-rcna26...
78•delichon•4d ago•30 comments

GLM-5.1: Towards Long-Horizon Tasks

https://z.ai/blog/glm-5.1
543•zixuanlimit•18h ago•222 comments

Slightly safer vibecoding by adopting old hacker habits

http://addxorrol.blogspot.com/2026/03/slightly-safer-vibecoding-by-adopting.html
120•transpute•5d ago•65 comments

How to get better at guitar

https://www.jakeworth.com/posts/how-to-get-better-at-guitar/
353•jwworth•2d ago•175 comments

Cambodia unveils statue to honour famous landmine-sniffing rat

https://www.bbc.com/news/articles/c0rx7xzd10xo
406•speckx•18h ago•93 comments

S3 Files

https://www.allthingsdistributed.com/2026/04/s3-files-and-the-changing-face-of-s3.html
314•werner•15h ago•92 comments

Struggle Against the Gods

https://firstthings.com/struggle-against-the-gods/
7•marcofloriano•1h ago•0 comments

A truck driver spent 20 years making a scale model of every building in NYC

https://www.smithsonianmag.com/smart-news/a-truck-drive-spent-20-years-making-this-astonishing-sc...
341•1659447091•2d ago•55 comments

Show HN: An interactive map of Tolkien's Middle-earth

https://middle-earth-interactive-map.web.app/
217•frasermarlow•14h ago•41 comments

Binary obfuscation used in AAA Games

https://blog.farzon.org/2026/04/binary-obfuscation-that-doesnt-kill-lto.html
103•noztol•2d ago•44 comments

Cloudflare targets 2029 for full post-quantum security

https://blog.cloudflare.com/post-quantum-roadmap/
340•ilreb•21h ago•103 comments

A database of analog cameras that can be 3D printed

https://printed.analogcamera.space/
113•thomasjb•5d ago•15 comments

US and Iran agree to provisional ceasefire

https://www.theguardian.com/us-news/2026/apr/07/trump-iran-war-ceasefire
509•g-b-r•12h ago•1495 comments

The Clock

https://blog.senko.net/the-clock
77•senko•4d ago•29 comments

Xilem – An experimental Rust native UI framework

https://github.com/linebender/xilem
107•Levitating•11h ago•42 comments

Hobby CNC machining and resin casting (2015)

https://lcamtuf.coredump.cx/gcnc/
15•achierius•3d ago•5 comments

Rescuing old printers with an in-browser Linux VM bridged to WebUSB over USB/IP

https://printervention.app/details
204•gmac•18h ago•86 comments

JSIR: A High-Level IR for JavaScript

https://discourse.llvm.org/t/rfc-jsir-a-high-level-ir-for-javascript/90456
62•nnx•10h ago•16 comments

Show HN: Gemma 4 Multimodal Fine-Tuner for Apple Silicon

https://github.com/mattmireles/gemma-tuner-multimodal
190•MediaSquirrel•15h ago•24 comments