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?

DeepSeek v4

https://api-docs.deepseek.com/
752•impact_sy•5h ago•421 comments

Composition Shouldn't be this Hard

https://www.cambra.dev/blog/announcement/
16•larelli•40m ago•9 comments

Why I Write (1946)

https://www.orwellfoundation.com/the-orwell-foundation/orwell/essays-and-other-works/why-i-write/
145•RyanShook•5h ago•29 comments

An update on recent Claude Code quality reports

https://www.anthropic.com/engineering/april-23-postmortem
708•mfiguiere•14h ago•524 comments

GPT-5.5

https://openai.com/index/introducing-gpt-5-5/
1330•rd•14h ago•877 comments

Bitwarden CLI compromised in ongoing Checkmarx supply chain campaign

https://socket.dev/blog/bitwarden-cli-compromised
742•tosh•17h ago•364 comments

US special forces soldier arrested after allegedly winning $400k on Maduro raid

https://www.cnn.com/2026/04/23/politics/us-special-forces-soldier-arrested-maduro-raid-trade
199•nkrisc•10h ago•241 comments

Habitual coffee intake shapes the microbiome, modifies physiology and cognition

https://www.nature.com/articles/s41467-026-71264-8
125•scubakid•3h ago•58 comments

Meta tells staff it will cut 10% of jobs

https://www.bloomberg.com/news/articles/2026-04-23/meta-tells-staff-it-will-cut-10-of-jobs-in-pus...
577•Vaslo•13h ago•554 comments

MeshCore development team splits over trademark dispute and AI-generated code

https://blog.meshcore.io/2026/04/23/the-split
209•wielebny•15h ago•110 comments

Show HN: Tolaria – Open-source macOS app to manage Markdown knowledge bases

https://github.com/refactoringhq/tolaria
183•lucaronin•10h ago•69 comments

Familiarity is the enemy: On why Enterprise systems have failed for 60 years

https://felixbarbalet.com/familiarity-is-the-enemy/
29•adityaathalye•3h ago•11 comments

Show HN: How LLMs Work – Interactive visual guide based on Karpathy's lecture

https://ynarwal.github.io/how-llms-work/
6•ynarwal__•1h ago•1 comments

Using the internet like it's 1999

https://joshblais.com/blog/using-the-internet-like-its-1999/
149•joshuablais•11h ago•95 comments

TorchTPU: Running PyTorch Natively on TPUs at Google Scale

https://developers.googleblog.com/torchtpu-running-pytorch-natively-on-tpus-at-google-scale/
126•mji•11h ago•5 comments

Ubuntu 26.04

https://lwn.net/Articles/1069399/
171•lxst•3h ago•88 comments

UK Biobank health data keeps ending up on GitHub

https://biobank.rocher.lc
115•Cynddl•18h ago•27 comments

Why Not Venus?

https://mceglowski.substack.com/p/why-not-venus
10•zdw•3h ago•1 comments

Show HN: Gova – The declarative GUI framework for Go

https://github.com/NV404/gova
6•aliezsid•1h ago•0 comments

My phone replaced a brass plug

https://drobinin.com/posts/my-phone-replaced-a-brass-plug/
124•valzevul•15h ago•25 comments

Show HN: Agent Vault – Open-source credential proxy and vault for agents

https://github.com/Infisical/agent-vault
104•dangtony98•1d ago•34 comments

Show HN: Honker – Postgres NOTIFY/LISTEN Semantics for SQLite

https://github.com/russellromney/honker
256•russellthehippo•20h ago•62 comments

A programmable watch you can actually wear

https://www.hackster.io/news/a-diy-watch-you-can-actually-wear-8f91c2dac682
178•sarusso•2d ago•82 comments

Astronomers find the edge of the Milky Way

https://skyandtelescope.org/astronomy-news/astronomers-find-the-edge-of-the-milky-way/
115•bookofjoe•13h ago•25 comments

Incident with multple GitHub services

https://www.githubstatus.com/incidents/myrbk7jvvs6p
240•bwannasek•15h ago•117 comments

Used La Marzocco machines are coveted by cafe owners and collectors

https://www.nytimes.com/2026/04/20/dining/la-marzocco-espresso-machine.html
66•mitchbob•3d ago•112 comments

Alberta startup sells no-tech tractors for half price

https://wheelfront.com/this-alberta-startup-sells-no-tech-tractors-for-half-price/
2181•Kaibeezy•1d ago•744 comments

Writing a C Compiler, in Zig (2025)

https://ar-ms.me/thoughts/c-compiler-1-zig/
159•tosh•22h ago•44 comments

I am building a cloud

https://crawshaw.io/blog/building-a-cloud
1052•bumbledraven•1d ago•527 comments

French government agency confirms breach as hacker offers to sell data

https://www.bleepingcomputer.com/news/security/french-govt-agency-confirms-breach-as-hacker-offer...
379•robtherobber•16h ago•136 comments