frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

PGSimCity - How PostgreSQL Works

https://nikolays.github.io/PGSimCity/
436•jonbaer•6h ago•45 comments

Show HN: Physically accurate black hole you can put in your room

https://blackhole.plav.in
233•aplavin•3d ago•67 comments

Decker, a platform that builds on the legacy of Hypercard and classic macOS

https://beyondloom.com/decker/
287•tosh•12h ago•72 comments

Scriptc by Vercel: TypeScript-to-Native compiler, no JavaScript engine in binary

https://github.com/vercel-labs/scriptc
119•maxloh•8h ago•43 comments

French firefighters face 'pyrocumulonimbus' for first time

https://www.france24.com/en/live-news/20260726-french-firefighters-face-pyrocumulonimbus-for-firs...
299•saaaaaam•13h ago•185 comments

US citizen charged after GrapheneOS phone wipes during airport search

https://www.techspot.com/news/113236-us-prosecutors-charge-atlanta-man-after-grapheneos-phone.html
554•eecc•8h ago•385 comments

We have proof automation now

https://www.imperialviolet.org/2026/07/26/zstd-lean.html
143•zdw•10h ago•32 comments

I wanted a clock that never needed setting. Things escalated

https://arstechnica.com/gadgets/2026/07/i-wanted-a-clock-that-never-needed-setting-things-escalated/
83•lee_ars•3d ago•78 comments

Htmx 4.0, the first JavaScript library to release exclusively on the Game Boy

https://swag.htmx.org/en-cad/products/htmx-4-the-game
415•rcy•18h ago•140 comments

Introduction to Data-Oriented Design [pdf]

https://www.gamedevs.org/uploads/introduction-to-data-oriented-design.pdf
156•tosh•12h ago•41 comments

Fonts In Use – Find out where a font is used

https://fontsinuse.com/
46•open_•7h ago•3 comments

Why care about programming languages

https://ebellani.github.io/blog/2026/why-care-about-programming-languages/
18•b-man•4d ago•16 comments

Simulate cassette tape audio profiles using FFmpeg

https://github.com/AARomanov1985/Audio-Cassette-Simulation
110•xterminal•10h ago•43 comments

Design is compromise

https://stephango.com/design-is-compromise
233•ankitg12•15h ago•79 comments

Show HN: CheapSecurity – Lightweight, Self-Hosted CCTV for Linux SBCs

https://github.com/gmrandazzo/CheapSecurity
124•zeldone•15h ago•26 comments

The Usefulness of Useless Knowledge (1939) [pdf]

https://faculty.lsu.edu/kharms/files/flexner_1939.pdf
57•jxmorris12•3d ago•3 comments

How to write English prose (2023)

https://thelampmagazine.com/blog/how-to-write-english-prose
110•geneticdrifts•13h ago•52 comments

EU Fines Google $1.02B for Favoring Its Own Services

https://www.wsj.com/tech/google-fined-1-02-billion-under-eus-tech-antitrust-rules-7e8ae1fb
13•1vuio0pswjnm7•1h ago•4 comments

Go Analysis Framework: modular static analysis by go team

https://pkg.go.dev/golang.org/x/tools/go/analysis
198•AbuAssar•18h ago•54 comments

Show HN: Reverse Minesweeper

https://sunflowersgame.com/
195•pompomsheep•18h ago•63 comments

The New AI Superpowers: Focus and Followthrough

https://www.rickmanelius.com/p/the-new-ai-superpowers-focus-and
190•mooreds•17h ago•58 comments

The relay market powering token resellers and fraud

https://vectoral.com/blog/token-relay-market
185•mlenhard•15h ago•110 comments

Teaching Kids Forth

https://gracefulliberty.com/articles/teaching-kids-forth/
75•rbanffy•9h ago•22 comments

Kill The Cookie Banner

https://killthecookiebanner.eu/
933•rapnie•19h ago•445 comments

How to Block Some of the Bots

https://nochan.net/b/Internet-Crap/20260606-How-To-Block-Some-Of-The-Bots/
97•Bender•12h ago•113 comments

Plasma Tunnels Reveal How Dying Satellites Fall to Earth

https://spectrum.ieee.org/space-debris-atmosphere-burn-up
56•marc__1•10h ago•32 comments

I learned PCB design, 3D printing and C just to listen to music

https://pentaton.app/blog/2026-07-12-introducing-pentaton-lp/
199•interfeco•3d ago•41 comments

History of John Backus's functional programming project (draft)

https://softwarepreservation.computerhistory.org/FP/
23•cwbuilds•2d ago•1 comments

The Zen of Parallel Programming: The Posture of a Kernel

https://smolnero.com/posts/the-zen-of-parallel-programming-the-posture-of-a-kernel
3•edgar_ortega•4d ago•0 comments

Some more things about Django I've been enjoying

https://jvns.ca/blog/2026/07/21/more-nice-django-things/
151•surprisetalk•5d ago•92 comments
Open in hackernews

Precomputing Transparency Order in 3D

https://jacobdoescode.com/2025/05/18/precomputing-transparency-order-in-3d
14•jacobp100•1y ago

Comments

bschwindHN•1y 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•1y 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•1y 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?