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?

OpenCode – Open source AI coding agent

https://opencode.ai/
483•rbanffy•5h ago•225 comments

We rewrote our Rust WASM parser in TypeScript and it got faster

https://www.openui.com/blog/rust-wasm-parser
117•zahlekhan•5h ago•64 comments

Linux Applications Programming by Example: The Fundamental APIs (2nd Edition)

https://github.com/arnoldrobbins/LinuxByExample-2e
36•teleforce•3h ago•5 comments

France's aircraft carrier located in real time by Le Monde through fitness app

https://www.lemonde.fr/en/international/article/2026/03/20/stravaleaks-france-s-aircraft-carrier-...
483•MrDresden•13h ago•397 comments

Ghostling

https://github.com/ghostty-org/ghostling
111•bjornroberg•4h ago•14 comments

A Japanese glossary of chopsticks faux pas

https://www.nippon.com/en/japan-data/h01362/
131•cainxinth•6h ago•118 comments

Lent and Lisp

https://leancrew.com/all-this/2026/02/lent-and-lisp/
30•surprisetalk•2d ago•1 comments

Attention Residuals

https://github.com/MoonshotAI/Attention-Residuals
129•GaggiX•8h ago•20 comments

Molly Guard

https://bookofjoe2.blogspot.com/2026/02/molly-guard.html
4•surprisetalk•12h ago•0 comments

Show HN: We built a terminal-only Bluesky / AT Proto client written in Fortran

https://github.com/FormerLab/fortransky
46•FormerLabFred•4h ago•29 comments

The Los Angeles Aqueduct Is Wild

https://practical.engineering/blog/2026/3/17/the-los-angeles-aqueduct-is-wild
304•michaefe•3d ago•166 comments

The Ugliest Airplane: An Appreciation

https://www.smithsonianmag.com/air-space-magazine/ugliest-airplane-appreciation-180978708/
7•randycupertino•2d ago•0 comments

Our commitment to Windows quality

https://blogs.windows.com/windows-insider/2026/03/20/our-commitment-to-windows-quality/
437•hadrien01•7h ago•777 comments

An FAQ on Reinforcement Learning Environments

https://epoch.ai/gradient-updates/state-of-rl-envs
23•dcre•1d ago•4 comments

VisiCalc Reconstructed

https://zserge.com/posts/visicalc/
168•ingve•3d ago•70 comments

Show HN: Red Grid Link – peer-to-peer team tracking over Bluetooth, no servers

https://github.com/RedGridTactical/RedGridLink
26•redgridtactical•4h ago•12 comments

The worst volume control UI in the world (2017)

https://uxdesign.cc/the-worst-volume-control-ui-in-the-world-60713dc86950
70•andsoitis•2d ago•34 comments

Show HN: Baltic shadow fleet tracker – live AIS, cable proximity alerts

https://github.com/FormerLab/shadow-fleet-tracker-light
33•FormerLabFred•5h ago•6 comments

Show HN: I made an email app inspired by Arc browser

https://demo.define.app
51•johndamaia•8h ago•27 comments

NumKong: 2'000 Mixed Precision Kernels for All

https://ashvardanian.com/posts/numkong/
36•ashvardanian•7h ago•1 comments

Delve – Fake Compliance as a Service

https://deepdelver.substack.com/p/delve-fake-compliance-as-a-service
571•freddykruger•1d ago•199 comments

Entso-E final report on Iberian 2025 blackout

https://www.entsoe.eu/publications/blackout/28-april-2025-iberian-blackout/
176•Rygian•15h ago•75 comments

Parallel Perl – Autoparallelizing interpreter with JIT

https://perl.petamem.com/gpw2026/perl-mit-ai-gpw2026.html#/4/1/1
105•bmn__•2d ago•37 comments

Heisuke Hironaka Has Died

https://japannews.yomiuri.co.jp/society/general-news/20260319-317449/
10•pfortuny•1d ago•1 comments

Work_mem: It's a Trap

https://mydbanotebook.org/posts/work_mem-its-a-trap/
34•enz•2d ago•4 comments

The Social Smolnet

https://ploum.net/2026-03-20-social-smolnet.html
112•aebtebeten•13h ago•13 comments

Video Encoding and Decoding with Vulkan Compute Shaders in FFmpeg

https://www.khronos.org/blog/video-encoding-and-decoding-with-vulkan-compute-shaders-in-ffmpeg
152•y1n0•4d ago•54 comments

Flash-KMeans: Fast and Memory-Efficient Exact K-Means

https://arxiv.org/abs/2603.09229
172•matt_d•3d ago•14 comments

ArXiv declares independence from Cornell

https://www.science.org/content/article/arxiv-pioneering-preprint-server-declares-independence-co...
726•bookstore-romeo•22h ago•252 comments

Discontinuation and reinitiation of dual-labeled GLP-1 receptor agonists

https://nautil.us/whiplash-heart-attack-and-stroke-risk-jumps-when-people-stop-taking-glp-1s-1279029
60•siquick•5h ago•81 comments