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 End of Eleventy

https://brennan.day/the-end-of-eleventy/
100•ValentineC•3h ago•44 comments

Small models also found the vulnerabilities that Mythos found

https://aisle.com/blog/ai-cybersecurity-after-mythos-the-jagged-frontier
950•dominicq•12h ago•258 comments

The Brainrot Industrial Complex

https://jshamsul.com/essays/2026-04-12-brainrot-industrial-complex
17•jibone•1h ago•2 comments

Excellence Is a Habit

https://www.flyingbarron.com/2026/04/excellence-is-habit.html
22•mooreds•2h ago•2 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...
29•Jimmc414•31m ago•12 comments

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

https://rdi.berkeley.edu/blog/trustworthy-benchmarks-cont/
307•Anon84•10h ago•85 comments

How Complex is my Code?

https://philodev.one/posts/2026-04-code-complexity/
75•speckx•4d ago•12 comments

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

https://zenodo.org/records/19513269
181•iliatoli•9h ago•90 comments

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

https://khronokernel.com/macos/2023/08/08/AS-VM.html
173•krackers•8h ago•120 comments

Dark Castle

https://darkcastle.co.uk/
158•evo_9•9h ago•19 comments

Pijul a FOSS distributed version control system

https://pijul.org/
110•kouosi•4d ago•22 comments

US – Iran negotiations end with no deal reached

https://www.nytimes.com/live/2026/04/11/world/iran-war-trump-talks-pakistan
26•chirau•50m ago•13 comments

Building a Z-Machine in the worst possible language – Whitebeard's Realm

https://whitebeard.blog/posts/building-a-z-machine-in-elm/
12•techbelly•2h ago•0 comments

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

https://www.v68k.org/advanced-mac-substitute/
227•zdw•14h ago•60 comments

How a dancer with ALS used brainwaves to perform live

https://www.electronicspecifier.com/products/sensors/how-a-dancer-with-als-used-brainwaves-to-per...
15•1659447091•3h ago•1 comments

Cirrus Labs to join OpenAI

https://cirruslabs.org/
250•seekdeep•16h ago•123 comments

Surelock: Deadlock-Free Mutexes for Rust

https://notes.brooklynzelenka.com/Blog/Surelock
200•codetheweb•3d ago•61 comments

How to build a `Git diff` driver

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

Simplest Hash Functions

https://purplesyringa.moe/blog/simplest-hash-functions/
9•ibobev•4d ago•3 comments

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

406•vidluther•23h ago•225 comments

Software Preservation Group: C++ History Collection

https://softwarepreservation.computerhistory.org/c_plus_plus/
12•quuxplusone•4h ago•1 comments

Why meaningful days look like nothing while you are living them

https://pilgrima.ge/p/the-grand-line
4•momentmaker•2h ago•1 comments

The Soul of an Old Machine

https://skalski.dev/the-soul-of-an-old-machine/
41•mskalski•4d ago•9 comments

What is a property?

https://alperenkeles.com/posts/what-is-a-property/
65•alpaylan•4d ago•19 comments

Optimal Strategy for Connect 4

https://2swap.github.io/WeakC4/explanation/
277•marvinborner•3d ago•31 comments

Keeping a Postgres Queue Healthy

https://planetscale.com/blog/keeping-a-postgres-queue-healthy
91•tanelpoder•13h ago•23 comments

Every plane you see in the sky – you can now follow it from the cockpit in 3D

https://flight-viz.com/cockpit.html?lat=40.64&lon=-73.78&alt=3000&hdg=220&spd=130&cs=DAL123
291•coolwulf•3d ago•57 comments

Used Graphify to turn incidents into a queryable knowledge graph

https://github.com/Rootly-AI-Labs/rootly-graphify-importer
9•hamzmu•3h ago•1 comments

Midnight Captain – A midnight commander inspired file manager

https://github.com/duguyue100/midnight-captain
23•duguyue100•6h ago•9 comments

Dcmake: A new CMake debugger UI

https://nullprogram.com/blog/2026/04/07/
11•mfrw•4d ago•3 comments