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•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?

JVM Options Explorer

https://chriswhocodes.com/vm-options-explorer.html
43•0x54MUR41•2h ago•17 comments

Phyphox – Physical Experiments Using a Smartphone

https://phyphox.org/
47•_Microft•4h ago•11 comments

An Interview with Pat Gelsinger

https://morethanmoore.substack.com/p/an-interview-with-pat-gelsinger-2026
60•zdw•2d ago•24 comments

Happy Map

https://pudding.cool/2026/02/happy-map/
24•surprisetalk•4d ago•3 comments

The Miller Principle (2007)

https://puredanger.github.io/tech.puredanger.com/2007/07/11/miller-principle/
45•FelipeCortez•4d ago•33 comments

Apple update looks like Czech mate for locked-out iPhone user

https://www.theregister.com/2026/04/12/ios_passcode_bug/
225•OuterVale•4h ago•115 comments

Tofolli gates are all you need

https://www.johndcook.com/blog/2026/04/06/tofolli-gates/
82•ibobev•5d ago•17 comments

I run multiple $10K MRR companies on a $20/month tech stack

https://stevehanov.ca/blog/how-i-run-multiple-10k-mrr-companies-on-a-20month-tech-stack
354•tradertef•6h ago•229 comments

Anthropic downgraded cache TTL on March 6th

https://github.com/anthropics/claude-code/issues/46829
127•lsdmtme•6h ago•109 comments

How We Broke Top AI Agent Benchmarks: And What Comes Next

https://rdi.berkeley.edu/blog/trustworthy-benchmarks-cont/
409•Anon84•17h ago•103 comments

What have been the greatest intellectual achievements? (2017)

https://www.thinkingcomplete.com/2017/09/what-have-been-greatest-intellectual.html
25•o4c•1h ago•27 comments

AI Will Be Met with Violence, and Nothing Good Will Come of It

https://www.thealgorithmicbridge.com/p/ai-will-be-met-with-violence-and
77•gHeadphone•3h ago•103 comments

Stewart Brand on how progress happens

https://www.newyorker.com/books/book-currents/stewart-brand-on-how-progress-happens
16•bookofjoe•4d ago•4 comments

Small models also found the vulnerabilities that Mythos found

https://aisle.com/blog/ai-cybersecurity-after-mythos-the-jagged-frontier
1139•dominicq•19h ago•305 comments

How Complex is my Code?

https://philodev.one/posts/2026-04-code-complexity/
136•speckx•5d ago•34 comments

No one owes you supply-chain security

https://purplesyringa.moe/blog/no-one-owes-you-supply-chain-security/
7•birdculture•51m ago•0 comments

447 TB/cm² at zero retention energy – atomic-scale memory on fluorographane

https://zenodo.org/records/19513269
230•iliatoli•16h ago•125 comments

Dark Castle

https://darkcastle.co.uk/
199•evo_9•16h ago•25 comments

Pijul a FOSS distributed version control system

https://pijul.org/
168•kouosi•5d ago•25 comments

The End of Eleventy

https://brennan.day/the-end-of-eleventy/
180•ValentineC•10h ago•140 comments

Apple Silicon and Virtual Machines: Beating the 2 VM Limit (2023)

https://khronokernel.com/macos/2023/08/08/AS-VM.html
207•krackers•15h ago•145 comments

Network Flow Algorithms

https://www.networkflowalgs.com/
30•teleforce•5d ago•0 comments

Cirrus Labs to join OpenAI

https://cirruslabs.org/
270•seekdeep•23h ago•132 comments

Advanced Mac Substitute is an API-level reimplementation of 1980s-era Mac OS

https://www.v68k.org/advanced-mac-substitute/
251•zdw•21h ago•62 comments

Show HN: Pardonned.com – A searchable database of US Pardons

442•vidluther•1d ago•246 comments

Internet outage in Iran reaches 1,008 hours

https://mastodon.social/@netblocks/116384935123261912
6•miadabdi•1h ago•0 comments

Surelock: Deadlock-Free Mutexes for Rust

https://notes.brooklynzelenka.com/Blog/Surelock
224•codetheweb•3d ago•72 comments

How to build a `Git diff` driver

https://www.jvt.me/posts/2026/04/11/how-git-diff-driver/
121•zdw•18h ago•13 comments

US appeals court declares 158-year-old home distilling ban unconstitutional

https://www.theguardian.com/law/2026/apr/11/appeals-court-ruling-home-distilling-ban-unconstituti...
193•Jimmc414•7h ago•173 comments

Software Preservation Group: C++ History Collection

https://softwarepreservation.computerhistory.org/c_plus_plus/
33•quuxplusone•11h ago•3 comments