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?

Axios compromised on NPM – Malicious versions drop remote access trojan

https://www.stepsecurity.io/blog/axios-compromised-on-npm-malicious-versions-drop-remote-access-t...
891•mtud•8h ago•318 comments

Ollama is now powered by MLX on Apple Silicon in preview

https://ollama.com/blog/mlx
311•redundantly•7h ago•148 comments

7,655 Ransomware Claims in One Year: Group, Sector, and Country Breakdown

https://ciphercue.com/blog/7655-ransomware-claims-march-2025-to-march-2026
14•adulion•1h ago•1 comments

Artemis II is not safe to fly

https://idlewords.com/2026/03/artemis_ii_is_not_safe_to_fly.htm
377•idlewords•8h ago•239 comments

Claude Code's source code has been leaked via a map file in their NPM registry

https://twitter.com/Fried_rice/status/2038894956459290963
235•treexs•2h ago•103 comments

Universal Claude.md – cut Claude output tokens

https://github.com/drona23/claude-token-efficient
322•killme2008•9h ago•123 comments

Google's 200M-parameter time-series foundation model with 16k context

https://github.com/google-research/timesfm
129•codepawl•5h ago•63 comments

Fedware: Government apps that spy harder than the apps they ban

https://www.sambent.com/the-white-house-app-has-huawei-spyware-and-an-ice-tip-line/
574•speckx•16h ago•206 comments

Do your own writing

https://alexhwoods.com/dont-let-ai-write-for-you/
572•karimf•22h ago•194 comments

Good CTE, Bad CTE

https://boringsql.com/posts/good-cte-bad-cte/
52•radimm•1d ago•15 comments

Clojure: The Documentary, official trailer [video]

https://www.youtube.com/watch?v=JJEyffSdBsk
217•fogus•4d ago•19 comments

GitHub backs down, kills Copilot pull-request ads after backlash

https://www.theregister.com/2026/03/30/github_copilot_ads_pull_requests/
255•_____k•5h ago•165 comments

Android Developer Verification

https://android-developers.googleblog.com/2026/03/android-developer-verification-rolling-out-to-a...
268•ingve•13h ago•271 comments

RamAIn (YC W26) Is Hiring

https://www.ycombinator.com/companies/ramain/jobs/jezgwo5-ai-ml-research-engineer
1•svee•4h ago

How to turn anything into a router

https://nbailey.ca/post/router/
693•yabones•21h ago•238 comments

We're Pausing Asimov Press

https://www.asimov.press/p/pause
42•bookofjoe•1d ago•10 comments

Turning a MacBook into a touchscreen with $1 of hardware (2018)

https://anishathalye.com/macbook-touchscreen/
330•HughParry•15h ago•167 comments

Audio tapes reveal mass rule-breaking in Milgram's obedience experiments

https://www.psypost.org/audio-tapes-reveal-mass-rule-breaking-in-milgram-s-obedience-experiments-...
14•lentoutcry•2d ago•2 comments

One of the largest salt mines in the world exists under Lake Erie

https://apnews.com/article/cleveland-salt-mine-winter-road-0daf091e3d56f65766bcf6a597683893
35•1659447091•2d ago•24 comments

Mr. Chatterbox is a Victorian-era ethically trained model

https://simonwillison.net/2026/Mar/30/mr-chatterbox/
53•y1n0•8h ago•34 comments

Oscar Reutersvärd (2021)

https://escherinhetpaleis.nl/en/about-escher/escher-today/oscar-reutersvard
38•layer8•1d ago•3 comments

Bird brains (2023)

https://www.dhanishsemar.com/writing/bird-brains
322•DiffTheEnder•21h ago•201 comments

OpenGridWorks: The Electricity Infrasctructure, Mapped

https://www.opengridworks.com
121•jonbraun•13h ago•16 comments

Agents of Chaos

https://agentsofchaos.baulab.info/report.html
113•luu•3d ago•15 comments

Show HN: I turned a sketch into a 3D-print pegboard for my kid with an AI agent

https://github.com/virpo/pegboard
44•virpo•11h ago•11 comments

Cherri – programming language that compiles to an Apple Shortuct

https://github.com/electrikmilk/cherri
312•mihau•3d ago•61 comments

Vulnerability research is cooked

https://sockpuppet.org/blog/2026/03/30/vulnerability-research-is-cooked/
188•pedro84•16h ago•130 comments

I'm betting on ATProto

https://brittanyellich.com/atproto/
117•speckx•15h ago•110 comments

Incident March 30th, 2026 – Accidental CDN Caching

https://blog.railway.com/p/incident-report-march-30-2026-accidental-cdn-caching
60•cebert•9h ago•22 comments

CodingFont: A game to help you pick a coding font

https://www.codingfont.com/
423•nvahalik•19h ago•215 comments